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

All Known Implementing Classes:
BeanDescriptor, CollectionDescriptor, FieldDescriptor

public interface PropertyDefDescriptor

PropertyDefDescriptor is used by the node type management tools based on class descriptors to manage property definitions

Author:
Felix Meschberger

Method Summary
 String getJcrName()
           
 String getJcrOnParentVersion()
           
 String getJcrType()
           
 boolean isJcrAutoCreated()
           
 boolean isJcrMandatory()
           
 boolean isJcrMultiple()
           
 boolean isJcrProtected()
           
 

Method Detail

getJcrName

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

getJcrType

String getJcrType()
Returns:
Returns the property type name.

isJcrAutoCreated

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

isJcrMandatory

boolean isJcrMandatory()
Returns:
Whether the property is mandatory.

getJcrOnParentVersion

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

isJcrProtected

boolean isJcrProtected()
Returns:
Whether the property is protected.

isJcrMultiple

boolean isJcrMultiple()
Returns:
Whether the property is multi-valued.


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