|
||||||||||
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()
|
String |
getCollectionClassName()
|
String |
getCollectionConverter()
|
String |
getDefaultPrimaryType()
|
String |
getElementClassName()
|
String |
getFieldName()
|
String |
getJcrElementName()
|
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 classDescriptor)
Set the associated class descriptor |
void |
setCollectionClassName(String collectionClassName)
Set the collection class name. |
void |
setCollectionConverter(String collectionConverterClassName)
Set the collection converter class name |
void |
setDefaultPrimaryType(String defaultPrimaryType)
|
void |
setElementClassName(String elementClassName)
|
void |
setFieldName(String fieldName)
|
void |
setJcrAutoCreated(boolean value)
Setter for property jcrAutoCreated. |
void |
setJcrElementName(String jcrElementName)
|
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 CollectionDescriptor()
Method Detail |
---|
public String getFieldName()
public void setFieldName(String fieldName)
fieldName
- The fieldName to set.public String getJcrName()
getJcrName
in interface ChildNodeDefDescriptor
getJcrName
in interface PropertyDefDescriptor
public void setJcrName(String jcrName)
jcrName
- The jcrName to set.public String getElementClassName()
public void setElementClassName(String elementClassName)
elementClassName
- The collection element class name to set.public String getJcrElementName()
public void setJcrElementName(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 String getCollectionConverter()
public void setCollectionConverter(String collectionConverterClassName)
collectionConverterClassName
- The converter to setpublic String getCollectionClassName()
public void setCollectionClassName(String collectionClassName)
ManageableCollection
collectionClassName
- The collection class name to setpublic ClassDescriptor getClassDescriptor()
public void setClassDescriptor(ClassDescriptor classDescriptor)
classDescriptor
- the class descriptor to setpublic String getJcrType()
getJcrType
in interface ChildNodeDefDescriptor
getJcrType
in interface PropertyDefDescriptor
public void setJcrType(String value)
value
- jcrTypepublic boolean isJcrAutoCreated()
isJcrAutoCreated
in interface ChildNodeDefDescriptor
isJcrAutoCreated
in interface PropertyDefDescriptor
public void setJcrAutoCreated(boolean value)
value
- jcrAutoCreatedpublic boolean isJcrMandatory()
isJcrMandatory
in interface ChildNodeDefDescriptor
isJcrMandatory
in interface PropertyDefDescriptor
public void setJcrMandatory(boolean value)
value
- jcrMandatorypublic String getJcrOnParentVersion()
getJcrOnParentVersion
in interface ChildNodeDefDescriptor
getJcrOnParentVersion
in interface PropertyDefDescriptor
public void setJcrOnParentVersion(String value)
value
- jcrOnParentVersionpublic boolean isJcrProtected()
isJcrProtected
in interface ChildNodeDefDescriptor
isJcrProtected
in interface PropertyDefDescriptor
public void setJcrProtected(boolean value)
value
- jcrProtectedpublic boolean isJcrSameNameSiblings()
isJcrSameNameSiblings
in interface ChildNodeDefDescriptor
public void setJcrSameNameSiblings(boolean value)
value
- jcrSameNameSiblingspublic boolean isJcrMultiple()
isJcrMultiple
in interface PropertyDefDescriptor
public void setJcrMultiple(boolean value)
value
- jcrMultiplepublic String toString()
toString
in class Object
public String getDefaultPrimaryType()
getDefaultPrimaryType
in interface ChildNodeDefDescriptor
public void setDefaultPrimaryType(String defaultPrimaryType)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |