public interface RemoteNodeType extends Remote
NodeType
interface. Used by the
ServerNodeType
and
ClientNodeType
adapters to provide transparent RMI access to remote node types.
The methods in this interface are documented only with a reference to a corresponding NodeType method. The remote object will simply forward the method call to the underlying NodeType instance. Return values and possible exceptions are copied over the network. Complex return values (like NodeTypes and PropertyDefs) are returned as remote references to the corresponding remote interfaces. RMI errors are signaled with RemoteExceptions.
NodeType
,
ClientNodeType
,
ServerNodeType
String getName() throws RemoteException
NodeType.getName()
method.RemoteException
- on RMI errorsboolean isMixin() throws RemoteException
NodeType.isMixin()
method.true
if this is a mixin type,
false
otherwiseRemoteException
- on RMI errorsboolean isAbstract() throws RemoteException
NodeType.isAbstract()
method.true
if this is an abstract type,
false
otherwiseRemoteException
- on RMI errorsboolean hasOrderableChildNodes() throws RemoteException
NodeType.hasOrderableChildNodes()
method.true
if nodes of this type has orderable
child nodes, false
otherwiseRemoteException
- on RMI errorsRemoteNodeType[] getSupertypes() throws RemoteException
NodeType.getSupertypes()
method.RemoteException
- on RMI errorsRemoteNodeType[] getDeclaredSupertypes() throws RemoteException
NodeType.getDeclaredSupertypes()
method.RemoteException
- on RMI errorsboolean isNodeType(String type) throws RemoteException
NodeType.isNodeType(String)
method.type
- node type nametrue
if this node type is or extends the
given node type, false
otherwiseRemoteException
- on RMI errorsRemotePropertyDefinition[] getPropertyDefs() throws RemoteException
NodeType.getPropertyDefinitions()
method.RemoteException
- on RMI errorsRemotePropertyDefinition[] getDeclaredPropertyDefs() throws RemoteException
NodeType.getDeclaredPropertyDefinitions()
method.RemoteException
- on RMI errorsRemoteNodeDefinition[] getChildNodeDefs() throws RemoteException
NodeType.getChildNodeDefinitions()
method.RemoteException
- on RMI errorsRemoteNodeDefinition[] getDeclaredChildNodeDefs() throws RemoteException
NodeType.getDeclaredChildNodeDefinitions()
method.RemoteException
- on RMI errorsboolean canSetProperty(String name, Value value) throws RemoteException
NodeType.canSetProperty(String,Value)
method.name
- property namevalue
- property valuetrue
if the property can be set,
false
otherwiseRemoteException
- on RMI errorsboolean canSetProperty(String name, Value[] values) throws RemoteException
NodeType.canSetProperty(String,Value[])
method.name
- property namevalues
- property valuestrue
if the property can be set,
false
otherwiseRemoteException
- on RMI errorsboolean canAddChildNode(String name) throws RemoteException
NodeType.canAddChildNode(String)
method.name
- child node nametrue
if the child node can be added,
false
otherwiseRemoteException
- on RMI errorsboolean canAddChildNode(String name, String type) throws RemoteException
NodeType.canAddChildNode(String,String)
method.name
- child node nametype
- child node typetrue
if the child node can be added,
false
otherwiseRemoteException
- on RMI errorsboolean canRemoveItem(String name) throws RemoteException
NodeType.canRemoveItem(String)
method.name
- item nametrue
if the item can be removed,
false
otherwiseRemoteException
- on RMI errorsString getPrimaryItemName() throws RemoteException
NodeType.getPrimaryItemName()
method.RemoteException
- on RMI errorsboolean canRemoveNode(String nodeName) throws RemoteException
NodeType.canRemoveNode()
method.RemoteException
- on RMI errorsboolean canRemoveProperty(String propertyName) throws RemoteException
NodeType.canRemoveProperty()
method.RemoteException
- on RMI errorsString[] getDeclaredSupertypeNames() throws RemoteException
NodeType.getDeclaredSupertypeNames()
method.RemoteException
- on RMI errorsboolean isQueryable() throws RemoteException
NodeType.isQueryable()
method.RemoteException
- on RMI errorsRemoteIterator getDeclaredSubtypes() throws RemoteException
NodeType.getDeclaredSubtypes()
method.RemoteException
- on RMI errorsRemoteIterator getSubtypes() throws RemoteException
NodeType.getSubtypes()
method.RemoteException
- on RMI errorsCopyright © 2004–2023 The Apache Software Foundation. All rights reserved.