Class TypeObject

All Implemented Interfaces:
com.emc.documentum.rest.conditional.Digestible, Linkable
Direct Known Subclasses:
TypeLifecycleInfo

public class TypeObject extends PersistentObject
Type resource
  • Field Details

  • Constructor Details

    • TypeObject

      public TypeObject()
  • Method Details

    • getType

      public String getType()
      Description copied from class: PersistentObject
      Get object type of the persistent object; if it is not specified explicitly, return the attribute "r_object_type" by alternate.
      Overrides:
      getType in class PersistentObject
      Returns:
      type
    • getMandatoryFields

      public List<String> getMandatoryFields()
      Description copied from class: PersistentObject
      Get mandatory attribute names
      Overrides:
      getMandatoryFields in class PersistentObject
      Returns:
      mandatory fields
    • getAttributeInfoList

      public List<AttributeInfo> getAttributeInfoList()
      Getter for attribute info list
      Returns:
      attribute info list
    • addAttributeInfo

      public void addAttributeInfo(AttributeInfo attr)
      Add attribute info
      Parameters:
      attr - attribute info to add
    • setAttributeInfoList

      public void setAttributeInfoList(List<AttributeInfo> attributeInfoList)
    • getAttributeInfoAsMap

      public Map<String,AttributeInfo> getAttributeInfoAsMap()
    • getName

      public String getName()
      Getter for type name
      Returns:
      type name
    • getLabel

      public String getLabel()
      Getter for type label
      Returns:
      type label
    • getParent

      public String getParent()
      Getter for type parent
      Returns:
      type parent
    • setName

      public void setName(String name)
      Setter for type name
      Parameters:
      name - type name
    • getSharedParent

      public String getSharedParent()
      Getter for shared parent type
      Returns:
      sharedParent shared parent type name
    • setSharedParent

      public void setSharedParent(String sharedParent)
      Setter for shared parent type
      Parameters:
      sharedParent - the shared parent type name
    • setLabel

      public void setLabel(String label)
      Setter for type label
      Parameters:
      label - type label
    • setParent

      public void setParent(String parent)
      Setter for type parent
      Parameters:
      parent - type parent
    • getCategory

      public String getCategory()
      Get type category in string
      Returns:
      the type category
    • setCategory

      public void setCategory(String category)
      Set type category
      Parameters:
      category - the type category in string
    • getDefaultLifecycle

      public String getDefaultLifecycle()
      Returns:
      the default lifecycle id
    • setDefaultLifecycle

      public void setDefaultLifecycle(String defaultLifecycle)
      set the default lifecycle id
      Parameters:
      defaultLifecycle - the default lifecycle id
    • getDefaultLifecycleVersion

      public String getDefaultLifecycleVersion()
      Returns:
      the default lifecycle version
    • setDefaultLifecycleVersion

      public void setDefaultLifecycleVersion(String defaultLifecycleVersion)
      set the default lifecycle version
      Parameters:
      defaultLifecycleVersion - the default lifecycle version
    • getAuditableSystemEvents

      public List<String> getAuditableSystemEvents()
    • setAuditableSystemEvents

      public void setAuditableSystemEvents(List<String> auditableSystemEvents)
    • getAuditableAppEvents

      public List<String> getAuditableAppEvents()
    • setAuditableAppEvents

      public void setAuditableAppEvents(List<String> auditableAppEvents)
    • getScopeConfigs

      public List<ScopeConfig> getScopeConfigs()
    • setScopeConfigs

      public void setScopeConfigs(List<ScopeConfig> scopeConfigs)
    • addScopeConfig

      public void addScopeConfig(ScopeConfig scopeConfig)
    • getMappingTables

      public List<MappingTable> getMappingTables()
    • setMappingTables

      public void setMappingTables(List<MappingTable> mappingTables)
    • addMappingTable

      public void addMappingTable(String value, String display, String desc)
    • getIgnoreConstraints

      public Boolean getIgnoreConstraints()
    • setIgnoreConstraints

      public void setIgnoreConstraints(Boolean ignoreConstraints)
    • getConstraints

      public List<ValueConstraint> getConstraints()
    • setConstraints

      public void setConstraints(List<ValueConstraint> constraints)
    • addConstraint

      public void addConstraint(ValueConstraint constraint)
    • getTypeLifecycles

      public Map<String,Map<String,TypeLifecycleInfo>> getTypeLifecycles()
    • setTypeLifecycles

      public void setTypeLifecycles(Map<String,Map<String,TypeLifecycleInfo>> typeLifecycles)
    • getCreateTypeLifecycle

      public Map<String,TypeLifecycleInfo> getCreateTypeLifecycle(String lifecycle)
    • getCreateTypeLifecycle

      public TypeLifecycleInfo getCreateTypeLifecycle(String lifecycle, String state)
    • getHelpText

      public String getHelpText()
    • setHelpText

      public void setHelpText(String helpText)
    • getCommentText

      public String getCommentText()
    • setCommentText

      public void setCommentText(String commentText)
    • setCategory

      public void setCategory(int category)
      Set type category
      Parameters:
      category - the type category in integer
    • removeDuplicateLifecycleInfo

      public TypeObject removeDuplicateLifecycleInfo()