|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<AttributeDefValueType>
edu.internet2.middleware.grouper.attr.AttributeDefValueType
public enum AttributeDefValueType
| Enum Constant Summary | |
|---|---|
floating
floating point number |
|
integer
whole number type, can be used for date/timestamp or other things |
|
marker
no value type, the attribute itself is all that is needed |
|
memberId
this is a reference to a subject in the grouper_members table |
|
string
text |
|
timestamp
timestamp stored in integer |
|
| Method Summary | |
|---|---|
abstract java.lang.Object |
convertToObject(java.lang.Object theValue)
convert from string to an object, e.g. from the string 12 to the integer 12 |
abstract boolean |
hasValue()
if this type has a value |
static AttributeDefValueType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static AttributeDefValueType |
valueOfIgnoreCase(java.lang.String theString,
boolean exceptionOnNull)
do a case-insensitive matching |
static AttributeDefValueType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final AttributeDefValueType integer
public static final AttributeDefValueType timestamp
public static final AttributeDefValueType string
public static final AttributeDefValueType floating
public static final AttributeDefValueType marker
public static final AttributeDefValueType memberId
| Method Detail |
|---|
public static AttributeDefValueType[] values()
for (AttributeDefValueType c : AttributeDefValueType.values()) System.out.println(c);
public static AttributeDefValueType 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 name
java.lang.NullPointerException - if the argument is nullpublic abstract java.lang.Object convertToObject(java.lang.Object theValue)
theValue -
public abstract boolean hasValue()
public static AttributeDefValueType valueOfIgnoreCase(java.lang.String theString,
boolean exceptionOnNull)
theString - exceptionOnNull - will not allow null or blank entries
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||