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:
  • Constructor Details

    • ContentRepositoryFragmentEntryModel

      public ContentRepositoryFragmentEntryModel()
  • Method Details

    • 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
    • getNoIndex

      public Boolean getNoIndex()
      True when the entry should be excluded from indexing
      Returns:
      true for no indexing
    • setNoIndex

      public void setNoIndex(Boolean noIndex)
      Set the 'exclude from indexing' flag
      Parameters:
      noIndex - 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