Project: stp

com.ibm.rational.wvcm.stp
Enum StpProperty.Type

Object
  extended by Enum<StpProperty.Type>
      extended by com.ibm.rational.wvcm.stp.StpProperty.Type
All Implemented Interfaces:
com.ibm.rational.wvcm.stpex.StpExEnumeration, Serializable, Comparable<StpProperty.Type>
Enclosing interface:
StpProperty<T>

public static enum StpProperty.Type
extends Enum<StpProperty.Type>
implements com.ibm.rational.wvcm.stpex.StpExEnumeration

An enumeration of the possible property types. Subclasses may extend this list to include any new data types introduced by that subclass.


Enum Constant Summary
BOOL
          A boolean property value.
DATE_TIME
          A GMT date/time between 12:00:01 AM January 1, 1970 and 11:59:59 PM January 18, 2038.
DOUBLE
          An double property value.
ENUMERATED_LIST
          A list of values derived from StpExEnumerationBase
ENUMERATED_TYPE
          A property value derived from StpExEnumerationBase
FLOAT
          A floating point value
INTEGER
          An integer in the range -9999999999 to 9999999999
LOCALE
          A Locale property value.
LOCATION
          An StpLocation property value.
LONG
          A long property value.
OBJECT
          A structure derived from Object
OBJECT_LIST
          A list of structures derived from Object
PROPERTY
          An StpProperty property value
PROPERTY_LIST
          An StpProperty.List property value
PROPERTY_NAME
          A PropertyName property value
PROPERTY_NAME_LIST
          A PropertyNameList property value
RANGE
          A pair of long values specifying a range.
RESOURCE
          A proxy for a Resource of a specific ResourceType.
RESOURCE_LIST
          A list of proxies for a Resource of a specific ResourceType
RESOURCE_TYPE
          A ResourceType property value
STRING
          A generic string value
STRING_LIST
          A property value that is a list of Strings.
UNKNOWN
          An initial value for Type variables
XML
          An XML content property value.
 
Method Summary
static StpProperty.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static StpProperty.Type[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BOOL

public static final StpProperty.Type BOOL
A boolean property value.


DATE_TIME

public static final StpProperty.Type DATE_TIME
A GMT date/time between 12:00:01 AM January 1, 1970 and 11:59:59 PM January 18, 2038.


DOUBLE

public static final StpProperty.Type DOUBLE
An double property value.


ENUMERATED_LIST

public static final StpProperty.Type ENUMERATED_LIST
A list of values derived from StpExEnumerationBase


ENUMERATED_TYPE

public static final StpProperty.Type ENUMERATED_TYPE
A property value derived from StpExEnumerationBase


FLOAT

public static final StpProperty.Type FLOAT
A floating point value


INTEGER

public static final StpProperty.Type INTEGER
An integer in the range -9999999999 to 9999999999


LOCALE

public static final StpProperty.Type LOCALE
A Locale property value.


LOCATION

public static final StpProperty.Type LOCATION
An StpLocation property value.


LONG

public static final StpProperty.Type LONG
A long property value.


OBJECT

public static final StpProperty.Type OBJECT
A structure derived from Object


OBJECT_LIST

public static final StpProperty.Type OBJECT_LIST
A list of structures derived from Object


PROPERTY

public static final StpProperty.Type PROPERTY
An StpProperty property value


PROPERTY_LIST

public static final StpProperty.Type PROPERTY_LIST
An StpProperty.List property value


PROPERTY_NAME

public static final StpProperty.Type PROPERTY_NAME
A PropertyName property value


PROPERTY_NAME_LIST

public static final StpProperty.Type PROPERTY_NAME_LIST
A PropertyNameList property value


RANGE

public static final StpProperty.Type RANGE
A pair of long values specifying a range.


RESOURCE

public static final StpProperty.Type RESOURCE
A proxy for a Resource of a specific ResourceType.


RESOURCE_LIST

public static final StpProperty.Type RESOURCE_LIST
A list of proxies for a Resource of a specific ResourceType


RESOURCE_TYPE

public static final StpProperty.Type RESOURCE_TYPE
A ResourceType property value


STRING

public static final StpProperty.Type STRING
A generic string value


STRING_LIST

public static final StpProperty.Type STRING_LIST
A property value that is a list of Strings.


UNKNOWN

public static final StpProperty.Type UNKNOWN
An initial value for Type variables


XML

public static final StpProperty.Type XML
An XML content property value.

Method Detail

valueOf

public static StpProperty.Type 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

values

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

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

Generated Thu 6-Nov-2014 09:05 PM

Copyright © IBM 2014. All rights reserved.