public enum TdbDefaultFunction extends java.lang.Enum<TdbDefaultFunction>
Enum Constant and Description |
---|
CommitDate
The default value should be the current date at the time of initial storage
|
CommitTime
The default value should be the current time at the time of initial storage
|
CommitTStamp
The default value should be the current date and time at the time of initial storage
|
NoFunction
The normal state of a field is to have no default function at all
|
Username
The default value should be the user's TRIP username
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Return the TRIPxpi protocol name for the current function identifier
|
static TdbDefaultFunction |
getTypeof(java.lang.String name)
Retrieve the function ID that matches the provided name
|
static TdbDefaultFunction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TdbDefaultFunction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TdbDefaultFunction NoFunction
public static final TdbDefaultFunction Username
public static final TdbDefaultFunction CommitDate
public static final TdbDefaultFunction CommitTime
public static final TdbDefaultFunction CommitTStamp
public static TdbDefaultFunction[] values()
for (TdbDefaultFunction c : TdbDefaultFunction.values()) System.out.println(c);
public static TdbDefaultFunction 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 static TdbDefaultFunction getTypeof(java.lang.String name)
name
- The name to matchpublic java.lang.String getName()