com.ibm.portal
Interface MetaDataProvider<V,E extends java.util.Map.Entry<java.lang.String,V>>
- All Known Subinterfaces:
- DialogDefinition, ModifiableMetaDataProvider<V,E>, ModifiablePortlet, ModifiablePortletDefinition, ModifiablePortletEntity, ModifiablePortletPreferencesProvider<E>, Portlet, PortletDefinition, PortletEntity, PortletPreferencesProvider<E>, Transition, TransitionEndpoint
public interface MetaDataProvider<V,E extends java.util.Map.Entry<java.lang.String,V>>
An interface describing a method to obtain meta data for a resource.
This interface is optional and may be implemented by resources providing
meta data.
Coding example:
if (aNode instanceof MetaDataProvider) {
MetaData md = ((MetaDataProvider) aNode).getMetaData();
...
} else {
// no meta data available!
}
- Since:
- 5.1.0.1
getMetaData
MetaData<V,E> getMetaData()
- Returns the meta data associated with this provider.
- Returns:
- a meta data object, may be
null
.