public interface RemoteNodeDefinition extends RemoteItemDefinition
NodeDefinition
interface. Used by the
ServerNodeDefinition
and
ClientNodeDefinition
adapters to provide transparent RMI access to remote node definitions.
The methods in this interface are documented only with a reference
to a corresponding NodeDef method. The remote object will simply forward
the method call to the underlying NodeDef instance. Return values
and possible exceptions are copied over the network. Complex
NodeType
return values
are returned as remote references to the
RemoteNodeType
interface. RMI errors are signaled with RemoteExceptions.
NodeDefinition
,
ClientNodeDefinition
,
ServerNodeDefinition
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, isProtected
RemoteNodeType[] getRequiredPrimaryTypes() throws RemoteException
NodeDef.getRequiredPrimaryTypes()
method.RemoteException
- on RMI errorsRemoteNodeType getDefaultPrimaryType() throws RemoteException
NodeDef.getDefaultPrimaryType()
method.RemoteException
- on RMI errorsboolean allowsSameNameSiblings() throws RemoteException
NodeDef.allowSameNameSibs()
method.true
if same name siblings are allowed,
false
otherwiseRemoteException
- on RMI errorsString getDefaultPrimaryTypeName() throws RemoteException
NodeDef.getDefaultPrimaryTypeName()
method.RemoteException
- on RMI errorsString[] getRequiredPrimaryTypeNames() throws RemoteException
NodeDef.getRequiredPrimaryTypeNames()
method.RemoteException
- on RMI errorsCopyright © 2004–2022 The Apache Software Foundation. All rights reserved.