Package com.emc.documentum.rest.model
Class TypeObject
java.lang.Object
com.emc.documentum.rest.model.AbstractLinkable
com.emc.documentum.rest.model.PersistentObject
com.emc.documentum.rest.model.TypeObject
- All Implemented Interfaces:
com.emc.documentum.rest.conditional.Digestible,Linkable
- Direct Known Subclasses:
TypeLifecycleInfo
Type resource
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intDefault fields that will be retrieved when use select * in DQLstatic final intMandatory fieldsstatic final intstatic final intFields inherited from class com.emc.documentum.rest.model.PersistentObject
id, isLightweight, isMaterialized, isSnapshot, isVirtual, mandatoryAttributes, optionalAttributes, parentId, permissions, properties, reqDigest, type, typeDef, versionPolicyFields inherited from class com.emc.documentum.rest.model.AbstractLinkable
links -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd attribute infovoidaddConstraint(ValueConstraint constraint) voidaddMappingTable(String value, String display, String desc) voidaddScopeConfig(ScopeConfig scopeConfig) Getter for attribute info listGet type category in stringgetCreateTypeLifecycle(String lifecycle) getCreateTypeLifecycle(String lifecycle, String state) getLabel()Getter for type labelGet mandatory attribute namesgetName()Getter for type nameGetter for type parentGetter for shared parent typegetType()Get object type of the persistent object; if it is not specified explicitly, return the attribute "r_object_type" by alternate.voidsetAttributeInfoList(List<AttributeInfo> attributeInfoList) voidsetAuditableAppEvents(List<String> auditableAppEvents) voidsetAuditableSystemEvents(List<String> auditableSystemEvents) voidsetCategory(int category) Set type categoryvoidsetCategory(String category) Set type categoryvoidsetCommentText(String commentText) voidsetConstraints(List<ValueConstraint> constraints) voidsetDefaultLifecycle(String defaultLifecycle) set the default lifecycle idvoidsetDefaultLifecycleVersion(String defaultLifecycleVersion) set the default lifecycle versionvoidsetHelpText(String helpText) voidsetIgnoreConstraints(Boolean ignoreConstraints) voidSetter for type labelvoidsetMappingTables(List<MappingTable> mappingTables) voidSetter for type namevoidSetter for type parentvoidsetScopeConfigs(List<ScopeConfig> scopeConfigs) voidsetSharedParent(String sharedParent) Setter for shared parent typevoidsetTypeLifecycles(Map<String, Map<String, TypeLifecycleInfo>> typeLifecycles) Methods inherited from class com.emc.documentum.rest.model.PersistentObject
addAttribute, addMandatoryAttribute, addOptionalAttribute, calculatesDigest, convertDate, geOptionalAttribute, getAttributeByName, getAttributes, getId, getInternalFields, getMandatoryAttribute, getOptionalFields, getParentId, getPermissions, getReqDigest, getTypeDef, getVersionPolicy, hasAttribute, hasAttributeValue, hasOptionalAttribute, isLightweight, isMatchedWithReqDigest, isMaterialized, isSnapshot, isVirtualDocument, reInitAttributes, removeAttributeIfExisted, setId, setIsSnapshot, setIsVirtualDocument, setLightweight, setMaterialized, setParentId, setPermissions, setReqDigest, setType, setTypeDef, setVersionPolicy, toStringMethods inherited from class com.emc.documentum.rest.model.AbstractLinkable
getLinks, setLinks
-
Field Details
-
DEFAULT_FIELDS
Default fields that will be retrieved when use select * in DQL -
MANDATORY_FIELDS
Mandatory fields -
STANDARD
public static final int STANDARD- See Also:
-
ASPECT_PROPERTY
public static final int ASPECT_PROPERTY- See Also:
-
SHAREABLE
public static final int SHAREABLE- See Also:
-
LIGHTWEIGHT
public static final int LIGHTWEIGHT- See Also:
-
DATA_TABLE
public static final int DATA_TABLE- See Also:
-
-
Constructor Details
-
TypeObject
public TypeObject()
-
-
Method Details
-
getType
Description copied from class:PersistentObjectGet object type of the persistent object; if it is not specified explicitly, return the attribute "r_object_type" by alternate.- Overrides:
getTypein classPersistentObject- Returns:
- type
-
getMandatoryFields
Description copied from class:PersistentObjectGet mandatory attribute names- Overrides:
getMandatoryFieldsin classPersistentObject- Returns:
- mandatory fields
-
getAttributeInfoList
Getter for attribute info list- Returns:
- attribute info list
-
addAttributeInfo
Add attribute info- Parameters:
attr- attribute info to add
-
setAttributeInfoList
-
getAttributeInfoAsMap
-
getName
Getter for type name- Returns:
- type name
-
getLabel
Getter for type label- Returns:
- type label
-
getParent
Getter for type parent- Returns:
- type parent
-
setName
Setter for type name- Parameters:
name- type name
-
setLabel
Setter for type label- Parameters:
label- type label
-
setParent
Setter for type parent- Parameters:
parent- type parent
-
getCategory
Get type category in string- Returns:
- the type category
-
setCategory
Set type category- Parameters:
category- the type category in string
-
getDefaultLifecycle
- Returns:
- the default lifecycle id
-
setDefaultLifecycle
set the default lifecycle id- Parameters:
defaultLifecycle- the default lifecycle id
-
getDefaultLifecycleVersion
- Returns:
- the default lifecycle version
-
setDefaultLifecycleVersion
set the default lifecycle version- Parameters:
defaultLifecycleVersion- the default lifecycle version
-
getAuditableSystemEvents
-
setAuditableSystemEvents
-
getAuditableAppEvents
-
setAuditableAppEvents
-
getScopeConfigs
-
setScopeConfigs
-
addScopeConfig
-
getMappingTables
-
setMappingTables
-
addMappingTable
-
getIgnoreConstraints
-
setIgnoreConstraints
-
getConstraints
-
setConstraints
-
addConstraint
-
getTypeLifecycles
-
setTypeLifecycles
-
getCreateTypeLifecycle
-
getCreateTypeLifecycle
-
getHelpText
-
setHelpText
-
getCommentText
-
setCommentText
-
setCategory
public void setCategory(int category) Set type category- Parameters:
category- the type category in integer
-
removeDuplicateLifecycleInfo
-