K - public interface Property<K>
extends java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
K |
clone(java.lang.Object element) |
int |
compare(java.lang.Object o1,
java.lang.Object o2) |
K |
getDefaultValue()
We want to have a default value for a property s.t., we can reason on it
|
java.util.Collection<java.lang.Class<? extends Property<?>>> |
getDependencies() |
GUIProperty<K> |
getGUIProperty() |
javax.swing.ImageIcon |
getIcon() |
java.lang.Long |
getID() |
java.util.Set<Constructs> |
getMeaningfulTypeConstructs() |
java.lang.String |
getName() |
double |
getValueDouble(java.lang.Object value) |
boolean |
hasOrdering() |
boolean |
higherBetter() |
java.lang.String |
marshall(java.lang.Object value) |
java.util.Set<Constructs> |
monotonicity() |
java.lang.Object |
unmarshall(java.lang.String xml) |
java.lang.Long getID()
java.lang.String getName()
K clone(java.lang.Object element)
int compare(java.lang.Object o1,
java.lang.Object o2)
o1 - a value for a propertyo2 - another value for a propertyjava.util.Collection<java.lang.Class<? extends Property<?>>> getDependencies()
java.util.Set<Constructs> monotonicity()
java.util.Set<Constructs> getMeaningfulTypeConstructs()
K getDefaultValue()
double getValueDouble(java.lang.Object value)
value - The value one wants to have a single double ofjavax.swing.ImageIcon getIcon()
GUIProperty<K> getGUIProperty() throws java.lang.InstantiationException, java.lang.IllegalAccessException
java.lang.IllegalAccessExceptionjava.lang.InstantiationExceptionboolean hasOrdering()
boolean higherBetter()
java.lang.String marshall(java.lang.Object value)
value - the value of the object to be writtenjava.lang.Object unmarshall(java.lang.String xml)
xml - the xml fragment to be parsed