public class ServerPropertyDefinition extends ServerItemDefinition implements RemotePropertyDefinition
PropertyDefinition
interface. This
class makes a local property definition available as an RMI service
using the
RemotePropertyDefinition
interface.PropertyDefinition
,
RemotePropertyDefinition
,
Serialized Formref
Constructor and Description |
---|
ServerPropertyDefinition(javax.jcr.nodetype.PropertyDefinition def,
RemoteAdapterFactory factory)
Creates a remote adapter for the given local property definition.
|
Modifier and Type | Method and Description |
---|---|
String[] |
getAvailableQueryOperators()
Remote version of the
PropertyDefinition.getAvailableQueryOperators()
method. |
javax.jcr.Value[] |
getDefaultValues()
Remote version of the
PropertyDefinition.getDefaultValues()
method. |
int |
getRequiredType()
Remote version of the
PropertyDefinition.getRequiredType()
method. |
String[] |
getValueConstraints()
Remote version of the
PropertyDefinition.getValueConstraints()
method. |
boolean |
isFullTextSearchable()
Remote version of the
PropertyDefinition.isFullTextSearchable()
method. |
boolean |
isMultiple()
Remote version of the
PropertyDefinition.isMultiple()
method. |
boolean |
isQueryOrderable()
Remote version of the
PropertyDefinition.isQueryOrderable()
method. |
getDeclaringNodeType, getName, getOnParentVersion, isAutoCreated, isMandatory, isProtected
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
getDeclaringNodeType, getName, getOnParentVersion, isAutoCreated, isMandatory, isProtected
public ServerPropertyDefinition(javax.jcr.nodetype.PropertyDefinition def, RemoteAdapterFactory factory) throws RemoteException
def
- local property definitionfactory
- remote adapter factoryRemoteException
- on RMI errorspublic int getRequiredType() throws RemoteException
PropertyDefinition.getRequiredType()
method.getRequiredType
in interface RemotePropertyDefinition
RemoteException
- on RMI errorspublic String[] getValueConstraints() throws RemoteException
PropertyDefinition.getValueConstraints()
method.getValueConstraints
in interface RemotePropertyDefinition
RemoteException
- on RMI errorspublic javax.jcr.Value[] getDefaultValues() throws RemoteException
PropertyDefinition.getDefaultValues()
method.getDefaultValues
in interface RemotePropertyDefinition
RemoteException
- on RMI errorspublic boolean isMultiple() throws RemoteException
PropertyDefinition.isMultiple()
method.isMultiple
in interface RemotePropertyDefinition
true
if the property is multi-valued,
false
otherwiseRemoteException
- on RMI errorspublic String[] getAvailableQueryOperators() throws RemoteException
PropertyDefinition.getAvailableQueryOperators()
method.getAvailableQueryOperators
in interface RemotePropertyDefinition
RemoteException
- on RMI errorspublic boolean isFullTextSearchable() throws RemoteException
PropertyDefinition.isFullTextSearchable()
method.isFullTextSearchable
in interface RemotePropertyDefinition
RemoteException
- on RMI errorspublic boolean isQueryOrderable() throws RemoteException
PropertyDefinition.isQueryOrderable()
method.isQueryOrderable
in interface RemotePropertyDefinition
RemoteException
- on RMI errorsCopyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.