public class ServerItemDefinition extends ServerObject implements RemoteItemDefinition
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.javax.jcr.nodetype.ItemDefinition,
RemoteItemDefinition,
Serialized Form| Constructor and Description |
|---|
ServerItemDefinition(ItemDefinition def,
RemoteAdapterFactory factory)
Creates a remote adapter for the given local item definition.
|
| Modifier and Type | Method and Description |
|---|---|
RemoteNodeType |
getDeclaringNodeType()
Remote version of the
ItemDef.getDeclaringNodeType()
method. |
java.lang.String |
getName()
Remote version of the
ItemDef.getName() method. |
int |
getOnParentVersion()
Remote version of the
ItemDef.getOnParentVersion()
method. |
boolean |
isAutoCreated()
Remote version of the
ItemDef.isAutoCreate()
method. |
boolean |
isMandatory()
Remote version of the
ItemDef.isMandatory()
method. |
boolean |
isProtected()
Remote version of the
ItemDef.isProtected()
method. |
clone, exportObject, exportObject, exportObject, unexportObjectpublic ServerItemDefinition(ItemDefinition def,
RemoteAdapterFactory factory)
throws java.rmi.RemoteException
def - local item definitionfactory - remote adapter factoryjava.rmi.RemoteException - on RMI errorspublic RemoteNodeType getDeclaringNodeType() throws java.rmi.RemoteException
ItemDef.getDeclaringNodeType()
method.getDeclaringNodeType in interface RemoteItemDefinitionjava.rmi.RemoteException - on RMI errorspublic java.lang.String getName()
throws java.rmi.RemoteException
ItemDef.getName() method.getName in interface RemoteItemDefinitionjava.rmi.RemoteException - on RMI errorspublic boolean isAutoCreated()
throws java.rmi.RemoteException
ItemDef.isAutoCreate()
method.isAutoCreated in interface RemoteItemDefinitiontrue if the item is automatically created,
false otherwisejava.rmi.RemoteException - on RMI errorspublic boolean isMandatory()
throws java.rmi.RemoteException
ItemDef.isMandatory()
method.isMandatory in interface RemoteItemDefinitiontrue if the item is mandatory,
false otherwisejava.rmi.RemoteException - on RMI errorspublic int getOnParentVersion()
throws java.rmi.RemoteException
ItemDef.getOnParentVersion()
method.getOnParentVersion in interface RemoteItemDefinitionjava.rmi.RemoteException - on RMI errorspublic boolean isProtected()
throws java.rmi.RemoteException
ItemDef.isProtected()
method.isProtected in interface RemoteItemDefinitiontrue if the item is protected,
false otherwisejava.rmi.RemoteException - on RMI errors"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"