|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.ocm.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()
|
String |
getConverter()
Get the BeanConverter fully qualified name or null
if none specified by the bean descriptor. |
String |
getDefaultPrimaryType()
|
String |
getFieldName()
|
String |
getJcrName()
|
String |
getJcrOnParentVersion()
Getter for property jcrOnParentVersion. |
String |
getJcrType()
Getter for property jcrType. |
boolean |
isAutoInsert()
|
boolean |
isAutoRetrieve()
|
boolean |
isAutoUpdate()
|
boolean |
isJcrAutoCreated()
Getter for property jcrAutoCreated. |
boolean |
isJcrMandatory()
Getter for property jcrMandatory. |
boolean |
isJcrMultiple()
Getter for property jcrMultiple. |
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(String converterClass)
Sets the fully qualified name of a BeanConverter to be used. |
void |
setDefaultPrimaryType(String defaultPrimaryType)
|
void |
setFieldName(String fieldName)
|
void |
setJcrAutoCreated(boolean value)
Setter for property jcrAutoCreated. |
void |
setJcrMandatory(boolean value)
Setter for property jcrMandatory. |
void |
setJcrMultiple(boolean value)
Setter for property jcrMultiple. |
void |
setJcrName(String jcrName)
|
void |
setJcrOnParentVersion(String value)
Setter for property jcrOnParentVersion. |
void |
setJcrProtected(boolean value)
Setter for property jcrProtected. |
void |
setJcrSameNameSiblings(boolean value)
Setter for property jcrSameNameSiblings. |
void |
setJcrType(String value)
Setter for property jcrType. |
void |
setProxy(boolean proxy)
|
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 String getFieldName()
getFieldName in interface PropertyDefDescriptorpublic void setFieldName(String fieldName)
fieldName - The fieldName to set.public String getJcrName()
getJcrName in interface ChildNodeDefDescriptorgetJcrName in interface PropertyDefDescriptorpublic void setJcrName(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 String getConverter()
BeanConverter fully qualified name or null
if none specified by the bean descriptor.
public void setConverter(String converterClass)
BeanConverter to be used.
converterClass - a fully qualified class namepublic String getJcrType()
getJcrType in interface ChildNodeDefDescriptorgetJcrType in interface PropertyDefDescriptorpublic void setJcrType(String value)
value - jcrTypepublic boolean isJcrAutoCreated()
isJcrAutoCreated in interface ChildNodeDefDescriptorisJcrAutoCreated in interface PropertyDefDescriptorpublic void setJcrAutoCreated(boolean value)
value - jcrAutoCreatedpublic boolean isJcrMandatory()
isJcrMandatory in interface ChildNodeDefDescriptorisJcrMandatory in interface PropertyDefDescriptorpublic void setJcrMandatory(boolean value)
value - jcrMandatorypublic String getJcrOnParentVersion()
getJcrOnParentVersion in interface ChildNodeDefDescriptorgetJcrOnParentVersion in interface PropertyDefDescriptorpublic void setJcrOnParentVersion(String value)
value - jcrOnParentVersionpublic boolean isJcrProtected()
isJcrProtected in interface ChildNodeDefDescriptorisJcrProtected in interface PropertyDefDescriptorpublic void setJcrProtected(boolean value)
value - jcrProtectedpublic boolean isJcrSameNameSiblings()
isJcrSameNameSiblings in interface ChildNodeDefDescriptorpublic void setJcrSameNameSiblings(boolean value)
value - jcrSameNameSiblingspublic boolean isJcrMultiple()
isJcrMultiple in interface PropertyDefDescriptorpublic void setJcrMultiple(boolean value)
value - jcrMultiplepublic void setClassDescriptor(ClassDescriptor descriptor)
descriptor - public ClassDescriptor getClassDescriptor()
public String toString()
toString in class Objectpublic String getDefaultPrimaryType()
getDefaultPrimaryType in interface ChildNodeDefDescriptorpublic void setDefaultPrimaryType(String defaultPrimaryType)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||