|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opends.server.admin.client.spi.PropertySet
public final class PropertySet
A set of properties. Instances of this class can be used as the core of a managed object implementation.
| Constructor Summary | |
|---|---|
PropertySet()
Creates a new empty property set. |
|
| Method Summary | ||
|---|---|---|
|
addProperty(PropertyDefinition<T> pd,
java.util.Collection<T> defaultValues,
java.util.Collection<T> activeValues)
Creates a property with the provided sets of pre-validated default and active values. |
|
|
getProperty(PropertyDefinition<T> d)
Get the property associated with the specified property definition. |
|
java.lang.String |
toString()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PropertySet()
| Method Detail |
|---|
public <T> void addProperty(PropertyDefinition<T> pd,
java.util.Collection<T> defaultValues,
java.util.Collection<T> activeValues)
T - The type of the property.pd - The property definition.defaultValues - The set of default values for the property.activeValues - The set of active values for the property.
public <T> Property<T> getProperty(PropertyDefinition<T> d)
throws java.lang.IllegalArgumentException
T - The underlying type of the property.d - The Property definition.
java.lang.IllegalArgumentException - If this property provider does not recognise the
requested property definition.public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||