org.apache.jackrabbit.core.virtual
Class VirtualPropertyState
java.lang.Object
org.apache.jackrabbit.core.state.ItemState
org.apache.jackrabbit.core.state.PropertyState
org.apache.jackrabbit.core.virtual.VirtualPropertyState
- All Implemented Interfaces:
- ItemStateListener, Serializable
- public class VirtualPropertyState
- extends PropertyState
This Class implements a virtual property state
- See Also:
- Serialized Form
Fields inherited from class org.apache.jackrabbit.core.state.ItemState |
id, overlayedState, parentUUID, status, STATUS_EXISTING, STATUS_EXISTING_MODIFIED, STATUS_EXISTING_REMOVED, STATUS_NEW, STATUS_STALE_DESTROYED, STATUS_STALE_MODIFIED, STATUS_UNDEFINED |
Methods inherited from class org.apache.jackrabbit.core.state.ItemState |
addListener, connect, discard, disconnect, getId, getOverlayedState, getParentUUID, getStatus, hasOverlayedState, isStale, isTransient, notifyStateCreated, notifyStateDestroyed, notifyStateDiscarded, notifyStateUpdated, reconnect, removeListener, setParentUUID, setStatus, stateCreated, stateDestroyed, stateDiscarded, stateModified |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VirtualPropertyState
public VirtualPropertyState(QName name,
String parentUUID)
- Creates a new virtual property state
- Parameters:
name
- parentUUID
-
getValueProvider
public VirtualValueProvider getValueProvider()
- Returns the virtual value provider, if registered.
- Returns:
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 class PropertyState
- Returns:
Copyright © 2004-2005 The Apache Software Foundation. All Rights Reserved.