|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.core.cluster.ItemOperation
org.apache.jackrabbit.core.cluster.PropertyModifiedOperation
public class PropertyModifiedOperation
Describes a journal operation for a property modification.
Field Summary |
---|
Fields inherited from class org.apache.jackrabbit.core.cluster.ItemOperation |
---|
ADDED, DELETED, MODIFIED |
Method Summary | |
---|---|
void |
apply(ChangeLog changeLog)
Apply an operation to a change log. |
static org.apache.jackrabbit.core.cluster.PropertyOperation |
create(int operationType)
Creates a new instance of a known subclass. |
static org.apache.jackrabbit.core.cluster.PropertyOperation |
create(PropertyState state)
Create a property record for a modified property. |
PropDefId |
getDefinitionId()
Return the definition id. |
PropertyId |
getId()
Return the property id. |
int |
getType()
Return the type. |
InternalValue[] |
getValues()
Return the values. |
boolean |
hasDefinitionId()
Return a flag indicating whether the definiton id is contained in this record. |
boolean |
hasId()
Return a flag indicating whether the property id is contained in this record. |
boolean |
hasMultiValued()
Return a flag indicating whether the multivalued flag is contained in this record. |
boolean |
hasType()
Return a flag indicating whether the type is contained. |
boolean |
hasValues()
Return a flag indicating whether the values contained in this record. |
boolean |
isMultiValued()
Return the multivalued flag. |
void |
setDefinitionId(PropDefId definitionId)
Set the definition id. |
void |
setId(PropertyId id)
Set the property id. |
void |
setMultiValued(boolean multiValued)
Set the multivalued flag. |
void |
setType(int type)
Set the type. |
void |
setValues(InternalValue[] values)
Set the values. |
Methods inherited from class org.apache.jackrabbit.core.cluster.ItemOperation |
---|
getOperationType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static org.apache.jackrabbit.core.cluster.PropertyOperation create(PropertyState state)
state
- property state
public void apply(ChangeLog changeLog)
apply
in class ItemOperation
changeLog
- change logpublic static org.apache.jackrabbit.core.cluster.PropertyOperation create(int operationType)
operationType
- operation type
public boolean hasDefinitionId()
true
if the definition id is contained;
false
otherwise.public PropDefId getDefinitionId()
public void setDefinitionId(PropDefId definitionId)
definitionId
- definition idpublic boolean hasId()
true
if the property id is contained;
false
otherwise.public PropertyId getId()
public void setId(PropertyId id)
id
- property idpublic boolean hasMultiValued()
true
if the multivalued flag is contained;
false
otherwise.public boolean isMultiValued()
public void setMultiValued(boolean multiValued)
multiValued
- multivalued flagpublic boolean hasType()
true
if the type is contained;
false
otherwise.public int getType()
public void setType(int type)
type
- typepublic boolean hasValues()
true
if the values contained contained;
false
otherwise.public InternalValue[] getValues()
public void setValues(InternalValue[] values)
values
- values
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |