Remote adapter for the JCR ItemDefinition
interface. This class makes a local item definition available as an
RMI service using the
RemoteItemDefinition
interface. Used mainly as the base class for the
ServerPropertyDefinition
and
ServerNodeDefinition
adapters.
@Deprecated public class ServerItemDefinition extends ServerObject implements RemoteItemDefinition
ItemDefinition
,
RemoteItemDefinition
,
Serialized Formref
Constructor and Description |
---|
ServerItemDefinition(ItemDefinition def,
RemoteAdapterFactory factory)
Deprecated.
Creates a remote adapter for the given local item definition.
|
Modifier and Type | Method and Description |
---|---|
RemoteNodeType |
getDeclaringNodeType()
Deprecated.
Remote version of the
ItemDef.getDeclaringNodeType()
method. |
String |
getName()
Deprecated.
Remote version of the
ItemDef.getName() method. |
int |
getOnParentVersion()
Deprecated.
Remote version of the
ItemDef.getOnParentVersion()
method. |
boolean |
isAutoCreated()
Deprecated.
Remote version of the
ItemDef.isAutoCreate()
method. |
boolean |
isMandatory()
Deprecated.
Remote version of the
ItemDef.isMandatory()
method. |
boolean |
isProtected()
Deprecated.
Remote version of the
ItemDef.isProtected()
method. |
getFactory, getRemoteItem, getRemoteNode, getRemoteNodeTypeArray, getRepositoryException, getSerialValue, getSerialValues
clone, exportObject, exportObject, exportObject, unexportObject
getClientHost, getLog, setLog
public ServerItemDefinition(ItemDefinition def, RemoteAdapterFactory factory) throws RemoteException
def
- local item definitionfactory
- remote adapter factoryRemoteException
- on RMI errorspublic RemoteNodeType getDeclaringNodeType() throws RemoteException
ItemDef.getDeclaringNodeType()
method.getDeclaringNodeType
in interface RemoteItemDefinition
RemoteException
- on RMI errorspublic String getName() throws RemoteException
ItemDef.getName()
method.getName
in interface RemoteItemDefinition
RemoteException
- on RMI errorspublic boolean isAutoCreated() throws RemoteException
ItemDef.isAutoCreate()
method.isAutoCreated
in interface RemoteItemDefinition
true
if the item is automatically created,
false
otherwiseRemoteException
- on RMI errorspublic boolean isMandatory() throws RemoteException
ItemDef.isMandatory()
method.isMandatory
in interface RemoteItemDefinition
true
if the item is mandatory,
false
otherwiseRemoteException
- on RMI errorspublic int getOnParentVersion() throws RemoteException
ItemDef.getOnParentVersion()
method.getOnParentVersion
in interface RemoteItemDefinition
RemoteException
- on RMI errorspublic boolean isProtected() throws RemoteException
ItemDef.isProtected()
method.isProtected
in interface RemoteItemDefinition
true
if the item is protected,
false
otherwiseRemoteException
- on RMI errorsCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.