org.alfresco.jcr.dictionary
Class NodeDefinitionImpl
java.lang.Object
org.alfresco.jcr.dictionary.NodeDefinitionImpl
- All Implemented Interfaces:
- javax.jcr.nodetype.ItemDefinition, javax.jcr.nodetype.NodeDefinition
public class NodeDefinitionImpl
- extends java.lang.Object
- implements javax.jcr.nodetype.NodeDefinition
Alfresco implementation of a JCR Node Definition
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeDefinitionImpl
public NodeDefinitionImpl(NodeTypeManagerImpl typeManager,
org.alfresco.service.cmr.dictionary.ChildAssociationDefinition assocDef)
- Construct
- Parameters:
typeManager
- assocDef
-
getRequiredPrimaryTypes
public javax.jcr.nodetype.NodeType[] getRequiredPrimaryTypes()
- Specified by:
getRequiredPrimaryTypes
in interface javax.jcr.nodetype.NodeDefinition
getDefaultPrimaryType
public javax.jcr.nodetype.NodeType getDefaultPrimaryType()
- Specified by:
getDefaultPrimaryType
in interface javax.jcr.nodetype.NodeDefinition
allowsSameNameSiblings
public boolean allowsSameNameSiblings()
- Specified by:
allowsSameNameSiblings
in interface javax.jcr.nodetype.NodeDefinition
getDeclaringNodeType
public javax.jcr.nodetype.NodeType getDeclaringNodeType()
- Specified by:
getDeclaringNodeType
in interface javax.jcr.nodetype.ItemDefinition
getName
public java.lang.String getName()
- Specified by:
getName
in interface javax.jcr.nodetype.ItemDefinition
isAutoCreated
public boolean isAutoCreated()
- Specified by:
isAutoCreated
in interface javax.jcr.nodetype.ItemDefinition
isMandatory
public boolean isMandatory()
- Specified by:
isMandatory
in interface javax.jcr.nodetype.ItemDefinition
getOnParentVersion
public int getOnParentVersion()
- Specified by:
getOnParentVersion
in interface javax.jcr.nodetype.ItemDefinition
isProtected
public boolean isProtected()
- Specified by:
isProtected
in interface javax.jcr.nodetype.ItemDefinition
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.