Class VirtualPropertyState
- java.lang.Object
-
- org.apache.jackrabbit.core.state.ItemState
-
- org.apache.jackrabbit.core.state.PropertyState
-
- org.apache.jackrabbit.core.virtual.VirtualPropertyState
-
public class VirtualPropertyState extends PropertyState
This Class implements a virtual property state
-
-
Field Summary
-
Fields inherited from class org.apache.jackrabbit.core.state.ItemState
overlayedState, status, STATUS_EXISTING, STATUS_EXISTING_MODIFIED, STATUS_EXISTING_REMOVED, STATUS_NEW, STATUS_STALE_DESTROYED, STATUS_UNDEFINED
-
-
Constructor Summary
Constructors Constructor Description VirtualPropertyState(PropertyId id)
Creates a new virtual property state
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VirtualValueProvider
getValueProvider()
Returns the virtual value provider, if registered.InternalValue[]
getValues()
Returns the value of this state evt.void
setValueProvider(VirtualValueProvider valueProvider)
Sets a virtual value provider for this property-
Methods inherited from class org.apache.jackrabbit.core.state.PropertyState
calculateMemoryFootprint, copy, getId, getName, getParentId, getPropertyId, getType, isMultiValued, isNode, setMultiValued, setType, setValues
-
Methods inherited from class org.apache.jackrabbit.core.state.ItemState
connect, discard, disconnect, getContainer, getModCount, getOverlayedState, getStatus, hasOverlayedState, isConnected, isStale, isTransient, notifyStateCreated, notifyStateDestroyed, notifyStateDiscarded, notifyStateUpdated, reconnect, setContainer, setModCount, setStatus
-
-
-
-
Constructor Detail
-
VirtualPropertyState
public VirtualPropertyState(PropertyId id)
Creates a new virtual property state- Parameters:
id
-
-
-
Method Detail
-
getValueProvider
public VirtualValueProvider getValueProvider()
Returns the virtual value provider, if registered.- Returns:
- the virtual value provider
-
setValueProvider
public void setValueProvider(VirtualValueProvider valueProvider)
Sets a virtual value provider for this property- Parameters:
valueProvider
-
-
getValues
public InternalValue[] getValues()
Returns the value of this state evt. by using the registered virtual value provider.- Overrides:
getValues
in classPropertyState
- Returns:
- the values
-
-