org.apache.beehive.controls.api.properties
Class PropertyKey
Object
PropertyKey
- All Implemented Interfaces:
- Serializable
public class PropertyKey
- extends Object
- implements Serializable
The PropertyKey class represents a key that can be used to set a JSR-175 attribute member
value within a PropertyMap
.
- See Also:
- Serialized Form
Constructor Summary |
PropertyKey(Class<? extends Annotation> propertySet,
String propertyName)
This constructor takes the JSR-175 metadata interface that is associated with
the contained attributes. |
Methods inherited from class Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
PropertyKey
public PropertyKey(Class<? extends Annotation> propertySet,
String propertyName)
- This constructor takes the JSR-175 metadata interface that is associated with
the contained attributes.
getDefaultValue
public Object getDefaultValue()
- Computes the default value for the value of this property key, or null if there
is no defined default.
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
getPropertySet
public Class<? extends Annotation> getPropertySet()
getPropertyName
public String getPropertyName()
getPropertyType
public Class getPropertyType()
getAnnotations
public Annotation[] getAnnotations()