|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SpecNode
Read-only interface for a Node within a WPC Spec object.
Field Summary | |
---|---|
static int |
BINARY_SPECNODE
|
static int |
CATEGORY_SPECNODE
|
static java.lang.String |
copyright
|
static int |
CURRENCY_SPECNODE
|
static int |
DATE_SPECNODE
|
static int |
FLAG_SPECNODE
|
static int |
GROUPING_SPECNODE
|
static int |
IMAGE_SPECNODE
|
static int |
IMAGE_URL_SPECNODE
|
static int |
INTEGER_SPECNODE
|
static int |
LONG_TEXT_SPECNODE
|
static int |
LOOKUP_TABLE_SPECNODE
|
static int |
NUMBER_ENUMERATION_SPECNODE
|
static int |
NUMBER_SPECNODE
|
static int |
PASSWORD_SPECNODE
|
static int |
RELATIONSHIP_SPECNODE
|
static int |
SEQUENCE_SPECNODE
|
static int |
STRING_ENUMERATION_SPECNODE
|
static int |
STRING_SPECNODE
|
static int |
THUMBNAIL_IMAGE_SPECNODE
|
static int |
THUMBNAIL_IMAGE_URL_SPECNODE
|
static int |
TIMEZONE_SPECNODE
|
static int |
URL_SPECNODE
|
Method Summary | |
---|---|
java.util.Map |
getAllDisplayNames()
Returns display name for each of the selected Locale for the spec in form of Map |
java.util.Collection |
getChildren()
Returns the children of this SpecNode |
java.lang.String |
getDisplayName()
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)
Returns displayname for particular Locale. |
int |
getMaxOccurrence()
Returns the value of the MAX_OCCURRENCE attribute of this SpecNode |
int |
getMinOccurrence()
Returns the value of the MIN_OCCURRENCE attribute of this SpecNode |
java.lang.String |
getName()
gives name of the specnode. |
SpecNode |
getParent()
Return the parent SpecNode of this SpecNode, if applicable |
java.lang.String |
getPath()
Returns the complete path of this SpecNode in the format SpecName/SpecNodeName |
java.util.Collection |
getSpecNodeAttributes()
Retrieve attributes of this SpecNode (both required and optional attributes) |
java.util.Collection |
getSpecNodeOptionalAttributes()
Retrieve attributes of this SpecNode (optional attributes only) |
java.util.Collection |
getSpecNodeRequiredAttributes()
Retrieve attributes of this SpecNode (required attributes only) |
int |
getType()
Returns the type of this SpecNode. |
boolean |
isGrouping()
Determine whether this is a Grouping SpecNode |
boolean |
isLeaf()
Determine whether this is a leaf SpecNode |
boolean |
isPrimaryKey()
Determine whether this is a PrimaryKey node |
boolean |
isSubSpecNode()
Determine whether this node is part of a SubSpec rather than a top level Spec |
Field Detail |
---|
static final java.lang.String copyright
static final int BINARY_SPECNODE
static final int CATEGORY_SPECNODE
static final int CURRENCY_SPECNODE
static final int DATE_SPECNODE
static final int TIMEZONE_SPECNODE
static final int FLAG_SPECNODE
static final int GROUPING_SPECNODE
static final int IMAGE_SPECNODE
static final int IMAGE_URL_SPECNODE
static final int INTEGER_SPECNODE
static final int LOOKUP_TABLE_SPECNODE
static final int NUMBER_SPECNODE
static final int NUMBER_ENUMERATION_SPECNODE
static final int PASSWORD_SPECNODE
static final int RELATIONSHIP_SPECNODE
static final int SEQUENCE_SPECNODE
static final int STRING_SPECNODE
static final int STRING_ENUMERATION_SPECNODE
static final int THUMBNAIL_IMAGE_SPECNODE
static final int THUMBNAIL_IMAGE_URL_SPECNODE
static final int URL_SPECNODE
static final int LONG_TEXT_SPECNODE
Method Detail |
---|
int getType()
java.util.Collection getChildren()
SpecNode getParent()
java.lang.String getName()
java.lang.String getDisplayName()
getName()
getName()
java.util.Map getAllDisplayNames()
Locale
and
value=corresponding locale value. If node is not localized it
will return empty Mapjava.lang.String getDisplayNameForLocale(java.util.Locale locale)
locale
- locale for which display name needs to be retrived
java.lang.String getPath()
int getMaxOccurrence()
int getMinOccurrence()
boolean isGrouping()
boolean isLeaf()
boolean isPrimaryKey()
boolean isSubSpecNode()
java.util.Collection getSpecNodeAttributes()
java.util.Collection getSpecNodeRequiredAttributes()
java.util.Collection getSpecNodeOptionalAttributes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |