|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jackrabbit.core.persistence.util.NodePropBundle.PropertyEntry
public static class NodePropBundle.PropertyEntry
Helper class for a property enrty
Constructor Summary | |
---|---|
NodePropBundle.PropertyEntry(PropertyId id)
Creates a new property entry with the given id. |
|
NodePropBundle.PropertyEntry(PropertyState state)
Creates a new property entry and initialized it with values from the given property state. |
Method Summary | |
---|---|
boolean |
equals(Object object)
|
String |
getBlobId(int n)
Returns the nth blob id. |
PropertyId |
getId()
Returns the property id. |
short |
getModCount()
Returns the mod count. |
Name |
getName()
Returns the property name |
int |
getType()
Returns the type. |
InternalValue[] |
getValues()
Retruns the internal values |
boolean |
isMultiValued()
Returns the multivalued flag. |
void |
setBlobId(String blobId,
int n)
Sets the nth blobid |
void |
setBlobIds(String[] blobIds)
Sets the blob ids |
void |
setModCount(short modCount)
Sets the mod count |
void |
setMultiValued(boolean multiValued)
Sets the multivalued flag. |
void |
setType(int type)
Sets the type |
void |
setValues(InternalValue[] values)
Sets the internal values. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NodePropBundle.PropertyEntry(PropertyId id)
id
- the idpublic NodePropBundle.PropertyEntry(PropertyState state)
state
- the source property state.Method Detail |
---|
public PropertyId getId()
public Name getName()
public InternalValue[] getValues()
public void setValues(InternalValue[] values)
values
- the internal values.public int getType()
public void setType(int type)
type
- the typepublic boolean isMultiValued()
public void setMultiValued(boolean multiValued)
multiValued
- the multivalued flagpublic String getBlobId(int n)
n
- the index of the blob id
public void setBlobIds(String[] blobIds)
blobIds
- the blobidspublic void setBlobId(String blobId, int n)
blobId
- the blob idn
- the index of the blob idpublic short getModCount()
public void setModCount(short modCount)
modCount
- the mod countpublic String toString()
toString
in class Object
public boolean equals(Object object)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |