|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.portals.graffito.jcr.mapper.model.BeanDescriptor
public class BeanDescriptor
BeanDescriptor is used by the mapper to read general information on a bean field
Constructor Summary | |
---|---|
BeanDescriptor()
|
Method Summary | |
---|---|
ClassDescriptor |
getClassDescriptor()
|
java.lang.String |
getConverter()
Get the BeanConverter fully qualified name or null
if none specified by the bean descriptor. |
java.lang.String |
getFieldName()
|
java.lang.String |
getJcrName()
|
java.lang.String |
getJcrNodeType()
Getter for property jcrNodeType. |
java.lang.String |
getJcrOnParentVersion()
Getter for property jcrOnParentVersion. |
boolean |
isAutoInsert()
|
boolean |
isAutoRetrieve()
|
boolean |
isAutoUpdate()
|
boolean |
isInline()
Are the current bean properties inlined in the parent |
boolean |
isJcrAutoCreated()
Getter for property jcrAutoCreated. |
boolean |
isJcrMandatory()
Getter for property jcrMandatory. |
boolean |
isJcrProtected()
Getter for property jcrProtected. |
boolean |
isJcrSameNameSiblings()
Getter for property jcrSameNameSiblings. |
boolean |
isProxy()
|
void |
setAutoInsert(boolean autoInsert)
|
void |
setAutoRetrieve(boolean autoRetrieve)
|
void |
setAutoUpdate(boolean autoUpdate)
|
void |
setClassDescriptor(ClassDescriptor descriptor)
|
void |
setConverter(java.lang.String converterClass)
Sets the fully qualified name of a BeanConverter to be used. |
void |
setFieldName(java.lang.String fieldName)
|
void |
setInline(boolean flag)
Sets if the bean's properties should be inlined in the parent instead of being persisted on a subnode |
void |
setJcrAutoCreated(boolean value)
Setter for property jcrAutoCreated. |
void |
setJcrMandatory(boolean value)
Setter for property jcrMandatory. |
void |
setJcrName(java.lang.String jcrName)
|
void |
setJcrNodeType(java.lang.String value)
Setter for property jcrNodeType. |
void |
setJcrOnParentVersion(java.lang.String value)
Setter for property jcrOnParentVersion. |
void |
setJcrProtected(boolean value)
Setter for property jcrProtected. |
void |
setJcrSameNameSiblings(boolean value)
Setter for property jcrSameNameSiblings. |
void |
setProxy(boolean proxy)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BeanDescriptor()
Method Detail |
---|
public java.lang.String getFieldName()
public void setFieldName(java.lang.String fieldName)
fieldName
- The fieldName to set.public java.lang.String getJcrName()
public void setJcrName(java.lang.String jcrName)
jcrName
- The jcrName to set.public boolean isProxy()
public void setProxy(boolean proxy)
proxy
- The proxy to set.public boolean isAutoInsert()
public void setAutoInsert(boolean autoInsert)
public boolean isAutoRetrieve()
public void setAutoRetrieve(boolean autoRetrieve)
public boolean isAutoUpdate()
public void setAutoUpdate(boolean autoUpdate)
public boolean isInline()
public void setInline(boolean flag)
flag
- true if the bean properties should be inlinedpublic java.lang.String getConverter()
BeanConverter
fully qualified name or null
if none specified by the bean descriptor.
public void setConverter(java.lang.String converterClass)
BeanConverter
to be used.
converterClass
- a fully qualified class namepublic java.lang.String getJcrNodeType()
public void setJcrNodeType(java.lang.String value)
value
- jcrNodeTypepublic boolean isJcrAutoCreated()
public void setJcrAutoCreated(boolean value)
value
- jcrAutoCreatedpublic boolean isJcrMandatory()
public void setJcrMandatory(boolean value)
value
- jcrMandatorypublic java.lang.String getJcrOnParentVersion()
public void setJcrOnParentVersion(java.lang.String value)
value
- jcrOnParentVersionpublic boolean isJcrProtected()
public void setJcrProtected(boolean value)
value
- jcrProtectedpublic boolean isJcrSameNameSiblings()
public void setJcrSameNameSiblings(boolean value)
value
- jcrSameNameSiblingspublic void setClassDescriptor(ClassDescriptor descriptor)
descriptor
- public ClassDescriptor getClassDescriptor()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |