public static class NodePropBundle.PropertyEntry extends Object
Constructor and Description |
---|
PropertyEntry(PropertyId id)
Creates a new property entry with the given id.
|
PropertyEntry(PropertyState state)
Creates a new property entry and initialized it with values from
the given property state.
|
Modifier and Type | Method and Description |
---|---|
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() |
public PropertyEntry(PropertyId id)
id
- the idpublic PropertyEntry(PropertyState state)
state
- the source property state.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 idpublic 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 countCopyright © 2004–2021 The Apache Software Foundation. All rights reserved.