|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ItemDef
ItemDef is the internal representation of
an item definition. It refers to Names only
and is thus isolated from session-specific namespace mappings.
ItemDefinition| Field Summary | |
|---|---|
static Name |
ANY_NAME
The special wildcard name used as the name of residual item definitions. |
static ItemDef[] |
EMPTY_ARRAY
|
| Method Summary | |
|---|---|
boolean |
definesNode()
Determines whether this item definition defines a node. |
boolean |
definesResidual()
Determines whether this item definition defines a residual set of child items. |
Name |
getDeclaringNodeType()
Gets the name of the declaring node type. |
Name |
getName()
Gets the name of the child item. |
int |
getOnParentVersion()
Gets the 'onParentVersion' attribute of the item. |
boolean |
isAutoCreated()
Determines whether the item is 'autoCreated'. |
boolean |
isMandatory()
Determines whether the item is 'mandatory'. |
boolean |
isProtected()
Determines whether the item is 'protected'. |
| Field Detail |
|---|
static final ItemDef[] EMPTY_ARRAY
static final Name ANY_NAME
| Method Detail |
|---|
Name getName()
Name getDeclaringNodeType()
boolean isAutoCreated()
int getOnParentVersion()
boolean isProtected()
boolean isMandatory()
boolean definesResidual()
getName().equals(ANY_NAME).
true if this definition defines a residual set;
false otherwise.boolean definesNode()
true if this is a node definition;
false otherwise (i.e. it is a property definition).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||