|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.ocm.mapper.model.CollectionDescriptor
public class CollectionDescriptor
CollectionDescriptor is used by the mapper to read general information on a collection field
| Constructor Summary | |
|---|---|
CollectionDescriptor()
|
|
| Method Summary | |
|---|---|
ClassDescriptor |
getClassDescriptor()
|
java.lang.String |
getCollectionClassName()
|
java.lang.String |
getCollectionConverter()
|
java.lang.String |
getDefaultPrimaryType()
|
java.lang.String |
getElementClassName()
|
java.lang.String |
getFieldName()
|
java.lang.String |
getJcrElementName()
|
java.lang.String |
getJcrName()
|
java.lang.String |
getJcrOnParentVersion()
Getter for property jcrOnParentVersion. |
java.lang.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 classDescriptor)
Set the associated class descriptor |
void |
setCollectionClassName(java.lang.String collectionClassName)
Set the collection class name. |
void |
setCollectionConverter(java.lang.String collectionConverterClassName)
Set the collection converter class name |
void |
setDefaultPrimaryType(java.lang.String defaultPrimaryType)
|
void |
setElementClassName(java.lang.String elementClassName)
|
void |
setFieldName(java.lang.String fieldName)
|
void |
setJcrAutoCreated(boolean value)
Setter for property jcrAutoCreated. |
void |
setJcrElementName(java.lang.String jcrElementName)
|
void |
setJcrMandatory(boolean value)
Setter for property jcrMandatory. |
void |
setJcrMultiple(boolean value)
Setter for property jcrMultiple. |
void |
setJcrName(java.lang.String jcrName)
|
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 |
setJcrType(java.lang.String value)
Setter for property jcrType. |
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 CollectionDescriptor()
| Method Detail |
|---|
public java.lang.String getFieldName()
public void setFieldName(java.lang.String fieldName)
fieldName - The fieldName to set.public java.lang.String getJcrName()
getJcrName in interface ChildNodeDefDescriptorgetJcrName in interface PropertyDefDescriptorpublic void setJcrName(java.lang.String jcrName)
jcrName - The jcrName to set.public java.lang.String getElementClassName()
public void setElementClassName(java.lang.String elementClassName)
elementClassName - The collection element class name to set.public java.lang.String getJcrElementName()
public void setJcrElementName(java.lang.String jcrElementName)
jcrElementName - The collection element name 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 java.lang.String getCollectionConverter()
public void setCollectionConverter(java.lang.String collectionConverterClassName)
collectionConverterClassName - The converter to setpublic java.lang.String getCollectionClassName()
public void setCollectionClassName(java.lang.String collectionClassName)
ManageableCollection
collectionClassName - The collection class name to setpublic ClassDescriptor getClassDescriptor()
public void setClassDescriptor(ClassDescriptor classDescriptor)
classDescriptor - the class descriptor to setpublic java.lang.String getJcrType()
getJcrType in interface ChildNodeDefDescriptorgetJcrType in interface PropertyDefDescriptorpublic void setJcrType(java.lang.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 java.lang.String getJcrOnParentVersion()
getJcrOnParentVersion in interface ChildNodeDefDescriptorgetJcrOnParentVersion in interface PropertyDefDescriptorpublic void setJcrOnParentVersion(java.lang.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 java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getDefaultPrimaryType()
getDefaultPrimaryType in interface ChildNodeDefDescriptorpublic void setDefaultPrimaryType(java.lang.String defaultPrimaryType)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||