public class ServerProperty extends ServerItem implements RemoteProperty
Property
interface. This class makes a local property available as an RMI service
using the
RemoteProperty
interface.javax.jcr.Property,
RemoteProperty,
Serialized Form| Constructor and Description |
|---|
ServerProperty(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. |
Value |
getValue()
Remote version of the
Property.getValue() method. |
Value[] |
getValues()
Remote version of the
Property.getValues() method. |
void |
setValue(Value value)
Remote version of the
Property.setValue(Value)
method. |
void |
setValue(Value[] values)
Remote version of the
Property.setValue(Value)
method. |
getAncestor, getDepth, getName, getParent, getPath, isModified, isNew, refresh, remove, saveclone, exportObject, exportObject, exportObject, unexportObjectequals, getRef, hashCode, toString, toStubgetAncestor, getDepth, getName, getParent, getPath, isModified, isNew, refresh, remove, savepublic ServerProperty(Property property,
RemoteAdapterFactory factory)
throws java.rmi.RemoteException
property - local propertyfactory - remote adapter factoryjava.rmi.RemoteException - on RMI errorspublic Value getValue()
throws RepositoryException,
java.rmi.RemoteException
Property.getValue() method.getValue in interface RemotePropertyRepositoryException - on repository errorsjava.rmi.RemoteException - on RMI errorspublic Value[] getValues()
throws RepositoryException,
java.rmi.RemoteException
Property.getValues() method.getValues in interface RemotePropertyRepositoryException - on repository errorsjava.rmi.RemoteException - on RMI errorspublic void setValue(Value value)
throws RepositoryException,
java.rmi.RemoteException
Property.setValue(Value)
method.setValue in interface RemotePropertyvalue - property valueRepositoryException - on repository errorsjava.rmi.RemoteException - on RMI errorspublic void setValue(Value[] values)
throws RepositoryException,
java.rmi.RemoteException
Property.setValue(Value)
method.setValue in interface RemotePropertyvalues - property valueRepositoryException - on repository errorsjava.rmi.RemoteException - on RMI errorspublic long getLength()
throws RepositoryException,
java.rmi.RemoteException
Property.getLength()
method.getLength in interface RemotePropertyRepositoryException - on repository errorsjava.rmi.RemoteException - on RMI errorspublic long[] getLengths()
throws RepositoryException,
java.rmi.RemoteException
Property.getLengths()
method.getLengths in interface RemotePropertyRepositoryException - on repository errorsjava.rmi.RemoteException - on RMI errorspublic RemotePropertyDefinition getDefinition() throws RepositoryException, java.rmi.RemoteException
Property.getDefinition()
method.getDefinition in interface RemotePropertyRepositoryException - on repository errorsjava.rmi.RemoteException - on RMI errorspublic int getType()
throws RepositoryException,
java.rmi.RemoteException
Property.getType() method.getType in interface RemotePropertyRepositoryException - on repository errorsjava.rmi.RemoteException - on RMI errors"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"