Remote adapter for the JCR Property
interface. This class makes a local property available as an RMI service
using the
RemoteProperty
interface.
@Deprecated public class ServerProperty extends ServerItem implements RemoteProperty
Property
,
RemoteProperty
,
Serialized Formref
Constructor and Description |
---|
ServerProperty(Property property,
RemoteAdapterFactory factory)
Deprecated.
Creates a remote adapter for the given local property.
|
Modifier and Type | Method and Description |
---|---|
RemotePropertyDefinition |
getDefinition()
Deprecated.
Remote version of the
Property.getDefinition()
method. |
long |
getLength()
Deprecated.
Remote version of the
Property.getLength()
method. |
long[] |
getLengths()
Deprecated.
Remote version of the
Property.getLengths()
method. |
int |
getType()
Deprecated.
Remote version of the
Property.getType() method. |
Value |
getValue()
Deprecated.
Remote version of the
Property.getValue() method. |
Value[] |
getValues()
Deprecated.
Remote version of the
Property.getValues() method. |
void |
setValue(Value value)
Deprecated.
Remote version of the
Property.setValue(Value)
method. |
void |
setValue(Value[] values)
Deprecated.
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(Property property, RemoteAdapterFactory factory) throws RemoteException
property
- local propertyfactory
- remote adapter factoryRemoteException
- on RMI errorspublic Value getValue() throws RepositoryException, RemoteException
Property.getValue()
method.getValue
in interface RemoteProperty
RepositoryException
- on repository errorsRemoteException
- on RMI errorspublic Value[] getValues() throws RepositoryException, RemoteException
Property.getValues()
method.getValues
in interface RemoteProperty
RepositoryException
- on repository errorsRemoteException
- on RMI errorspublic void setValue(Value value) throws RepositoryException, RemoteException
Property.setValue(Value)
method.setValue
in interface RemoteProperty
value
- property valueRepositoryException
- on repository errorsRemoteException
- on RMI errorspublic void setValue(Value[] values) throws RepositoryException, RemoteException
Property.setValue(Value[])
method.setValue
in interface RemoteProperty
values
- property valuesRepositoryException
- on repository errorsRemoteException
- on RMI errorspublic long getLength() throws RepositoryException, RemoteException
Property.getLength()
method.getLength
in interface RemoteProperty
RepositoryException
- on repository errorsRemoteException
- on RMI errorspublic long[] getLengths() throws RepositoryException, RemoteException
Property.getLengths()
method.getLengths
in interface RemoteProperty
RepositoryException
- on repository errorsRemoteException
- on RMI errorspublic RemotePropertyDefinition getDefinition() throws RepositoryException, RemoteException
Property.getDefinition()
method.getDefinition
in interface RemoteProperty
RepositoryException
- on repository errorsRemoteException
- on RMI errorspublic int getType() throws RepositoryException, RemoteException
Property.getType()
method.getType
in interface RemoteProperty
RepositoryException
- on repository errorsRemoteException
- on RMI errorsCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.