Enum Class BasicType

java.lang.Object
java.lang.Enum<BasicType>
com.emc.documentum.rest.dfc.BasicType
All Implemented Interfaces:
Serializable, Comparable<BasicType>, Constable

public enum BasicType extends Enum<BasicType>
A list of basic types defined for REST API.
  • Enum Constant Details

  • Method Details

    • values

      public static BasicType[] 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

      public static BasicType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • ofType

      public static BasicType ofType(String type)
      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

      public String value()
      Get basic type value.
      Returns:
      the type value
    • modelClassType

      public Class<? extends PersistentObject> modelClassType()
      FOR INTERNAL USE.
      Returns:
      the model class name
    • dfcClassType

      public Class<? extends com.documentum.fc.client.IDfPersistentObject> dfcClassType()
      FOR INTERNAL USE.
      Returns:
      the dfc persistence class name
    • modelName

      public String 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

      public static BasicType fromValue(String type)
      Get the basic type from a string value.
      Parameters:
      type - the Documentum object type name
      Returns:
      the basic type
    • fromDfType

      public static BasicType fromDfType(int type)
      Get the basic type from a df type number.
      Parameters:
      type - the df type number
      Returns:
      the basic type