edu.internet2.middleware.grouper.attr.value
Enum AttributeAssignValue.AttributeAssignValueType

java.lang.Object
  extended by java.lang.Enum<AttributeAssignValue.AttributeAssignValueType>
      extended by edu.internet2.middleware.grouper.attr.value.AttributeAssignValue.AttributeAssignValueType
All Implemented Interfaces:
Serializable, Comparable<AttributeAssignValue.AttributeAssignValueType>
Enclosing class:
AttributeAssignValue

public static enum AttributeAssignValue.AttributeAssignValueType
extends Enum<AttributeAssignValue.AttributeAssignValueType>


Enum Constant Summary
floating
          has a floating value
integerValue
          has an integer value
memberId
          has a member id
multiValueError
          has multi values, thats bad
nullValue
          doesnt have a value
string
          has a string value
 
Method Summary
abstract  boolean compatibleWith(AttributeDefValueType attributeDefValueType)
           
static AttributeAssignValue.AttributeAssignValueType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AttributeAssignValue.AttributeAssignValueType[] 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

integerValue

public static final AttributeAssignValue.AttributeAssignValueType integerValue
has an integer value


floating

public static final AttributeAssignValue.AttributeAssignValueType floating
has a floating value


string

public static final AttributeAssignValue.AttributeAssignValueType string
has a string value


memberId

public static final AttributeAssignValue.AttributeAssignValueType memberId
has a member id


nullValue

public static final AttributeAssignValue.AttributeAssignValueType nullValue
doesnt have a value


multiValueError

public static final AttributeAssignValue.AttributeAssignValueType multiValueError
has multi values, thats bad

Method Detail

values

public static AttributeAssignValue.AttributeAssignValueType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (AttributeAssignValue.AttributeAssignValueType c : AttributeAssignValue.AttributeAssignValueType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static AttributeAssignValue.AttributeAssignValueType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

compatibleWith

public abstract boolean compatibleWith(AttributeDefValueType attributeDefValueType)
Parameters:
attributeDefValueType -
Returns:
true if the value type is compatible with the def type