pl.edu.agh.cast.model.attributes
Class AttributeValue

java.lang.Object
  extended by pl.edu.agh.cast.model.attributes.AttributeValue
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public final class AttributeValue
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
AttributeValue(Attribute attribute, java.lang.Object value)
           
 
Method Summary
 AttributeValue copy()
           
 boolean equals(java.lang.Object obj)
           
 java.lang.String format()
          Returns a string representation of this value, to be used
 Attribute getAttribute()
           
 java.lang.Object getValue()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttributeValue

public AttributeValue(Attribute attribute,
                      java.lang.Object value)
Method Detail

copy

public AttributeValue copy()

getValue

public java.lang.Object getValue()

getAttribute

public Attribute getAttribute()

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

format

public java.lang.String format()
Returns a string representation of this value, to be used

Returns:


Copyright © 2007-2008 AGH University of Science and Technology. All Rights Reserved.