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 int
static final int
Default fields that will be retrieved when use select * in DQLstatic final int
Mandatory fieldsstatic final int
static final int
Fields inherited from class com.emc.documentum.rest.model.PersistentObject
id, isLightweight, isMaterialized, isSnapshot, isVirtual, mandatoryAttributes, optionalAttributes, parentId, permissions, properties, reqDigest, type, typeDef, versionPolicy
Fields inherited from class com.emc.documentum.rest.model.AbstractLinkable
links
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Add attribute infovoid
addConstraint
(ValueConstraint constraint) void
addMappingTable
(String value, String display, String desc) void
addScopeConfig
(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.void
setAttributeInfoList
(List<AttributeInfo> attributeInfoList) void
setAuditableAppEvents
(List<String> auditableAppEvents) void
setAuditableSystemEvents
(List<String> auditableSystemEvents) void
setCategory
(int category) Set type categoryvoid
setCategory
(String category) Set type categoryvoid
setCommentText
(String commentText) void
setConstraints
(List<ValueConstraint> constraints) void
setDefaultLifecycle
(String defaultLifecycle) set the default lifecycle idvoid
setDefaultLifecycleVersion
(String defaultLifecycleVersion) set the default lifecycle versionvoid
setHelpText
(String helpText) void
setIgnoreConstraints
(Boolean ignoreConstraints) void
Setter for type labelvoid
setMappingTables
(List<MappingTable> mappingTables) void
Setter for type namevoid
Setter for type parentvoid
setScopeConfigs
(List<ScopeConfig> scopeConfigs) void
setSharedParent
(String sharedParent) Setter for shared parent typevoid
setTypeLifecycles
(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, toString
Methods 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: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 classPersistentObject
- Returns:
- type
-
getMandatoryFields
Description copied from class:PersistentObject
Get mandatory attribute names- Overrides:
getMandatoryFields
in 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
-