public class ClientNodeDefinition extends ClientItemDefinition implements NodeDefinition
RemoteNodeDefinition
interface. This class makes a remote node definition locally available using
the JCR NodeDef
interface.NodeDefinition
,
RemoteNodeDefinition
Constructor and Description |
---|
ClientNodeDefinition(RemoteNodeDefinition remote,
LocalAdapterFactory factory)
Creates a local adapter for the given remote node definition.
|
Modifier and Type | Method and Description |
---|---|
boolean |
allowsSameNameSiblings() |
NodeType |
getDefaultPrimaryType() |
String |
getDefaultPrimaryTypeName() |
String[] |
getRequiredPrimaryTypeNames() |
NodeType[] |
getRequiredPrimaryTypes() |
getDeclaringNodeType, getName, getOnParentVersion, isAutoCreated, isMandatory, isProtected
getFactory, getItem, getNode, getNodeTypeArray
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDeclaringNodeType, getName, getOnParentVersion, isAutoCreated, isMandatory, isProtected
public ClientNodeDefinition(RemoteNodeDefinition remote, LocalAdapterFactory factory)
remote
- remote node definitionfactory
- local adapter factorypublic NodeType[] getRequiredPrimaryTypes()
getRequiredPrimaryTypes
in interface NodeDefinition
public NodeType getDefaultPrimaryType()
getDefaultPrimaryType
in interface NodeDefinition
public boolean allowsSameNameSiblings()
allowsSameNameSiblings
in interface NodeDefinition
public String getDefaultPrimaryTypeName()
getDefaultPrimaryTypeName
in interface NodeDefinition
public String[] getRequiredPrimaryTypeNames()
getRequiredPrimaryTypeNames
in interface NodeDefinition
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.