| Modifier and Type | Method and Description |
|---|---|
| public Class | getAttributeElementClass()
Return the class each element in the object's collection should be converted to, before the collection is inserted into the object. |
| public AbstractNullPolicy | |
| public Object | |
| public CONVERTER | |
| public boolean | |
| public boolean | |
| public boolean | |
| public void | setAttributeElementClass(Class<?> attributeElementClass)
Set the class each element in the object's collection should be converted to, before the collection is inserted into the object. |
| public void | setCollapsingStringValues(boolean collapse)
Indicates that this mapping should collapse all string values before adding them to the collection on unmarshal. |
| public void | |
| public void | setFieldElementClass(Class<?> fieldElementClass)
PUBLIC: Set the class each element in the database row's collection should be converted to, before the collection is inserted into the database. |
| public void | |
| public void | |
| public void | setNormalizingStringValues(boolean normalize)
Indicates that this mapping should normalize all string values before adding them to the collection on unmarshal. |
| public void | |
| public void | |
| public void | setUsesSingleNode(boolean
True if the items in the collection are in a single node or false if each of the items in the collection is in its own node usesSingleNode)Sets whether the mapping uses a single node. |
| public void | |
| public void | |
| public void | |
| public boolean | Returns: True if the items in the collection are in a single node or false if each of the items in the collection is in its own node.Checks whether the mapping uses a single node. |
| getAttributeElementClass | back to summary |
|---|---|
| public Class Return the class each element in the object's collection should be converted to, before the collection is inserted into the object. This is optional - if left null, the elements will be added to the object's collection unconverted. | |
| getNullPolicy | back to summary |
|---|---|
| public AbstractNullPolicy getNullPolicy() | |
| getNullValue | back to summary |
|---|---|
| public Object getNullValue() | |
| getValueConverter | back to summary |
|---|---|
| public CONVERTER getValueConverter() Return the converter on the mapping. A converter can be used to convert between the direct collection's object value and database value. | |
| isCDATA | back to summary |
|---|---|
| public boolean isCDATA() | |
| isCollapsingStringValues | back to summary |
|---|---|
| public boolean isCollapsingStringValues() | |
| isNormalizingStringValues | back to summary |
|---|---|
| public boolean isNormalizingStringValues() | |
| setAttributeElementClass | back to summary |
|---|---|
| public void setAttributeElementClass(Class<?> attributeElementClass) Set the class each element in the object's collection should be converted to, before the collection is inserted into the object. This is optional - if left null, the elements will be added to the object's collection unconverted. | |
| setCollapsingStringValues | back to summary |
|---|---|
| public void setCollapsingStringValues(boolean collapse) Indicates that this mapping should collapse all string values before adding them to the collection on unmarshal. Collapse removes leading and trailing whitespaces, and replaces any sequence of whitespace characters with a single space. | |
| setField | back to summary |
|---|---|
| public void setField(FIELD field) Set the field that holds the nested collection. | |
| setFieldElementClass | back to summary |
|---|---|
| public void setFieldElementClass(Class<?> fieldElementClass) PUBLIC: Set the class each element in the database row's collection should be converted to, before the collection is inserted into the database. This is optional - if left null, the elements will be added to the database row's collection unconverted. | |
| setIsCDATA | back to summary |
|---|---|
| public void setIsCDATA(boolean CDATA) | |
| setIsWriteOnly | back to summary |
|---|---|
| public void setIsWriteOnly(boolean b) | |
| setNormalizingStringValues | back to summary |
|---|---|
| public void setNormalizingStringValues(boolean normalize) Indicates that this mapping should normalize all string values before adding them to the collection on unmarshal. Normalize replaces any CR, LF or Tab characters with a single space character. | |
| setNullPolicy | back to summary |
|---|---|
| public void setNullPolicy(AbstractNullPolicy nullPolicyFromProperty) | |
| setNullValue | back to summary |
|---|---|
| public void setNullValue(Object nullValue) | |
| setUsesSingleNode | back to summary |
|---|---|
| public void setUsesSingleNode(boolean usesSingleNode) Sets whether the mapping uses a single node.
| |
| setValueConverter | back to summary |
|---|---|
| public void setValueConverter(CONVERTER valueConverter) Set the converter on the mapping. A converter can be used to convert between the direct collection's object value and database value. | |
| setXPath | back to summary |
|---|---|
| public void setXPath(String xpathString) Set the Mapping field name attribute to the given XPath String
| |
| useCollectionClassName | back to summary |
|---|---|
| public void useCollectionClassName(String concreteContainerClassName) | |
| usesSingleNode | back to summary |
|---|---|
| public boolean usesSingleNode() Checks whether the mapping uses a single node.
| |