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
 String getDefaultPrimaryType()
           
 String getJcrName()
           
 String getJcrOnParentVersion()
           
 String getJcrType()
           
 boolean isJcrAutoCreated()
           
 boolean isJcrMandatory()
           
 boolean isJcrProtected()
           
 boolean isJcrSameNameSiblings()
           
 

Method Detail

getJcrName

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

getJcrType

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

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

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


Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.