@MappedSuperclass public abstract class AbstractContentFacet extends DomainObject implements Cloneable, AbstractAttribute<String,String>, Identifiable<Long>
Modifier and Type | Field and Description |
---|---|
protected String |
authorizations
JSON String to represent a Map of <String,
Authorization > per module. |
static org.apache.commons.collections.Transformer |
FACET_IDENTIFIER
Set complete identifier for this facet, includes name and index.
|
protected Long |
id |
protected Integer |
index
If this
ContentFacet is part of an Array (list), then this will not be null
and have the index number (starts from 0) |
protected String |
metaData
JSON Object String, that can store many facet related properties in one string.
|
protected String |
name
The Name in facet is the same as refName
|
protected String |
notes
User generated Notes about the content
|
protected String |
type
Describe the kind of content as
ContentType (String)
Core type kept String for simple persistence |
protected String |
value |
Constructor and Description |
---|
AbstractContentFacet() |
AbstractContentFacet(FacetMeta meta) |
Modifier and Type | Method and Description |
---|---|
AbstractContentFacet |
clone() |
boolean |
equals(Object obj) |
String |
getAuthorizations()
JSON String to represent a Map of <String,
Authorization > per module. |
abstract Content |
getContent() |
String |
getDisplayName() |
Long |
getId() |
Integer |
getIndex()
If this
ContentFacet is part of an Array (list), then this will not be null
and have the index number (starts from 0) |
String |
getMetaData()
JSON Object String, that can store many facet related properties in one string.
|
String |
getName() |
String |
getNotes()
User generated Notes about the content
|
ContentType |
getType() |
String |
getValue() |
int |
hashCode() |
void |
setAuthorizations(String authorizations)
JSON String to represent a Map of <String,
Authorization > per module. |
abstract void |
setContent(Content content) |
void |
setId(Long id) |
void |
setIndex(Integer index)
If this
ContentFacet is part of an Array (list), then this will not be null
and have the index number (starts from 0) |
void |
setMetaData(String metaData)
JSON Object String, that can store many facet related properties in one string.
|
void |
setName(String name) |
void |
setNotes(String notes)
User generated Notes about the content
|
void |
setType(ContentType type) |
void |
setValue(String value) |
String |
toString() |
protected Long id
protected String name
protected Integer index
ContentFacet
is part of an Array (list), then this will not be null
and have the index number (starts from 0)protected String value
protected String authorizations
Authorization
> per module. The key is the module name.protected String metaData
protected String notes
protected String type
ContentType
(String)
public static final org.apache.commons.collections.Transformer FACET_IDENTIFIER
public AbstractContentFacet()
public AbstractContentFacet(FacetMeta meta)
public Long getId()
getId
in interface Identifiable<Long>
public void setId(Long id)
setId
in interface Identifiable<Long>
public String getName()
getName
in interface AbstractAttribute<String,String>
public void setName(String name)
setName
in interface AbstractAttribute<String,String>
public Integer getIndex()
ContentFacet
is part of an Array (list), then this will not be null
and have the index number (starts from 0)public void setIndex(Integer index)
ContentFacet
is part of an Array (list), then this will not be null
and have the index number (starts from 0)public String getValue()
getValue
in interface AbstractAttribute<String,String>
public void setValue(String value)
setValue
in interface AbstractAttribute<String,String>
public ContentType getType()
public void setType(ContentType type)
public String getMetaData()
public void setMetaData(String metaData)
public String getNotes()
public void setNotes(String notes)
public String getDisplayName()
public String getAuthorizations()
Authorization
> per module. The key is the module name.public void setAuthorizations(String authorizations)
Authorization
> per module. The key is the module name.public AbstractContentFacet clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public abstract Content getContent()
public abstract void setContent(Content content)
Copyright © 2018. All rights reserved.