public interface PropertyRegistry
| Modifier and Type | Method and Description |
|---|---|
<T extends Property<?,?>> |
getStore(Class<T> propertyClass)
Retrieves the
PropertyStore associated for the provided
Property class. |
<T extends Property<?,?>> |
register(Class<T> propertyClass,
PropertyStore<T> propertyStore)
|
<T extends Property<?,?>> void register(Class<T> propertyClass, PropertyStore<T> propertyStore)
PropertyStore for the given
Property Class. Note that only a single
PropertyStore can be registered per Property. Multiple
registrations will result in exceptions being thrown.T - The type of propertypropertyClass - The property classpropertyStore - The property store<T extends Property<?,?>> Optional<PropertyStore<T>> getStore(Class<T> propertyClass)
PropertyStore associated for the provided
Property class.T - The type of propertypropertyClass - The property class