Interface ContentRepresentation
-
public interface ContentRepresentation
This type is an immutable representation of a content item. Use theContentRepresentations
class for creating instances.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getContentType()
Map<String,ContentRepresentationEntry>
getEntries()
This method returns a map of entry names toContentRepresentationEntry
s.Set<String>
getInterfaceNames()
WmId
getWmId()
-
-
-
Method Detail
-
getContentType
String getContentType()
- Returns:
- the fully qualified class name of the content item that this instance represents.
-
getWmId
WmId getWmId()
- Returns:
- the WmId of the content item that this instance represents.
-
getInterfaceNames
Set<String> getInterfaceNames()
- Returns:
- all the interface names that the content item implements. This includes all interfaces higher in the type hierarchy.
-
getEntries
Map<String,ContentRepresentationEntry> getEntries()
This method returns a map of entry names toContentRepresentationEntry
s. Note that this implies that the names of the entries are unique.- Returns:
- a map which contains the mapping of entry names to entries
-
-