Package com.emc.documentum.rest.model
Class RelationObject
java.lang.Object
com.emc.documentum.rest.model.AbstractLinkable
com.emc.documentum.rest.model.PersistentObject
com.emc.documentum.rest.model.RelationObject
- All Implemented Interfaces:
com.emc.documentum.rest.conditional.Digestible,Linkable
Relation resource
-
Field Summary
FieldsModifier and TypeFieldDescriptionDefault fields that will be retrieved when use select * in DQLMandatory fieldsFields 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 TypeMethodDescriptionGet child id of relation objectGet mandatory fieldsgetName()Get name of relation object, which is "relation_name" in factGet parent id of relation objectMethods inherited from class com.emc.documentum.rest.model.PersistentObject
addAttribute, addMandatoryAttribute, addOptionalAttribute, calculatesDigest, convertDate, geOptionalAttribute, getAttributeByName, getAttributes, getId, getInternalFields, getMandatoryAttribute, getOptionalFields, getPermissions, getReqDigest, getType, 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
-
-
Constructor Details
-
RelationObject
public RelationObject()Constructor -
RelationObject
Constructor- Parameters:
object- persistent object
-
-
Method Details
-
getName
Get name of relation object, which is "relation_name" in fact- Returns:
- name of relation object
-
getParentId
Get parent id of relation object- Overrides:
getParentIdin classPersistentObject- Returns:
- parent id
-
getChildId
Get child id of relation object- Returns:
- child id
-
getMandatoryFields
Get mandatory fields- Overrides:
getMandatoryFieldsin classPersistentObject- Returns:
- mandatory fields
-