com.togethersoft.openapi.model.extension
Interface PropertyProvider
- All Known Subinterfaces:
- PropertyGetProvider, PropertySetProvider
- public interface PropertyProvider
- extends Provider
This is superinterface of two interfaces for providers, which supply properties of
PropertyMap.
To keep property values is entirely reponsibility of providers. Providers can use, for example, uniquename of
Element to locate corresponding information in their databases.
However, provider can also implicitly use properties, supplied by other providers via standard
PropertyMap interface.
- Author:
- TogetherSoft
| Method Summary |
boolean | isApplicable(PropertyMap propertyMap, String propertyName) This method is called right before any other methods of PropertyGetProvider and PropertysetProvider are called. |
isApplicable
public boolean isApplicable(PropertyMap propertyMap, String propertyName)
- This method is called right before any other methods of
PropertyGetProvider and PropertysetProvider are called.- Parameters:
- propertyMap instance of
PropertyMap, for which properties are requested.- propertyName name of requested property or
null when list of properties
is desired. - Returns: provider should return
true when it decided to provide this property for this PropertyMap.