Package com.emc.documentum.rest.dfc
Enum Class BasicType
- All Implemented Interfaces:
Serializable,Comparable<BasicType>,Constable
A list of basic types defined for REST API.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionType dm_acl, representingAclObjectType dmc_aspect_type, representingAspectTypeObjectType dm_bws, representingBWSObjectType dm_cabinet, representingCabinetObjectType dm_document, representingDocumentObjectType dm_folder, representingFolderObjectType dm_format, representingFormatType dm_group, representingGroupObjectType dm_network_location_map, representingNetworkLocationType dm_relation, representingRelationObjectType dm_relation_type, representingRelationTypeObjectType dm_sysobject, representingSysObjectUnknown type; default isPersistentObjectType dm_user, representingUserObject -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends com.documentum.fc.client.IDfPersistentObject>FOR INTERNAL USE.static BasicTypefromDfType(int type) Get the basic type from a df type number.static BasicTypeGet the basic type from a string value.booleanisInstanceOf(com.documentum.fc.client.IDfPersistentObject object) Class<? extends PersistentObject>FOR INTERNAL USE.FOR INTERNAL USE.static BasicTypeFigure out the basic type a type belongs to namely, if the type specified is a basic type or a subtype of a basic type, the basic type will be returnedvalue()Get basic type value.static BasicTypeReturns the enum constant of this class with the specified name.static BasicType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
Unknown type; default isPersistentObject -
CABINET
Type dm_cabinet, representingCabinetObject -
DOCUMENT
Type dm_document, representingDocumentObject -
FOLDER
Type dm_folder, representingFolderObject -
SYS_OBJECT
Type dm_sysobject, representingSysObject -
RELATION
Type dm_relation, representingRelationObject -
RELATION_TYPE
Type dm_relation_type, representingRelationTypeObject -
FORMAT
Type dm_format, representingFormat -
NETWORK_LOCATION
Type dm_network_location_map, representingNetworkLocation -
ASPECT_TYPE
Type dmc_aspect_type, representingAspectTypeObject -
USER
Type dm_user, representingUserObject -
GROUP
Type dm_group, representingGroupObject -
ACL
Type dm_acl, representingAclObject -
BWS
Type dm_bws, representingBWSObject
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
ofType
Figure out the basic type a type belongs to namely, if the type specified is a basic type or a subtype of a basic type, the basic type will be returned- Parameters:
type- the type name- Returns:
- a kind of basic type defined, if the type specified is not known to be a basic type, UNKNOWN will be returned
-
value
Get basic type value.- Returns:
- the type value
-
modelClassType
FOR INTERNAL USE.- Returns:
- the model class name
-
dfcClassType
FOR INTERNAL USE.- Returns:
- the dfc persistence class name
-
modelName
FOR INTERNAL USE.- Returns:
- the model name
-
isInstanceOf
public boolean isInstanceOf(com.documentum.fc.client.IDfPersistentObject object) throws com.documentum.fc.common.DfException - Throws:
com.documentum.fc.common.DfException
-
fromValue
Get the basic type from a string value.- Parameters:
type- the Documentum object type name- Returns:
- the basic type
-
fromDfType
Get the basic type from a df type number.- Parameters:
type- the df type number- Returns:
- the basic type
-