|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpl.edu.agh.cast.model.attributes.AttributeValue
public final class AttributeValue
Class representing a single value of an Attribute
.
Constructor Summary | |
---|---|
AttributeValue(Attribute attribute,
Object value)
Constructor. |
Method Summary | |
---|---|
AttributeValue |
copy()
Returns a copy of this AttributeValue instance. |
boolean |
equals(Object obj)
|
String |
format()
Returns a string representation of this value, to be used. |
Attribute |
getAttribute()
|
Object |
getValue()
|
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AttributeValue(Attribute attribute, Object value)
attribute
- the attributevalue
- the valueMethod Detail |
---|
public AttributeValue copy()
AttributeValue
instance.
public Object getValue()
public Attribute getAttribute()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class Object
Object.hashCode()
public String toString()
toString
in class Object
Object.toString()
public String format()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |