public abstract class AbstractProperty<T> extends java.lang.Object implements Property<T>
Constructor and Description |
---|
AbstractProperty(java.lang.String name,
java.util.List<T> values) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName()
Returns the name of this state.
|
java.util.List<T> |
getValues()
Return a list of available values for this state.
|
int |
hashCode() |
void |
setName(java.lang.String name)
Internal method for name setting post-deserialise.
|
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getValueFor
public AbstractProperty(java.lang.String name, java.util.List<T> values)
public java.util.List<T> getValues()
Property
public java.lang.String getName()
Property
public void setName(java.lang.String name)
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object