| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Provider, implementing this interface takes a responsibilty for property listing and retrieving.
Provider itself can request properties of PropertyMap
via regular interface. Actually, from the provider's point of view,
PropertyMap would behave like there
are only property providers, which are registered before this one.
When any method of provider is called, it's guaranteed, that isApplicable method
was called before
with the same values of propertyMap and propertyName
arguments and true was returned.
| Method Summary | |
Property | getProperty(PropertyMap propertyMap, String propertyName)Will be called, when getProperty operation of PropertyMap was invoked. |
String | getPropertyValue(PropertyMap propertyMap, String propertyName)Will be called, when getPropertyValue operation of PropertyMap was invoked. |
boolean | hasProperty(PropertyMap propertyMap, String propertyName)Will be called, when hasProperty operation of PropertyMap was invoked. |
boolean | hasPropertyValue(PropertyMap propertyMap, String propertyName, String propertyValue)Will be called, when hasPropertyValue operation of PropertyMap was
invoked. |
boolean | isPropertyReadable(PropertyMap propertyMap, String propertyName)Will be called, when isPropertyReadable operation of PropertyMap was invoked. |
PropertyEnumeration | properties(PropertyMap propertyMap)Will be called, when properties() operation of PropertyMap was invoked. |
PropertyEnumeration | properties(PropertyMap propertyMap, String propertyName)Will be called, when properties(String propertyName) operation of PropertyMap was invoked. |
| Methods inherited from interface com.togethersoft.openapi.model.extension.PropertyProvider |
isApplicable |
| Method Detail |
public Property getProperty(PropertyMap propertyMap, String propertyName)
getProperty operation of PropertyMap was invoked.
null.Property interface for requested property
null if there is no such property in propertyMap from provider's
public String getPropertyValue(PropertyMap propertyMap, String propertyName)
getPropertyValue operation of PropertyMap was invoked.
null.null if there is no such property
propertyMap from provider's point of viewpublic boolean hasProperty(PropertyMap propertyMap, String propertyName)
hasProperty operation of PropertyMap was invoked.
true or all providers
false.true when provider provides such property for this propertyMappublic boolean hasPropertyValue(PropertyMap propertyMap, String propertyName, String propertyValue)
hasPropertyValue operation of PropertyMap was
true or
false.true if this provider provides property with such name and current
PropertyMap instance has property with such value.public boolean isPropertyReadable(PropertyMap propertyMap, String propertyName)
isPropertyReadable operation of PropertyMap was invoked.
true or all providers returned false.true if this provider provides readable property with such namepublic PropertyEnumeration properties(PropertyMap propertyMap)
properties() operation of PropertyMap was invoked.
isApplicable method is guaranteed to be called before with the same value of
propertyMap argument and null as value of propertyName
argument.
PropertyEnumeration of proeprties in this PropertyMap.public PropertyEnumeration properties(PropertyMap propertyMap, String propertyName)
properties(String propertyName) operation of PropertyMap was invoked.
PropertyEnumeration of proeprties in this PropertyMap.
| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||