@ThreadSafety(level=COMPLETELY_THREADSAFE) public enum ObjectClassType extends java.lang.Enum<ObjectClassType>
Enum Constant and Description |
---|
ABSTRACT
The object class type for abstract object classes.
|
AUXILIARY
The object class type for auxiliary object classes.
|
STRUCTURAL
The object class type for structural object classes.
|
Modifier and Type | Method and Description |
---|---|
static ObjectClassType |
forName(java.lang.String name)
Retrieves the object class type value with the specified name.
|
java.lang.String |
getName()
Retrieves the name of this object class type.
|
java.lang.String |
toString()
Retrieves a string representation of this object class type.
|
static ObjectClassType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ObjectClassType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ObjectClassType ABSTRACT
public static final ObjectClassType STRUCTURAL
public static final ObjectClassType AUXILIARY
public static ObjectClassType[] values()
for (ObjectClassType c : ObjectClassType.values()) System.out.println(c);
public static ObjectClassType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null@NotNull public java.lang.String getName()
@Nullable public static ObjectClassType forName(@NotNull java.lang.String name)
name
- The name of the object class type to retrieve. It must not
be null
.null
if
there is no type with the given name.@NotNull public java.lang.String toString()
toString
in class java.lang.Enum<ObjectClassType>