@Entity public class ContentDescriber extends AbstractContent<ContentAttribute,ContentFacet>
AbstractContent.name however it can have different copied for each of the following:
AbstractContent.statusAbstractContent.language, AbstractContent.country, AbstractContent.variantAbstractContent.BIT_MASKS| Modifier and Type | Field and Description |
|---|---|
protected Map<String,ContentAttribute> |
attributes
The difference between properties and facets is that properties are loaded with the Content Object, while facets are lazy and
represent larger content usually.
|
bitmask, country, created, displayName, facets, id, language, launchDate, metaData, name, pagePath, status, statusDate, updated, variantATTRIB_HIERARCHY_STARTS_LIKE, ATTRIB_PRODUCT_PARENT, parentIdROOT| Constructor and Description |
|---|
ContentDescriber() |
ContentDescriber(String name) |
| Modifier and Type | Method and Description |
|---|---|
ContentDescriber |
clone() |
Collection<String> |
getAttributeNames()
Page may have additional attributes with it; like meta data, Get the value for the param.
Note this is NOT to be confused with an HTTP Requests parameters or Attributes. |
Map<String,ContentAttribute> |
getAttributes() |
String |
getAttributeValue(String name)
Page may have additional attributes with it; like meta data, Get the value for the param.
Note this is NOT to be confused with an HTTP Requests parameters or Attributes. |
ContentDescriber |
setAttribute(String name,
String value)
This method encapsulates the responsibility of ensuring the @link Attribute} can be set into the entity,
including null checks, initializations, any relations between
Attributes and Attribute. |
void |
setAttributes(Map<String,ContentAttribute> attributes) |
getBitmask, getCountry, getCreated, getDisplayName, getFacets, getFlowStatus, getId, getLanguage, getLaunchDate, getLocale, getMetaData, getName, getPagePath, getRegion, getStatus, getStatusDate, getUpdated, getVariant, isBitOn, safeDisplayName, setBitmask, setCreated, setDisplayName, setFacets, setId, setLaunchDate, setLocale, setMetaData, setName, setPagePath, setStatus, setStatusDate, setUpdatedequals, getHierarchy, getParentId, hashCode, setHierarchy, setParentId, toStringprotected Map<String,ContentAttribute> attributes
public ContentDescriber()
public ContentDescriber(String name)
public Map<String,ContentAttribute> getAttributes()
public void setAttributes(Map<String,ContentAttribute> attributes)
public ContentDescriber setAttribute(String name, String value)
AttributesAttributes and Attribute.name - as Stringvalue - as public String getAttributeValue(String name)
PageIdentifierAbstractContentAttribute.ATTRIBUTE_TEMPLATEname - of the Attributepublic Collection<String> getAttributeNames()
PageIdentifierpublic ContentDescriber clone() throws CloneNotSupportedException
clone in interface Content<ContentAttribute,ContentFacet>clone in class AbstractContent<ContentAttribute,ContentFacet>CloneNotSupportedExceptionCopyright © 2018. All rights reserved.