org.apache.sling.maven.jcrocm
Class BeanDescriptor

java.lang.Object
  extended by org.apache.sling.maven.jcrocm.AbstractNodeDescriptor
      extended by org.apache.sling.maven.jcrocm.BeanDescriptor

public class BeanDescriptor
extends AbstractNodeDescriptor

The BeanDescriptor class provides support for the bean-descriptor element of a class mapping, which has the following attribute list definition:

   <!ATTLIST bean-descriptor
       fieldName CDATA #REQUIRED
       jcrName CDATA #IMPLIED 
       proxy (true | false) "false" 
       autoRetrieve (true|false) "true"
       autoUpdate (true|false) "true"
       autoInsert (true|false) "true"  
       converter CDATA #IMPLIED
       jcrType CDATA #IMPLIED
       jcrAutoCreated (true | false) "false"   
       jcrMandatory (true | false) "false"
       jcrOnParentVersion (COPY | VERSION | INITIALIZE | COMPUTE | IGNORE | ABORT) "COPY"
       jcrProtected (true | false) "false"
       jcrSameNameSiblings (true | false) "false"         
   >
 


Field Summary
static java.lang.String CONVERTER
           
static java.lang.String ELEMENT_BEAN_DESCRIPTOR
           
static java.lang.String FIELD_NAME
          The name of the Doclet Tag attribute naming the field to which the descriptor applies (value is "fieldName").
static java.lang.String JCR_AUTO_CREATED
          The name of the Doclet Tag attribute naming the field to which the descriptor applies (value is "fieldName").
static java.lang.String JCR_MANDATORY
           
static java.lang.String JCR_NAME
          The name of the Doclet Tag attribute naming the JCR item to which the descriptor applies (value is "jcrName").
static java.lang.String JCR_ON_PARENT_VERSION
           
static java.lang.String JCR_PROTECTED
           
protected  com.thoughtworks.qdox.model.DocletTag tag
           
static java.lang.String TAG_BEAN_DESCRIPTOR
           
 
Fields inherited from class org.apache.sling.maven.jcrocm.AbstractNodeDescriptor
AUTO_INSERT, AUTO_RETRIEVE, AUTO_UPDATE, JCR_SAME_NAME_SIBBLINGS, JCR_TYPE, PROXY
 
Method Summary
protected  void log(java.lang.String message)
           
protected  void warn(java.lang.String message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TAG_BEAN_DESCRIPTOR

public static final java.lang.String TAG_BEAN_DESCRIPTOR
See Also:
Constant Field Values

CONVERTER

public static final java.lang.String CONVERTER
See Also:
Constant Field Values

ELEMENT_BEAN_DESCRIPTOR

public static final java.lang.String ELEMENT_BEAN_DESCRIPTOR
See Also:
Constant Field Values

FIELD_NAME

public static final java.lang.String FIELD_NAME
The name of the Doclet Tag attribute naming the field to which the descriptor applies (value is "fieldName").

See Also:
Constant Field Values

JCR_NAME

public static final java.lang.String JCR_NAME
The name of the Doclet Tag attribute naming the JCR item to which the descriptor applies (value is "jcrName").

See Also:
Constant Field Values

JCR_AUTO_CREATED

public static final java.lang.String JCR_AUTO_CREATED
The name of the Doclet Tag attribute naming the field to which the descriptor applies (value is "fieldName").

See Also:
Constant Field Values

JCR_MANDATORY

public static final java.lang.String JCR_MANDATORY
See Also:
Constant Field Values

JCR_ON_PARENT_VERSION

public static final java.lang.String JCR_ON_PARENT_VERSION
See Also:
Constant Field Values

JCR_PROTECTED

public static final java.lang.String JCR_PROTECTED
See Also:
Constant Field Values

tag

protected final com.thoughtworks.qdox.model.DocletTag tag
Method Detail

log

protected void log(java.lang.String message)

warn

protected void warn(java.lang.String message)


Copyright © 2007-2009. All Rights Reserved.