com.softwareag.centrasite.appl.framework.types
Enum AttributeType

java.lang.Object
  extended by java.lang.Enum<AttributeType>
      extended by com.softwareag.centrasite.appl.framework.types.AttributeType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<AttributeType>

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

Enumeration representing the supported attribute types.

Since:
CentraSite 8.0
See Also:
AttributeDescription

Enum Constant Summary
CLASSIFICATION
          Attribute of type classification.
FILE
          Attribute of type file.
RELATIONSHIP
          Attribute of type relationship.
SLOT
          Attribute of type slot.
 
Method Summary
static AttributeType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static 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
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SLOT

public static final AttributeType SLOT
Attribute of type slot. Values for this attribute are stored as slots inside the registry object. Each slot attribute has a data type, e.g. xs:date, xs:integer.


FILE

public static final AttributeType FILE
Attribute of type file. Values for this attribute are stored as external links inside the registry object.


CLASSIFICATION

public static final AttributeType CLASSIFICATION
Attribute of type classification. Values for this attribute are stored as classifications inside the registry object. The taxonomy of the classification is specified when creating the attribute.


RELATIONSHIP

public static final AttributeType RELATIONSHIP
Attribute of type relationship. Values for this attribute are stored as associations of specific type. The target of the association is enforced to of a given type.

Method Detail

values

public static 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 (AttributeType c : 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 AttributeType 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