com.ibm.pim.interfaces.specnode
Interface SpecNode


Deprecated.

public interface SpecNode

Read-only interface for a Node within a WPC Spec object.


Field Summary
static int BINARY_SPECNODE
          Deprecated.  
static int CATEGORY_SPECNODE
          Deprecated.  
static java.lang.String copyright
          Deprecated.  
static int CURRENCY_SPECNODE
          Deprecated.  
static int DATE_SPECNODE
          Deprecated.  
static int FLAG_SPECNODE
          Deprecated.  
static int GROUPING_SPECNODE
          Deprecated.  
static int IMAGE_SPECNODE
          Deprecated.  
static int IMAGE_URL_SPECNODE
          Deprecated.  
static int INTEGER_SPECNODE
          Deprecated.  
static int LONG_TEXT_SPECNODE
          Deprecated.  
static int LOOKUP_TABLE_SPECNODE
          Deprecated.  
static int NUMBER_ENUMERATION_SPECNODE
          Deprecated.  
static int NUMBER_SPECNODE
          Deprecated.  
static int PASSWORD_SPECNODE
          Deprecated.  
static int RELATIONSHIP_SPECNODE
          Deprecated.  
static int SEQUENCE_SPECNODE
          Deprecated.  
static int STRING_ENUMERATION_SPECNODE
          Deprecated.  
static int STRING_SPECNODE
          Deprecated.  
static int THUMBNAIL_IMAGE_SPECNODE
          Deprecated.  
static int THUMBNAIL_IMAGE_URL_SPECNODE
          Deprecated.  
static int TIMEZONE_SPECNODE
          Deprecated.  
static int URL_SPECNODE
          Deprecated.  
 
Method Summary
 java.util.Map getAllDisplayNames()
          Deprecated. Returns display name for each of the selected Locale for the spec in form of Map
 java.util.Collection getChildren()
          Deprecated. Returns the children of this SpecNode
 java.lang.String getDisplayName()
          Deprecated. Returns the display name for this SpecNode, based on currently selected Locale for Item and Category data display.
 java.lang.String getDisplayNameForLocale(java.util.Locale locale)
          Deprecated. Returns displayname for particular Locale.
 int getMaxOccurrence()
          Deprecated. Returns the value of the MAX_OCCURRENCE attribute of this SpecNode
 int getMinOccurrence()
          Deprecated. Returns the value of the MIN_OCCURRENCE attribute of this SpecNode
 java.lang.String getName()
          Deprecated. gives name of the specnode.
 SpecNode getParent()
          Deprecated. Return the parent SpecNode of this SpecNode, if applicable
 java.lang.String getPath()
          Deprecated. Returns the complete path of this SpecNode in the format SpecName/SpecNodeName
 java.util.Collection getSpecNodeAttributes()
          Deprecated. Retrieve attributes of this SpecNode (both required and optional attributes)
 java.util.Collection getSpecNodeOptionalAttributes()
          Deprecated. Retrieve attributes of this SpecNode (optional attributes only)
 java.util.Collection getSpecNodeRequiredAttributes()
          Deprecated. Retrieve attributes of this SpecNode (required attributes only)
 int getType()
          Deprecated. Returns the type of this SpecNode.
 boolean isGrouping()
          Deprecated. Determine whether this is a Grouping SpecNode
 boolean isLeaf()
          Deprecated. Determine whether this is a leaf SpecNode
 boolean isPrimaryKey()
          Deprecated. Determine whether this is a PrimaryKey node
 boolean isSubSpecNode()
          Deprecated. Determine whether this node is part of a SubSpec rather than a top level Spec
 

Field Detail

copyright

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

BINARY_SPECNODE

static final int BINARY_SPECNODE
Deprecated. 
See Also:
Constant Field Values

CATEGORY_SPECNODE

static final int CATEGORY_SPECNODE
Deprecated. 
See Also:
Constant Field Values

CURRENCY_SPECNODE

static final int CURRENCY_SPECNODE
Deprecated. 
See Also:
Constant Field Values

DATE_SPECNODE

static final int DATE_SPECNODE
Deprecated. 
See Also:
Constant Field Values

TIMEZONE_SPECNODE

static final int TIMEZONE_SPECNODE
Deprecated. 
See Also:
Constant Field Values

FLAG_SPECNODE

static final int FLAG_SPECNODE
Deprecated. 
See Also:
Constant Field Values

GROUPING_SPECNODE

static final int GROUPING_SPECNODE
Deprecated. 
See Also:
Constant Field Values

IMAGE_SPECNODE

static final int IMAGE_SPECNODE
Deprecated. 
See Also:
Constant Field Values

IMAGE_URL_SPECNODE

static final int IMAGE_URL_SPECNODE
Deprecated. 
See Also:
Constant Field Values

INTEGER_SPECNODE

static final int INTEGER_SPECNODE
Deprecated. 
See Also:
Constant Field Values

LOOKUP_TABLE_SPECNODE

static final int LOOKUP_TABLE_SPECNODE
Deprecated. 
See Also:
Constant Field Values

NUMBER_SPECNODE

static final int NUMBER_SPECNODE
Deprecated. 
See Also:
Constant Field Values

NUMBER_ENUMERATION_SPECNODE

static final int NUMBER_ENUMERATION_SPECNODE
Deprecated. 
See Also:
Constant Field Values

PASSWORD_SPECNODE

static final int PASSWORD_SPECNODE
Deprecated. 
See Also:
Constant Field Values

RELATIONSHIP_SPECNODE

static final int RELATIONSHIP_SPECNODE
Deprecated. 
See Also:
Constant Field Values

SEQUENCE_SPECNODE

static final int SEQUENCE_SPECNODE
Deprecated. 
See Also:
Constant Field Values

STRING_SPECNODE

static final int STRING_SPECNODE
Deprecated. 
See Also:
Constant Field Values

STRING_ENUMERATION_SPECNODE

static final int STRING_ENUMERATION_SPECNODE
Deprecated. 
See Also:
Constant Field Values

THUMBNAIL_IMAGE_SPECNODE

static final int THUMBNAIL_IMAGE_SPECNODE
Deprecated. 
See Also:
Constant Field Values

THUMBNAIL_IMAGE_URL_SPECNODE

static final int THUMBNAIL_IMAGE_URL_SPECNODE
Deprecated. 
See Also:
Constant Field Values

URL_SPECNODE

static final int URL_SPECNODE
Deprecated. 
See Also:
Constant Field Values

LONG_TEXT_SPECNODE

static final int LONG_TEXT_SPECNODE
Deprecated. 
See Also:
Constant Field Values
Method Detail

getType

int getType()
Deprecated. 
Returns the type of this SpecNode.

Returns:
the appropriate static constant for the type of this SpecNode

getChildren

java.util.Collection getChildren()
Deprecated. 
Returns the children of this SpecNode

Returns:
a java.util.Collection of SpecNode objects

getParent

SpecNode getParent()
Deprecated. 
Return the parent SpecNode of this SpecNode, if applicable

Returns:
the immediate parent SpecNode if applicable, otherwise returns null

getName

java.lang.String getName()
Deprecated. 
gives name of the specnode.

Returns:
node name

getDisplayName

java.lang.String getDisplayName()
Deprecated. 
Returns the display name for this SpecNode, based on currently selected Locale for Item and Category data display. If spec of this particular specnode is not localized then it will return specnode name getName()

Returns:
the display name of this SpecNode.If spec is not localized then it will return specnode name getName()

getAllDisplayNames

java.util.Map getAllDisplayNames()
Deprecated. 
Returns display name for each of the selected Locale for the spec in form of Map

Returns:
Map containing key=Locale and value=corresponding locale value. If node is not localized it will return empty Map

getDisplayNameForLocale

java.lang.String getDisplayNameForLocale(java.util.Locale locale)
Deprecated. 
Returns displayname for particular Locale.

Parameters:
locale - locale for which display name needs to be retrived
Returns:
displayname for particular locale. In case of spec is not localized or supplied locale is not part of selected locales for spec then it will return null.

getPath

java.lang.String getPath()
Deprecated. 
Returns the complete path of this SpecNode in the format SpecName/SpecNodeName

Returns:
a String containing the path of this SpecNode

getMaxOccurrence

int getMaxOccurrence()
Deprecated. 
Returns the value of the MAX_OCCURRENCE attribute of this SpecNode

Returns:
MAX_OCCURRENCE attribute value for this SpecNode

getMinOccurrence

int getMinOccurrence()
Deprecated. 
Returns the value of the MIN_OCCURRENCE attribute of this SpecNode

Returns:
MIN_OCCURRENCE attribute value for this SpecNode

isGrouping

boolean isGrouping()
Deprecated. 
Determine whether this is a Grouping SpecNode

Returns:
true if this SpecNode is a Grouping, false otherwise

isLeaf

boolean isLeaf()
Deprecated. 
Determine whether this is a leaf SpecNode

Returns:
true if this node has no children, false otherwise

isPrimaryKey

boolean isPrimaryKey()
Deprecated. 
Determine whether this is a PrimaryKey node

Returns:
true if this node is PrimaryKey node, false otherwise

isSubSpecNode

boolean isSubSpecNode()
Deprecated. 
Determine whether this node is part of a SubSpec rather than a top level Spec

Returns:
true if this node is part of a SubSpec rather than a top level Spec

getSpecNodeAttributes

java.util.Collection getSpecNodeAttributes()
Deprecated. 
Retrieve attributes of this SpecNode (both required and optional attributes)

Returns:
a java.util.Collection of SpecNodeAttribute objects

getSpecNodeRequiredAttributes

java.util.Collection getSpecNodeRequiredAttributes()
Deprecated. 
Retrieve attributes of this SpecNode (required attributes only)

Returns:
a java.util.Collection of SpecNodeAttribute objects

getSpecNodeOptionalAttributes

java.util.Collection getSpecNodeOptionalAttributes()
Deprecated. 
Retrieve attributes of this SpecNode (optional attributes only)

Returns:
a java.util.Collection of SpecNodeAttribute objects