public class ServerNodeDefinition extends ServerItemDefinition implements RemoteNodeDefinition
NodeDefinition
 interface. This class makes a local node definition available as an
 RMI service using the
 RemoteNodeDefinition
 interface.NodeDefinition, 
RemoteNodeDefinition, 
Serialized Formref| Constructor and Description | 
|---|
ServerNodeDefinition(javax.jcr.nodetype.NodeDefinition def,
                    RemoteAdapterFactory factory)
Creates a remote adapter for the given local node definition. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
allowsSameNameSiblings()
Remote version of the
  
NodeDef.allowSameNameSibs()
 method. | 
RemoteNodeType | 
getDefaultPrimaryType()
Remote version of the
  
NodeDef.getDefaultPrimaryType()
 method. | 
String | 
getDefaultPrimaryTypeName()
Remote version of the
  
NodeDef.getDefaultPrimaryTypeName()
 method. | 
String[] | 
getRequiredPrimaryTypeNames()
Remote version of the
  
NodeDef.getRequiredPrimaryTypeNames()
 method. | 
RemoteNodeType[] | 
getRequiredPrimaryTypes()
Remote version of the
  
NodeDef.getRequiredPrimaryTypes()
 method. | 
getDeclaringNodeType, getName, getOnParentVersion, isAutoCreated, isMandatory, isProtectedgetFactory, getRemoteItem, getRemoteNode, getRemoteNodeTypeArray, getRepositoryException, getSerialValue, getSerialValuesclone, exportObject, exportObject, exportObject, unexportObjectgetClientHost, getLog, setLogequals, getRef, hashCode, toString, toStubfinalize, getClass, notify, notifyAll, wait, wait, waitgetDeclaringNodeType, getName, getOnParentVersion, isAutoCreated, isMandatory, isProtectedpublic ServerNodeDefinition(javax.jcr.nodetype.NodeDefinition def,
                    RemoteAdapterFactory factory)
                     throws RemoteException
def - local node definitionfactory - remote adapter factoryRemoteException - on RMI errorspublic RemoteNodeType[] getRequiredPrimaryTypes() throws RemoteException
NodeDef.getRequiredPrimaryTypes()
 method.getRequiredPrimaryTypes in interface RemoteNodeDefinitionRemoteException - on RMI errorspublic RemoteNodeType getDefaultPrimaryType() throws RemoteException
NodeDef.getDefaultPrimaryType()
 method.getDefaultPrimaryType in interface RemoteNodeDefinitionRemoteException - on RMI errorspublic boolean allowsSameNameSiblings()
                               throws RemoteException
NodeDef.allowSameNameSibs()
 method.allowsSameNameSiblings in interface RemoteNodeDefinitiontrue if same name siblings are allowed,
         false otherwiseRemoteException - on RMI errorspublic String getDefaultPrimaryTypeName() throws RemoteException
NodeDef.getDefaultPrimaryTypeName()
 method.getDefaultPrimaryTypeName in interface RemoteNodeDefinitionRemoteException - on RMI errorspublic String[] getRequiredPrimaryTypeNames() throws RemoteException
NodeDef.getRequiredPrimaryTypeNames()
 method.getRequiredPrimaryTypeNames in interface RemoteNodeDefinitionRemoteException - on RMI errorsCopyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.