|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--edu.iu.iv.core.property.Property
| Constructor Summary | |
Property(java.lang.String name)
|
|
Property(java.lang.String name,
java.lang.Class acceptableClass)
|
|
Property(java.lang.String name,
java.lang.Class acceptableClass,
int priority)
|
|
| Method Summary | |
int |
compareTo(java.lang.Object object)
|
java.lang.Class |
getAcceptableClass()
get the class that is to be used to describe this property. |
java.lang.String |
getName()
get the diaplayable name of the property. |
int |
getPriority()
get the priority of this property. |
boolean |
isPropertyValueAcceptable(java.lang.Object value)
Returns whether the given object is acceptable as a property value for this property. |
java.lang.String |
toString(java.lang.Object value)
Takes a value for this property and returns its string representation. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Property(java.lang.String name)
public Property(java.lang.String name,
java.lang.Class acceptableClass)
public Property(java.lang.String name,
java.lang.Class acceptableClass,
int priority)
| Method Detail |
public java.lang.String getName()
public java.lang.Class getAcceptableClass()
public int getPriority()
public boolean isPropertyValueAcceptable(java.lang.Object value)
value - the proposed value for this property
public java.lang.String toString(java.lang.Object value)
value - the property value
public int compareTo(java.lang.Object object)
compareTo in interface java.lang.ComparableComparable.compareTo(java.lang.Object)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||