SMILA 1.0 API documentation

org.eclipse.smila.connectivity.framework.schema.config
Enum ElementAttributeType

java.lang.Object
  extended by java.lang.Enum<ElementAttributeType>
      extended by org.eclipse.smila.connectivity.framework.schema.config.ElementAttributeType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ElementAttributeType>

public enum ElementAttributeType
extends java.lang.Enum<ElementAttributeType>

The Enum ElementAttributeType.


Enum Constant Summary
CONTENT
          The CONTENT.
FILE_EXTENSION
          The file extension.
LAST_MODIFIED_DATE
          The LastModifiedDate.
NAME
          The file name.
PATH
          The Path.
SIZE
          The Size.
 
Method Summary
static ElementAttributeType fromValue(java.lang.String v)
          From value.
static java.lang.String toValue(ElementAttributeType t)
           
 java.lang.String value()
          Value.
static ElementAttributeType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ElementAttributeType[] 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

PATH

public static final ElementAttributeType PATH
The Path.


SIZE

public static final ElementAttributeType SIZE
The Size.


LAST_MODIFIED_DATE

public static final ElementAttributeType LAST_MODIFIED_DATE
The LastModifiedDate.


CONTENT

public static final ElementAttributeType CONTENT
The CONTENT.


FILE_EXTENSION

public static final ElementAttributeType FILE_EXTENSION
The file extension.


NAME

public static final ElementAttributeType NAME
The file name.

Method Detail

values

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

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

valueOf

public static ElementAttributeType valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

value

public java.lang.String value()
Value.

Returns:
the string

fromValue

public static ElementAttributeType fromValue(java.lang.String v)
From value.

Parameters:
v - the v
Returns:
the element attribute type

toValue

public static java.lang.String toValue(ElementAttributeType t)
Parameters:
t - the t
Returns:
the string

SMILA 1.0 API documentation