Class ContentRepositoryFragmentEntryModel
- java.lang.Object
-
- com.gentics.contentnode.rest.model.ContentRepositoryFragmentEntryModel
-
- All Implemented Interfaces:
Serializable
public class ContentRepositoryFragmentEntryModel extends Object implements Serializable
Model of an entry in a ContentRepository Fragment- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ContentRepositoryFragmentEntryModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
getAttributeType()
Attribute TypeString
getCategory()
Entry categoryBoolean
getDisplayfield()
True when the entry is a displayfield (of a Mesh ContentRepository)com.fasterxml.jackson.databind.JsonNode
getElasticsearch()
Get the elasticsearch specific configuration of a Mesh CRBoolean
getFilesystem()
Filesystem flagString
getForeignlinkAttribute()
Name of the foreign attribute for foreignlink attributesString
getForeignlinkAttributeRule()
Rule for restricting foreign linked objectsString
getGlobalId()
Global IDInteger
getId()
Local IDString
getMapname()
Map name (name of the attribute in the ContentRepository)String
getMicronodeFilter()
Get the micronode filter (for entries of type micronode)Boolean
getMultivalue()
Multivalue flagInteger
getObjType()
Type of the objectBoolean
getOptimized()
Optimized flagBoolean
getSegmentfield()
True when the entry is a segmentfield (of a Mesh ContentRepository)String
getTagname()
Tag name (property to resolve for the object)Integer
getTargetType()
Type of the target object for link attributesBoolean
getUrlfield()
True when the entry is a urlfield (of a Mesh ContentRepository)void
setAttributeType(Integer attributeType)
Set the attribute typevoid
setCategory(String category)
Set the categoryvoid
setDisplayfield(Boolean displayfield)
Set displayfield flagvoid
setElasticsearch(com.fasterxml.jackson.databind.JsonNode elasticsearch)
Set elasticsearch configvoid
setFilesystem(Boolean filesystem)
Set filesystem flagvoid
setForeignlinkAttribute(String foreignlinkAttribute)
Set foreign attribute namevoid
setForeignlinkAttributeRule(String foreignlinkAttributeRule)
Set foreign link rulevoid
setGlobalId(String globalId)
Set the global IDvoid
setId(Integer id)
Set the local IDvoid
setMapname(String mapname)
Set the map namevoid
setMicronodeFilter(String micronodeFilter)
Set the micronode filtervoid
setMultivalue(Boolean multivalue)
Set multivalue flagvoid
setObjType(Integer objType)
Set the object typevoid
setOptimized(Boolean optimized)
Set optimized flagvoid
setSegmentfield(Boolean segmentfield)
Set segmentfield flagvoid
setTagname(String tagname)
Set the tag namevoid
setTargetType(Integer targetType)
Set the target typevoid
setUrlfield(Boolean urlfield)
Set the urlfield flag
-
-
-
Method Detail
-
getId
public Integer getId()
Local ID- Returns:
- local ID
-
setId
public void setId(Integer id)
Set the local ID- Parameters:
id
- ID
-
getGlobalId
public String getGlobalId()
Global ID- Returns:
- global ID
-
setGlobalId
public void setGlobalId(String globalId)
Set the global ID- Parameters:
globalId
- global ID
-
getTagname
public String getTagname()
Tag name (property to resolve for the object)- Returns:
- tag name
-
setTagname
public void setTagname(String tagname)
Set the tag name- Parameters:
tagname
- tag name
-
getMapname
public String getMapname()
Map name (name of the attribute in the ContentRepository)- Returns:
- map name
-
setMapname
public void setMapname(String mapname)
Set the map name- Parameters:
mapname
- map name
-
getObjType
public Integer getObjType()
Type of the object- Returns:
- object type
-
setObjType
public void setObjType(Integer objType)
Set the object type- Parameters:
object
- type
-
getAttributeType
public Integer getAttributeType()
Attribute Type- Returns:
- attribute type
-
setAttributeType
public void setAttributeType(Integer attributeType)
Set the attribute type- Parameters:
attributeType
- attribute type
-
getMultivalue
public Boolean getMultivalue()
Multivalue flag- Returns:
- multivalue
-
setMultivalue
public void setMultivalue(Boolean multivalue)
Set multivalue flag- Parameters:
multivalue
- flag
-
getOptimized
public Boolean getOptimized()
Optimized flag- Returns:
- optimized
-
setOptimized
public void setOptimized(Boolean optimized)
Set optimized flag- Parameters:
optimized
- flag
-
getFilesystem
public Boolean getFilesystem()
Filesystem flag- Returns:
- filesystem flag
-
setFilesystem
public void setFilesystem(Boolean filesystem)
Set filesystem flag- Parameters:
filesystem
- flag
-
getTargetType
public Integer getTargetType()
Type of the target object for link attributes- Returns:
- target type
-
setTargetType
public void setTargetType(Integer targetType)
Set the target type- Parameters:
targetType
- target type
-
getForeignlinkAttribute
public String getForeignlinkAttribute()
Name of the foreign attribute for foreignlink attributes- Returns:
- attribute name
-
setForeignlinkAttribute
public void setForeignlinkAttribute(String foreignlinkAttribute)
Set foreign attribute name- Parameters:
foreignlinkAttribute
- attribute name
-
getForeignlinkAttributeRule
public String getForeignlinkAttributeRule()
Rule for restricting foreign linked objects- Returns:
- rule
-
setForeignlinkAttributeRule
public void setForeignlinkAttributeRule(String foreignlinkAttributeRule)
Set foreign link rule- Parameters:
foreignlinkAttributeRule
- rule
-
getCategory
public String getCategory()
Entry category- Returns:
- category
-
setCategory
public void setCategory(String category)
Set the category- Parameters:
category
- category
-
getDisplayfield
public Boolean getDisplayfield()
True when the entry is a displayfield (of a Mesh ContentRepository)- Returns:
- true for displayfield
-
setDisplayfield
public void setDisplayfield(Boolean displayfield)
Set displayfield flag- Parameters:
displayfield
- flag
-
getSegmentfield
public Boolean getSegmentfield()
True when the entry is a segmentfield (of a Mesh ContentRepository)- Returns:
- true for segmentfield
-
setSegmentfield
public void setSegmentfield(Boolean segmentfield)
Set segmentfield flag- Parameters:
segmentfield
- flag
-
getUrlfield
public Boolean getUrlfield()
True when the entry is a urlfield (of a Mesh ContentRepository)- Returns:
- true for url field
-
setUrlfield
public void setUrlfield(Boolean urlfield)
Set the urlfield flag- Parameters:
urlfield
- flag
-
getElasticsearch
public com.fasterxml.jackson.databind.JsonNode getElasticsearch()
Get the elasticsearch specific configuration of a Mesh CR- Returns:
- elasticsearch config
-
setElasticsearch
public void setElasticsearch(com.fasterxml.jackson.databind.JsonNode elasticsearch)
Set elasticsearch config- Parameters:
elasticsearch
- config
-
getMicronodeFilter
public String getMicronodeFilter()
Get the micronode filter (for entries of type micronode)- Returns:
- micronode filter
-
setMicronodeFilter
public void setMicronodeFilter(String micronodeFilter)
Set the micronode filter- Parameters:
micronodeFilter
- micronode filter
-
-