public enum TdbExtendedDatabaseType extends java.lang.Enum<TdbExtendedDatabaseType>
Enum Constant and Description |
---|
Any
Databases of any type
|
ClassificationContainer
Classification scheme container
|
Demonstration
Demonstration database or thesaurus
|
System
System database; activities on these databases are highly restricted
|
User
User-created database, thesaurus or cluster
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Retrieve the TRIPxpi protocol name for this type of database
|
static TdbExtendedDatabaseType |
getTypeof(java.lang.String name)
Factory method to return the appropriate type ID from a protocol name
|
static TdbExtendedDatabaseType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TdbExtendedDatabaseType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TdbExtendedDatabaseType Any
public static final TdbExtendedDatabaseType User
public static final TdbExtendedDatabaseType Demonstration
public static final TdbExtendedDatabaseType System
public static final TdbExtendedDatabaseType ClassificationContainer
public static TdbExtendedDatabaseType[] values()
for (TdbExtendedDatabaseType c : TdbExtendedDatabaseType.values()) System.out.println(c);
public static TdbExtendedDatabaseType 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 nullpublic java.lang.String getName()
public static TdbExtendedDatabaseType getTypeof(java.lang.String name)
name
- Protocol name