Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
Set<String> |
getAllMixinTypes()
Gets the mixins.
|
CollectionProperty |
getCollectionProperty(String name)
Gets a collection property from the node, given its name.
|
Serializable |
getId()
Gets the node unique id, usually a Long or a String.
|
String[] |
getMixinTypes()
Gets the instance mixins.
|
String |
getName() |
Serializable |
getParentId() |
String |
getPath()
Gets the path that was assigned at
Node construction time. |
Long |
getPos() |
String |
getPrimaryType() |
SimpleProperty |
getSimpleProperty(String name)
Gets a simple property from the node, given its name.
|
int |
hashCode() |
boolean |
hasMixinType(String mixin)
Checks the mixins.
|
boolean |
isProxy() |
boolean |
isVersion() |
void |
setCollectionProperty(String name,
Serializable[] value) |
void |
setSimpleProperty(String name,
Serializable value) |
String |
toString() |
public Serializable getId()
public String getName()
public Long getPos()
public String getPrimaryType()
public Serializable getParentId()
public String getPath()
Node
construction time. Then it's reset to null
. Should only
be used once.null
for unknownpublic boolean isVersion()
public boolean isProxy()
public String[] getMixinTypes()
Never returns null
.
public Set<String> getAllMixinTypes()
public boolean hasMixinType(String mixin)
public SimpleProperty getSimpleProperty(String name) throws StorageException
name
- the property nameIllegalArgumentException
- if the name is invalidStorageException
public CollectionProperty getCollectionProperty(String name) throws StorageException
name
- the property nameIllegalArgumentException
- if the name is invalidStorageException
public void setSimpleProperty(String name, Serializable value) throws StorageException
StorageException
public void setCollectionProperty(String name, Serializable[] value) throws StorageException
StorageException
Copyright © 2015 Nuxeo SA. All rights reserved.