Modifier and Type | Method and Description |
---|---|
Property |
findProperty(java.lang.String property)
Finds the property.
|
Property |
get(int idx)
Gets the property by index.
|
java.lang.Object |
get(java.lang.String property)
Gets the value of the property by property name.
|
java.util.Iterator<Property> |
iterator()
Returns an enumerator that iterates through the collection.
|
boolean |
removeProperty(Property property)
Removes a dynamic property.
|
boolean |
removeProperty(java.lang.String property)
Removes a dynamic property.
|
void |
set(java.lang.String property,
java.lang.Object value)
Sets the value of the property by property name.
|
int |
size()
Gets the count of declared properties.
|
public int size()
public Property get(int idx)
idx
- The 0-based index of the propertypublic Property findProperty(java.lang.String property)
property
- Property name.public java.lang.Object get(java.lang.String property)
property
- The name of the propertypublic void set(java.lang.String property, java.lang.Object value)
property
- The name of the propertyvalue
- New valuepublic boolean removeProperty(Property property)
property
- Which property to removepublic boolean removeProperty(java.lang.String property)
property
- Which property to remove