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.
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. |
copyright
public static final java.lang.String copyright
- IBM standard
copyright
CATEGORY_DELIMITER
public static final int CATEGORY_DELIMITER
DEFAULT_VALUE
public static final int DEFAULT_VALUE
DEFAULT_VALUE_RULE
public static final int DEFAULT_VALUE_RULE
DURATION
public static final int DURATION
ENCODING
public static final int ENCODING
LINK_TO_CATALOG
public static final int LINK_TO_CATALOG
MAXLENGTH
public static final int MAXLENGTH
MAX_EXCLUSIVE
public static final int MAX_EXCLUSIVE
MAX_INCLUSIVE
public static final int MAX_INCLUSIVE
MAX_OCCURRENCE
public static final int MAX_OCCURRENCE
MINLENGTH
public static final int MINLENGTH
MIN_EXCLUSIVE
public static final int MIN_EXCLUSIVE
MIN_INCLUSIVE
public static final int MIN_INCLUSIVE
MIN_OCCURRENCE
public static final int MIN_OCCURRENCE
NAME
public static final int NAME
NUMBER_ENUMERATION
public static final int NUMBER_ENUMERATION
PATTERN
public static final int PATTERN
PRECISION
public static final int PRECISION
SCALE
public static final int SCALE
STRING_ENUMERATION
public static final int STRING_ENUMERATION
TYPE
public static final int TYPE
WHITESPACE
public static final int WHITESPACE
VALIDATION_RULE
public static final int VALIDATION_RULE
VALUE_RULE
public static final int VALUE_RULE
NON_PERSISTED_ATTRIBUTE_RULE
public static final int NON_PERSISTED_ATTRIBUTE_RULE
STRING_ENUMERATION_RULE
public static final int STRING_ENUMERATION_RULE
EDITABLE
public static final int EDITABLE
UNIQUE
public static final int UNIQUE
LOOKUP_TABLE
public static final int LOOKUP_TABLE
SEQUENCE_NAME
public static final int SEQUENCE_NAME
SEQUENCE_INCREMENT
public static final int SEQUENCE_INCREMENT
SEQUENCE_START
public static final int SEQUENCE_START
GROUP
public static final int GROUP
DATE_FORMAT
public static final int DATE_FORMAT
LANGUAGE_CODE
public static final int LANGUAGE_CODE
COUNTRY_CODE
public static final int COUNTRY_CODE
LOCALIZED
public static final int LOCALIZED
LOCALE_IDENTIFIER
public static final int LOCALE_IDENTIFIER
LOCALE_NODE
public static final int LOCALE_NODE
DISPLAY_NAME
public static final int DISPLAY_NAME
HELP_URL
public static final int HELP_URL
HIDDEN
public static final int HIDDEN
NON_PERSISTED
public static final int NON_PERSISTED
OCCURRENCES_TO_DISPLAY
public static final int OCCURRENCES_TO_DISPLAY
CASCADE
public static final int CASCADE
RUNTIME_SEARCHABLE
public static final int RUNTIME_SEARCHABLE
getAttributeValue
public 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
public 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
public 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
public int getAttributeType()
- Returns the type of this SpecNode attribute type
- Returns:
- the attribute type constant for this SpecNode as specified in
this class