public class ServerProperty extends ServerItem implements RemoteProperty
Property
interface. This class makes a local property available as an RMI service
using the
RemoteProperty
interface.Property
,
RemoteProperty
,
Serialized Formref
Constructor and Description |
---|
ServerProperty(javax.jcr.Property property,
RemoteAdapterFactory factory)
Creates a remote adapter for the given local property.
|
Modifier and Type | Method and Description |
---|---|
RemotePropertyDefinition |
getDefinition()
Remote version of the
Property.getDefinition()
method. |
long |
getLength()
Remote version of the
Property.getLength()
method. |
long[] |
getLengths()
Remote version of the
Property.getLengths()
method. |
int |
getType()
Remote version of the
Property.getType() method. |
javax.jcr.Value |
getValue()
Remote version of the
Property.getValue() method. |
javax.jcr.Value[] |
getValues()
Remote version of the
Property.getValues() method. |
void |
setValue(javax.jcr.Value value)
Remote version of the
Property.setValue(Value)
method. |
void |
setValue(javax.jcr.Value[] values)
Remote version of the
Property.setValue(Value[])
method. |
getAncestor, getDepth, getName, getParent, getPath, isModified, isNew, refresh, remove, save
getFactory, getRemoteItem, getRemoteNode, getRemoteNodeTypeArray, getRepositoryException, getSerialValue, getSerialValues
clone, exportObject, exportObject, exportObject, unexportObject
getClientHost, getLog, setLog
equals, getRef, hashCode, toString, toStub
finalize, getClass, notify, notifyAll, wait, wait, wait
getAncestor, getDepth, getName, getParent, getPath, isModified, isNew, refresh, remove, save
public ServerProperty(javax.jcr.Property property, RemoteAdapterFactory factory) throws RemoteException
property
- local propertyfactory
- remote adapter factoryRemoteException
- on RMI errorspublic javax.jcr.Value getValue() throws javax.jcr.RepositoryException, RemoteException
Property.getValue()
method.getValue
in interface RemoteProperty
javax.jcr.RepositoryException
- on repository errorsRemoteException
- on RMI errorspublic javax.jcr.Value[] getValues() throws javax.jcr.RepositoryException, RemoteException
Property.getValues()
method.getValues
in interface RemoteProperty
javax.jcr.RepositoryException
- on repository errorsRemoteException
- on RMI errorspublic void setValue(javax.jcr.Value value) throws javax.jcr.RepositoryException, RemoteException
Property.setValue(Value)
method.setValue
in interface RemoteProperty
value
- property valuejavax.jcr.RepositoryException
- on repository errorsRemoteException
- on RMI errorspublic void setValue(javax.jcr.Value[] values) throws javax.jcr.RepositoryException, RemoteException
Property.setValue(Value[])
method.setValue
in interface RemoteProperty
values
- property valuesjavax.jcr.RepositoryException
- on repository errorsRemoteException
- on RMI errorspublic long getLength() throws javax.jcr.RepositoryException, RemoteException
Property.getLength()
method.getLength
in interface RemoteProperty
javax.jcr.RepositoryException
- on repository errorsRemoteException
- on RMI errorspublic long[] getLengths() throws javax.jcr.RepositoryException, RemoteException
Property.getLengths()
method.getLengths
in interface RemoteProperty
javax.jcr.RepositoryException
- on repository errorsRemoteException
- on RMI errorspublic RemotePropertyDefinition getDefinition() throws javax.jcr.RepositoryException, RemoteException
Property.getDefinition()
method.getDefinition
in interface RemoteProperty
javax.jcr.RepositoryException
- on repository errorsRemoteException
- on RMI errorspublic int getType() throws javax.jcr.RepositoryException, RemoteException
Property.getType()
method.getType
in interface RemoteProperty
javax.jcr.RepositoryException
- on repository errorsRemoteException
- on RMI errorsCopyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.