org.apache.jackrabbit.ocm.mapper.model
Interface ChildNodeDefDescriptor

All Known Implementing Classes:
BeanDescriptor, CollectionDescriptor

public interface ChildNodeDefDescriptor

ChildNodeDefDescriptor is used by the node type management tools based on class descriptors to manage child node definitions

Author:
Felix Meschberger

Method Summary
 java.lang.String getDefaultPrimaryType()
           
 java.lang.String getJcrName()
           
 java.lang.String getJcrOnParentVersion()
           
 java.lang.String getJcrType()
           
 boolean isJcrAutoCreated()
           
 boolean isJcrMandatory()
           
 boolean isJcrProtected()
           
 boolean isJcrSameNameSiblings()
           
 

Method Detail

getJcrName

java.lang.String getJcrName()
Returns:
Returns the name of the property.

getJcrType

java.lang.String getJcrType()
Returns:
Returns the child node type name.

isJcrAutoCreated

boolean isJcrAutoCreated()
Returns:
Whether the child node is auto created.

isJcrMandatory

boolean isJcrMandatory()
Returns:
Whether the child node is mandatory.

getJcrOnParentVersion

java.lang.String getJcrOnParentVersion()
Returns:
What to do on parent version creation.

isJcrProtected

boolean isJcrProtected()
Returns:
Whether the child node is protected.

isJcrSameNameSiblings

boolean isJcrSameNameSiblings()
Returns:
Whether the child node definition allows for same name sibblings.

getDefaultPrimaryType

java.lang.String getDefaultPrimaryType()
Returns:
Whether the default not type to use when create new instances of this child


Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.