Tree PREV CLASS NEXT CLASS SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD com.ibm.portal
Interface MetaData<V,E extends java.util.Map.Entry<java.lang.String,V>>
- All Superinterfaces:
- ListModel<E>
- All Known Subinterfaces:
- CompositionMetrics, LayoutMetrics<V,E>, ModifiableLayoutMetrics<V,E>, ModifiableMetaData<V,E>, ModifiablePortletPreferences<E>, MultipartStream.Entry, PortletPreferences<E>, RuntimeContext
- All Known Implementing Classes:
- DefaultMultipartEntry, FormDataInputStream.Entry, MultipartInputStream.Entry
public interface MetaData<V,E extends java.util.Map.Entry<java.lang.String,V>>- extends ListModel<E>
An interface describing meta data associated with a portal resource.
- Since:
- 5.1.0.1
- See Also:
- MetaDataProvider
Method Summary ListModel<java.lang.String> getNames()
Return a list of the names of meta data entries.V getValue(java.lang.String aName)
Return the value of a meta data entry for the given parameter name.java.util.Iterator<E> iterator()
Return an iterator holding the meta data key/value pairs as Map.Entry elements.
Method Detail getNames
ListModel<java.lang.String> getNames()
- Returns a list of the names of meta data entries.
- Returns:
- the list of names.
getValue
V getValue(java.lang.String aName)
- Returns the value of a meta data entry for the given parameter name.
- Parameters:
- aName - the parameter name
- Returns:
- the value of the meta data entry for the given name, or null if none exists
iterator
java.util.Iterator<E> iterator() throws ModelException
- Returns an iterator holding the meta data key/value pairs as Map.Entry elements. The key/value pair is only valid for the current iteration value of the iterator and is read-only.
- Specified by:
- iterator in interface ListModel<E extends java.util.Map.Entry<java.lang.String,V>>
- Returns:
- an iterator holding key/value pairs of the meta data, never null
- Throws:
- ModelException - if creation of iterator fails
Tree PREV CLASS NEXT CLASS SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD