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, representingAclObject
Type dmc_aspect_type, representingAspectTypeObject
Type dm_cabinet, representingCabinetObject
Type dm_document, representingDocumentObject
Type dm_folder, representingFolderObject
Type dm_format, representingFormat
Type dm_group, representingGroupObject
Type dm_network_location_map, representingNetworkLocation
Type dm_relation, representingRelationObject
Type dm_relation_type, representingRelationTypeObject
Type dm_sysobject, representingSysObject
Unknown type; default isPersistentObject
Type dm_user, representingUserObject
-
Method Summary
Modifier and TypeMethodDescriptionClass<? extends com.documentum.fc.client.IDfPersistentObject>
FOR INTERNAL USE.static BasicType
fromDfType
(int type) Get the basic type from a df type number.static BasicType
Get the basic type from a string value.boolean
isInstanceOf
(com.documentum.fc.client.IDfPersistentObject object) Class<? extends PersistentObject>
FOR INTERNAL USE.FOR INTERNAL USE.static BasicType
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 returnedvalue()
Get basic type value.static BasicType
Returns 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
-
-
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
-