public class ClientNodeDefinition extends ClientItemDefinition implements javax.jcr.nodetype.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() |
javax.jcr.nodetype.NodeType |
getDefaultPrimaryType() |
String |
getDefaultPrimaryTypeName() |
String[] |
getRequiredPrimaryTypeNames() |
javax.jcr.nodetype.NodeType[] |
getRequiredPrimaryTypes() |
getDeclaringNodeType, getName, getOnParentVersion, isAutoCreated, isMandatory, isProtected
getFactory, getItem, getNode, getNodeTypeArray
public ClientNodeDefinition(RemoteNodeDefinition remote, LocalAdapterFactory factory)
remote
- remote node definitionfactory
- local adapter factorypublic javax.jcr.nodetype.NodeType[] getRequiredPrimaryTypes()
getRequiredPrimaryTypes
in interface javax.jcr.nodetype.NodeDefinition
public javax.jcr.nodetype.NodeType getDefaultPrimaryType()
getDefaultPrimaryType
in interface javax.jcr.nodetype.NodeDefinition
public boolean allowsSameNameSiblings()
allowsSameNameSiblings
in interface javax.jcr.nodetype.NodeDefinition
public String getDefaultPrimaryTypeName()
getDefaultPrimaryTypeName
in interface javax.jcr.nodetype.NodeDefinition
public String[] getRequiredPrimaryTypeNames()
getRequiredPrimaryTypeNames
in interface javax.jcr.nodetype.NodeDefinition
Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.