com.sas.hls.type
Enum AttributeDefinition.AttributeType

java.lang.Object
  extended by java.lang.Enum<AttributeDefinition.AttributeType>
      extended by com.sas.hls.type.AttributeDefinition.AttributeType
All Implemented Interfaces:
Serializable, Comparable<AttributeDefinition.AttributeType>
Enclosing class:
AttributeDefinition

public static enum AttributeDefinition.AttributeType
extends Enum<AttributeDefinition.AttributeType>

The enumeration of value types that an attribute can have.


Enum Constant Summary
BOOLEAN
          A boolean value.
DATE
          A date value.
LONG
          A long numeric.
STRING
          A string value.
 
Method Summary
static AttributeDefinition.AttributeType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AttributeDefinition.AttributeType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

LONG

public static final AttributeDefinition.AttributeType LONG
A long numeric.


STRING

public static final AttributeDefinition.AttributeType STRING
A string value.


DATE

public static final AttributeDefinition.AttributeType DATE
A date value.


BOOLEAN

public static final AttributeDefinition.AttributeType BOOLEAN
A boolean value.

Method Detail

values

public static AttributeDefinition.AttributeType[] 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 (AttributeDefinition.AttributeType c : AttributeDefinition.AttributeType.values())
    System.out.println(c);

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

valueOf

public static AttributeDefinition.AttributeType 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


Copyright (c) 2014, SAS Institute Inc., Cary, NC, USA