public class GenericPropertyHandle extends java.lang.Object implements Property
AutoValue, DEFAULT_DOUBLE, IllegalValue, VoidValue| Constructor and Description |
|---|
GenericPropertyHandle(HasProperties host,
PropertyDesc desc) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Object |
get()
Returns the value associated with this property.
|
HasProperties |
getHost()
Returns the host object exporting this property.
|
PropertyInfo |
getInfo()
Gets static information about the property.
|
java.lang.String |
getName()
Returns the name associated with this Property.
|
Range |
getRange()
Returns a range that indicates what values are legal for
for this property, or
null if the
property does not have any range limits (i.e., if
any value of appropriate type specified to Property.get()
is valid. |
int |
hashCode() |
void |
resetHost(HasProperties host) |
void |
set(java.lang.Object obj)
Sets the value associated with this property.
|
public GenericPropertyHandle(HasProperties host, PropertyDesc desc)
public java.lang.String getName()
PropertygetInfo().getName();
public HasProperties getHost()
Propertypublic void resetHost(HasProperties host)
public java.lang.Object get()
Propertyget in interface PropertyProperty.getInfo()public void set(java.lang.Object obj)
PropertyPropertyInfo method
isReadOnly returns
true.set in interface Propertyobj - object containing the value to be set.Property.getInfo()public Range getRange()
Propertynull if the
property does not have any range limits (i.e., if
any value of appropriate type specified to Property.get()
is valid.public PropertyInfo getInfo()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object