Class TagmapEntryModel
- java.lang.Object
-
- com.gentics.contentnode.rest.model.TagmapEntryModel
-
- All Implemented Interfaces:
Serializable
public class TagmapEntryModel extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Integer
attributeType
protected String
category
protected Boolean
displayfield
protected com.fasterxml.jackson.databind.JsonNode
elasticsearch
protected Boolean
filesystem
protected String
foreignlinkAttribute
protected String
foreignlinkAttributeRule
protected String
fragmentName
protected String
globalId
protected Integer
id
protected String
mapname
protected String
micronodeFilter
protected Boolean
multivalue
protected Integer
object
protected Boolean
optimized
protected Boolean
reserved
protected Boolean
segmentfield
protected String
tagname
protected Integer
targetType
protected Boolean
urlfield
-
Constructor Summary
Constructors Constructor Description TagmapEntryModel()
Create an empty instance
-
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
getFragmentName()
Name of the CR Fragment, this entry belongs to.String
getGlobalId()
Global IDInteger
getId()
Internal 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
getObject()
Type of the objectBoolean
getOptimized()
Optimized flagBoolean
getReserved()
Reserved 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
setFragmentName(String fragmentName)
Set the fragment namevoid
setGlobalId(String globalId)
Set the global IDvoid
setId(Integer id)
Set the internal IDvoid
setMapname(String mapname)
Set the map namevoid
setMicronodeFilter(String micronodeFilter)
Set the micronode filtervoid
setMultivalue(Boolean multivalue)
Set multivalue flagvoid
setObject(Integer object)
Set the object typevoid
setOptimized(Boolean optimized)
Optimized flagvoid
setReserved(Boolean reserved)
Set reserved 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
-
-
-
Field Detail
-
id
protected Integer id
-
globalId
protected String globalId
-
tagname
protected String tagname
-
mapname
protected String mapname
-
object
protected Integer object
-
attributeType
protected Integer attributeType
-
targetType
protected Integer targetType
-
multivalue
protected Boolean multivalue
-
optimized
protected Boolean optimized
-
reserved
protected Boolean reserved
-
filesystem
protected Boolean filesystem
-
foreignlinkAttribute
protected String foreignlinkAttribute
-
foreignlinkAttributeRule
protected String foreignlinkAttributeRule
-
category
protected String category
-
segmentfield
protected Boolean segmentfield
-
displayfield
protected Boolean displayfield
-
urlfield
protected Boolean urlfield
-
elasticsearch
protected com.fasterxml.jackson.databind.JsonNode elasticsearch
-
micronodeFilter
protected String micronodeFilter
-
fragmentName
protected String fragmentName
-
-
Method Detail
-
getId
public Integer getId()
Internal ID- Returns:
- ID
-
setId
public void setId(Integer id)
Set the internal 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
- 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
-
getObject
public Integer getObject()
Type of the object- Returns:
- object type
-
setObject
public void setObject(Integer object)
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
-
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
-
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)
Optimized flag- Parameters:
optimized
- flag
-
getReserved
public Boolean getReserved()
Reserved flag- Returns:
- reserved flag
-
setReserved
public void setReserved(Boolean reserved)
Set reserved flag- Parameters:
reserved
- flag
-
getFilesystem
public Boolean getFilesystem()
Filesystem flag- Returns:
- filesystem flag
-
setFilesystem
public void setFilesystem(Boolean filesystem)
Set filesystem flag- Parameters:
filesystem
- flag
-
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
-
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
-
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
-
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
-
getFragmentName
public String getFragmentName()
Name of the CR Fragment, this entry belongs to. Null, if the entry directly belongs to the ContentRepository.- Returns:
- fragment name or null
-
setFragmentName
public void setFragmentName(String fragmentName)
Set the fragment name- Parameters:
fragmentName
- fragment name or null
-
-