org.apache.sling.maven.jcrocm
Class BeanDescriptor
java.lang.Object
org.apache.sling.maven.jcrocm.AbstractNodeDescriptor
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"
>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TAG_BEAN_DESCRIPTOR
public static final String TAG_BEAN_DESCRIPTOR
- See Also:
- Constant Field Values
CONVERTER
public static final String CONVERTER
- See Also:
- Constant Field Values
ELEMENT_BEAN_DESCRIPTOR
public static final String ELEMENT_BEAN_DESCRIPTOR
- See Also:
- Constant Field Values
FIELD_NAME
public static final 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 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 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 String JCR_MANDATORY
- See Also:
- Constant Field Values
JCR_ON_PARENT_VERSION
public static final String JCR_ON_PARENT_VERSION
- See Also:
- Constant Field Values
JCR_PROTECTED
public static final String JCR_PROTECTED
- See Also:
- Constant Field Values
tag
protected final com.thoughtworks.qdox.model.DocletTag tag
log
protected void log(String message)
warn
protected void warn(String message)
Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.