public enum ClassTypeEnum extends Enum<ClassTypeEnum>
| Enum Constant and Description |
|---|
ABSTRACT
An abstract class is one that provides a base class for a set of related
derived classes, but which can't be instantiated by itself.
|
AUXILIARY
An auxiliary class is basically a collection of additional attributes that
can be added to an instance of a STRUCTURAL class; an AUXILIARY class
can't be instantiated on its own.
|
EXTENSIBLE
An extensible class is basically a free-form class that allows ANY
attribute to be set on it.
|
INTERFACE
An interface class provides an interface for a set of implementing classes.
|
STRUCTURAL
A structural class is a class that can be instantiated by itself.
|
UNKNOWN
Unknown value.
|
| Modifier and Type | Method and Description |
|---|---|
static ClassTypeEnum |
get(int code)
Returns the enum value of the specified int or null if it's not valid.
|
static ClassTypeEnum |
get(String str)
Returns a value for this enum or throws an exception if the String value isn't
a valid member of this enum.
|
int |
intValue()
Returns the value of this enum value as an int.
|
static ClassTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClassTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClassTypeEnum UNKNOWN
public static final ClassTypeEnum ABSTRACT
public static final ClassTypeEnum STRUCTURAL
public static final ClassTypeEnum AUXILIARY
public static final ClassTypeEnum EXTENSIBLE
public static final ClassTypeEnum INTERFACE
public static ClassTypeEnum[] values()
for (ClassTypeEnum c : ClassTypeEnum.values()) System.out.println(c);
public static ClassTypeEnum valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int intValue()
public static ClassTypeEnum get(int code)
public static ClassTypeEnum get(String str)
Copyright © 2023. All rights reserved.