|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.dna.connector.store.jpa.model.basic.PropertiesEntity
public class PropertiesEntity
Represents the packed properties of a single node. Node that the object has the node's identifier and the packed properties,
but nothing else. The PropertiesEntity doesn't even have the name. This is because this class is used to read, modify, and save
the properties of a node. Finding a node by its name or working with the children, however, requires working with the
node children
.
Constructor Summary | |
---|---|
PropertiesEntity()
|
|
PropertiesEntity(NodeId id)
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
byte[] |
getData()
Get the data that represents the packed properties. |
NodeId |
getId()
Get the node's identifier. |
Collection<LargeValueId> |
getLargeValues()
|
int |
getPropertyCount()
|
int |
hashCode()
|
boolean |
isCompressed()
|
boolean |
isReferentialIntegrityEnforced()
|
void |
setCompressed(boolean compressed)
|
void |
setData(byte[] data)
Set the data that represents the packed properties. |
void |
setId(NodeId id)
Set the node's identifier. |
void |
setPropertyCount(int propertyCount)
|
void |
setReferentialIntegrityEnforced(boolean referentialIntegrityEnforced)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PropertiesEntity()
public PropertiesEntity(NodeId id)
Method Detail |
---|
public NodeId getId()
public void setId(NodeId id)
id
- the new identifier for the nodepublic byte[] getData()
packed
properties.
public void setData(byte[] data)
packed
properties.
data
- the raw data representing the propertiespublic int getPropertyCount()
public void setPropertyCount(int propertyCount)
propertyCount
- Sets propertyCount to the specified value.public boolean isCompressed()
public void setCompressed(boolean compressed)
compressed
- Sets compressed to the specified value.public Collection<LargeValueId> getLargeValues()
public boolean isReferentialIntegrityEnforced()
public void setReferentialIntegrityEnforced(boolean referentialIntegrityEnforced)
referentialIntegrityEnforced
- Sets referentialIntegrityEnforced to the specified value.public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public String toString()
toString
in class Object
Object.toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |