|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public static final java.lang.String copyright
public static final int BINARY_SPECNODE
public static final int CATEGORY_SPECNODE
public static final int CURRENCY_SPECNODE
public static final int DATE_SPECNODE
public static final int TIMEZONE_SPECNODE
public static final int FLAG_SPECNODE
public static final int GROUPING_SPECNODE
public static final int IMAGE_SPECNODE
public static final int IMAGE_URL_SPECNODE
public static final int INTEGER_SPECNODE
public static final int LOOKUP_TABLE_SPECNODE
public static final int NUMBER_SPECNODE
public static final int NUMBER_ENUMERATION_SPECNODE
public static final int PASSWORD_SPECNODE
public static final int RELATIONSHIP_SPECNODE
public static final int SEQUENCE_SPECNODE
public static final int STRING_SPECNODE
public static final int STRING_ENUMERATION_SPECNODE
public static final int THUMBNAIL_IMAGE_SPECNODE
public static final int THUMBNAIL_IMAGE_URL_SPECNODE
public static final int URL_SPECNODE
public static final int LONG_TEXT_SPECNODE
Method Detail |
public int getType()
public java.util.Collection getChildren()
public SpecNode getParent()
public java.lang.String getName()
public java.lang.String getDisplayName()
getName()
getName()
public java.util.Map getAllDisplayNames()
Locale
and
value=corresponding locale value. If node is not localized it
will return empty Mappublic java.lang.String getDisplayNameForLocale(java.util.Locale locale)
locale
- locale for which display name needs to be retrived
public java.lang.String getPath()
public int getMaxOccurrence()
public int getMinOccurrence()
public boolean isGrouping()
public boolean isLeaf()
public boolean isPrimaryKey()
public boolean isSubSpecNode()
public java.util.Collection getSpecNodeAttributes()
public java.util.Collection getSpecNodeRequiredAttributes()
public java.util.Collection getSpecNodeOptionalAttributes()
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |