com.ibm.pim.interfaces.specnode
Interface SpecNodeAttribute


public interface SpecNodeAttribute

Read-only interface for a single attribute of a SpecNode. SpecNodeAttribute can have single or multiple values depending on the attribute type.


Field Summary
static int BIDI_NUMSHAPES
           
static int BIDI_ORIENTATION
           
static int BIDI_SWAP
           
static int BIDI_TEXTSHAPES
           
static int BIDI_TYPEOFTEXT
           
static int CASCADE
           
static int CATEGORY_DELIMITER
           
static java.lang.String copyright
           
static int COUNTRY_CODE
           
static int CURRENCY
           
static int DATE_FORMAT
           
static int DATEONLY
           
static int DEFAULT_VALUE
           
static int DEFAULT_VALUE_RULE
           
static int DURATION
           
static int EDITABLE
           
static int ENCODING
           
static int EXCEL_DATE_FORMAT
           
static int GROUP
           
static int HELP_URL
           
static int HIDDEN
           
static int INDEXED
           
static int LANGUAGE_CODE
           
static int LINK_TO_CATALOG
           
static int LOCALE
           
static int LOCALE_IDENTIFIER
           
static int LOCALE_NODE
           
static int LOCALIZED
           
static int LOOKUP_TABLE
           
static int MAX_EXCLUSIVE
           
static int MAX_INCLUSIVE
           
static int MAX_OCCURRENCE
           
static int MAXLENGTH
           
static int MIN_EXCLUSIVE
           
static int MIN_INCLUSIVE
           
static int MIN_OCCURRENCE
           
static int MINLENGTH
           
static int NAME
           
static int NON_PERSISTED
           
static int NON_PERSISTED_ATTRIBUTE_RULE
           
static int NUMBER_ENUMERATION
           
static int NUMBER_FORMAT
           
static int OCCURRENCES_TO_DISPLAY
           
static int PATTERN
           
static int PRECISION
           
static int SCALE
           
static int SEQUENCE_INCREMENT
           
static int SEQUENCE_NAME
           
static int SEQUENCE_START
           
static int STRING_ENUMERATION
           
static int STRING_ENUMERATION_RULE
           
static int TIMEZONE_DEFAULT
           
static int TYPE
           
static int UNIQUE
           
static int VALIDATION_RULE
           
static int VALUE_RULE
           
static int WHITESPACE
           
 
Method Summary
 int getAttributeType()
          Returns the type of this SpecNode attribute type
 java.lang.String getAttributeValue()
          Returns the String value of this SpecNode attribute.
 java.util.Collection getAttributeValues()
          Returns a java.util.Collection containing the String values of this SpecNode attribute.
 boolean isSingleValued()
          Determine whether the SpecNodeAttribute has single or multiple values.
 

Field Detail

copyright

static final java.lang.String copyright
See Also:
Constant Field Values

CATEGORY_DELIMITER

static final int CATEGORY_DELIMITER
See Also:
Constant Field Values

DEFAULT_VALUE

static final int DEFAULT_VALUE
See Also:
Constant Field Values

DEFAULT_VALUE_RULE

static final int DEFAULT_VALUE_RULE
See Also:
Constant Field Values

DURATION

static final int DURATION
See Also:
Constant Field Values

ENCODING

static final int ENCODING
See Also:
Constant Field Values

LINK_TO_CATALOG

static final int LINK_TO_CATALOG
See Also:
Constant Field Values

MAXLENGTH

static final int MAXLENGTH
See Also:
Constant Field Values

MAX_EXCLUSIVE

static final int MAX_EXCLUSIVE
See Also:
Constant Field Values

MAX_INCLUSIVE

static final int MAX_INCLUSIVE
See Also:
Constant Field Values

MAX_OCCURRENCE

static final int MAX_OCCURRENCE
See Also:
Constant Field Values

MINLENGTH

static final int MINLENGTH
See Also:
Constant Field Values

MIN_EXCLUSIVE

static final int MIN_EXCLUSIVE
See Also:
Constant Field Values

MIN_INCLUSIVE

static final int MIN_INCLUSIVE
See Also:
Constant Field Values

MIN_OCCURRENCE

static final int MIN_OCCURRENCE
See Also:
Constant Field Values

NAME

static final int NAME
See Also:
Constant Field Values

NUMBER_ENUMERATION

static final int NUMBER_ENUMERATION
See Also:
Constant Field Values

PATTERN

static final int PATTERN
See Also:
Constant Field Values

PRECISION

static final int PRECISION
See Also:
Constant Field Values

SCALE

static final int SCALE
See Also:
Constant Field Values

STRING_ENUMERATION

static final int STRING_ENUMERATION
See Also:
Constant Field Values

TYPE

static final int TYPE
See Also:
Constant Field Values

WHITESPACE

static final int WHITESPACE
See Also:
Constant Field Values

VALIDATION_RULE

static final int VALIDATION_RULE
See Also:
Constant Field Values

VALUE_RULE

static final int VALUE_RULE
See Also:
Constant Field Values

NON_PERSISTED_ATTRIBUTE_RULE

static final int NON_PERSISTED_ATTRIBUTE_RULE
See Also:
Constant Field Values

STRING_ENUMERATION_RULE

static final int STRING_ENUMERATION_RULE
See Also:
Constant Field Values

EDITABLE

static final int EDITABLE
See Also:
Constant Field Values

UNIQUE

static final int UNIQUE
See Also:
Constant Field Values

LOOKUP_TABLE

static final int LOOKUP_TABLE
See Also:
Constant Field Values

SEQUENCE_NAME

static final int SEQUENCE_NAME
See Also:
Constant Field Values

SEQUENCE_INCREMENT

static final int SEQUENCE_INCREMENT
See Also:
Constant Field Values

SEQUENCE_START

static final int SEQUENCE_START
See Also:
Constant Field Values

GROUP

static final int GROUP
See Also:
Constant Field Values

DATE_FORMAT

static final int DATE_FORMAT
See Also:
Constant Field Values

TIMEZONE_DEFAULT

static final int TIMEZONE_DEFAULT
See Also:
Constant Field Values

NUMBER_FORMAT

static final int NUMBER_FORMAT
See Also:
Constant Field Values

BIDI_TYPEOFTEXT

static final int BIDI_TYPEOFTEXT
See Also:
Constant Field Values

BIDI_ORIENTATION

static final int BIDI_ORIENTATION
See Also:
Constant Field Values

BIDI_SWAP

static final int BIDI_SWAP
See Also:
Constant Field Values

BIDI_NUMSHAPES

static final int BIDI_NUMSHAPES
See Also:
Constant Field Values

BIDI_TEXTSHAPES

static final int BIDI_TEXTSHAPES
See Also:
Constant Field Values

LOCALE

static final int LOCALE
See Also:
Constant Field Values

LANGUAGE_CODE

static final int LANGUAGE_CODE
See Also:
Constant Field Values

COUNTRY_CODE

static final int COUNTRY_CODE
See Also:
Constant Field Values

LOCALIZED

static final int LOCALIZED
See Also:
Constant Field Values

LOCALE_IDENTIFIER

static final int LOCALE_IDENTIFIER
See Also:
Constant Field Values

LOCALE_NODE

static final int LOCALE_NODE
See Also:
Constant Field Values

HELP_URL

static final int HELP_URL
See Also:
Constant Field Values

HIDDEN

static final int HIDDEN
See Also:
Constant Field Values

NON_PERSISTED

static final int NON_PERSISTED
See Also:
Constant Field Values

OCCURRENCES_TO_DISPLAY

static final int OCCURRENCES_TO_DISPLAY
See Also:
Constant Field Values

CASCADE

static final int CASCADE
See Also:
Constant Field Values

INDEXED

static final int INDEXED
See Also:
Constant Field Values

CURRENCY

static final int CURRENCY
See Also:
Constant Field Values

DATEONLY

static final int DATEONLY
See Also:
Constant Field Values

EXCEL_DATE_FORMAT

static final int EXCEL_DATE_FORMAT
See Also:
Constant Field Values
Method Detail

getAttributeValue

java.lang.String getAttributeValue()
Returns the String value of this SpecNode attribute. If the SpecNode has multiple values then it will return the first value.

Returns:
String the attribute value as a String

getAttributeValues

java.util.Collection getAttributeValues()
Returns a java.util.Collection containing the String values of this SpecNode attribute.

Returns:
Collection of String objects containing values, or null if this is a single value attribute

isSingleValued

boolean isSingleValued()
Determine whether the SpecNodeAttribute has single or multiple values. If it returns true then use getAttributeValue() otherwise getAttributeValues().

Returns:
true if attribute has only one value, otherwise false.

getAttributeType

int getAttributeType()
Returns the type of this SpecNode attribute type

Returns:
the attribute type constant for this SpecNode as specified in this class