|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NodeInfo
A representation of a node. This is the information that is kept in the cache.
Method Summary | |
---|---|
Children |
getChildren()
Get the children for this node. |
NodeDefinitionId |
getDefinitionId()
|
List<Name> |
getMixinTypeNames()
Get the names of the mixin types for this node. |
Location |
getOriginalLocation()
|
UUID |
getParent()
|
Name |
getPrimaryTypeName()
|
PropertyInfo |
getProperty(Name name)
Get this node's property that has the supplied name. |
int |
getPropertyCount()
Return the number of properties on this node. |
Set<Name> |
getPropertyNames()
Get the names of the properties that are owned by this node. |
UUID |
getUuid()
|
boolean |
hasProperties()
Return true of this node has at least one property. |
boolean |
isModified()
Indicates whether the node represented by this NodeInfo is modified (i.e., exists in the persistent repository with
different child items). |
boolean |
isNew()
Indicates whether the node represented by this NodeInfo is new (i.e., does not yet exist in the persistent
repository). |
Method Detail |
---|
Location getOriginalLocation()
UUID getUuid()
UUID getParent()
Name getPrimaryTypeName()
List<Name> getMixinTypeNames()
NodeDefinitionId getDefinitionId()
Children getChildren()
boolean hasProperties()
int getPropertyCount()
Set<Name> getPropertyNames()
PropertyInfo getProperty(Name name)
name
- the property name; may not be null
boolean isNew()
NodeInfo
is new (i.e., does not yet exist in the persistent
repository).
true
if the node represented by this NodeInfo
has not yet been saved to the persistent repository.Item.isNew()
boolean isModified()
NodeInfo
is modified (i.e., exists in the persistent repository with
different child items).
true
if the immediate child items of the node represented by this NodeInfo
have been modified since
the last time the node was saved to the persistent repositoryItem.isModified()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |