org.apache.jackrabbit.rmi.client
Class ClientNodeDefinition
java.lang.Object
org.apache.jackrabbit.rmi.client.ClientObject
org.apache.jackrabbit.rmi.client.ClientItemDefinition
org.apache.jackrabbit.rmi.client.ClientNodeDefinition
- All Implemented Interfaces:
- ItemDefinition, NodeDefinition
public class ClientNodeDefinition
- extends ClientItemDefinition
- implements NodeDefinition
Local adapter for the JCR-RMI
RemoteNodeDefinition
interface. This class makes a remote node definition locally available using
the JCR NodeDef
interface.
- See Also:
NodeDefinition
,
RemoteNodeDefinition
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientNodeDefinition
public ClientNodeDefinition(RemoteNodeDefinition remote,
LocalAdapterFactory factory)
- Creates a local adapter for the given remote node definition.
- Parameters:
remote
- remote node definitionfactory
- local adapter factory
getRequiredPrimaryTypes
public NodeType[] getRequiredPrimaryTypes()
-
- Specified by:
getRequiredPrimaryTypes
in interface NodeDefinition
getDefaultPrimaryType
public NodeType getDefaultPrimaryType()
-
- Specified by:
getDefaultPrimaryType
in interface NodeDefinition
allowsSameNameSiblings
public boolean allowsSameNameSiblings()
-
- Specified by:
allowsSameNameSiblings
in interface NodeDefinition
getDefaultPrimaryTypeName
public String getDefaultPrimaryTypeName()
- Specified by:
getDefaultPrimaryTypeName
in interface NodeDefinition
getRequiredPrimaryTypeNames
public String[] getRequiredPrimaryTypeNames()
- Specified by:
getRequiredPrimaryTypeNames
in interface NodeDefinition
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.