public interface ChoiceCollectionMapping<ABSTRACT_SESSION extends CoreAbstractSession,ATTRIBUTE_ACCESSOR extends CoreAttributeAccessor,CONTAINER_POLICY extends CoreContainerPolicy,CONVERTER extends CoreConverter,DESCRIPTOR extends CoreDescriptor,FIELD extends CoreField,MARSHALLER extends Marshaller,SESSION extends CoreSession,UNMARSHALLER extends Unmarshaller,XML_FIELD extends Field,XML_MAPPING extends Mapping,XML_RECORD extends XMLRecord> extends Mapping<ABSTRACT_SESSION,ATTRIBUTE_ACCESSOR,CONTAINER_POLICY,DESCRIPTOR,FIELD,XML_RECORD>, XMLContainerMapping, XMLConverterMapping<MARSHALLER,SESSION,UNMARSHALLER>
EMPTY_CONTAINER_DEFAULT
Modifier and Type | Method and Description |
---|---|
void |
addChoiceElement(java.util.List<XML_FIELD> srcFields,
java.lang.String elementTypeName,
java.util.List<XML_FIELD> tgtFields) |
void |
addChoiceElement(java.lang.String xpath,
java.lang.String elementTypeName) |
void |
addChoiceElement(java.lang.String srcXpath,
java.lang.String elementTypeName,
java.lang.String tgtXpath) |
void |
addChoiceElement(XML_FIELD field,
java.lang.String elementTypeName) |
void |
addConverter(XML_FIELD field,
CONVERTER converter) |
AnyCollectionMapping |
getAnyMapping() |
java.util.Map<XML_FIELD,XML_MAPPING> |
getChoiceElementMappings() |
java.util.Map<java.lang.Class,XML_MAPPING> |
getChoiceElementMappingsByClass() |
java.util.List<XMLChoiceFieldToClassAssociation> |
getChoiceFieldToClassAssociations() |
java.util.Map<java.lang.String,XML_FIELD> |
getClassNameToFieldMappings() |
java.util.Map<java.lang.Class,XML_FIELD> |
getClassToFieldMappings() |
java.util.Map<java.lang.Class,java.util.List<XML_FIELD>> |
getClassToSourceFieldsMappings() |
CONVERTER |
getConverter() |
CONVERTER |
getConverter(XML_FIELD field) |
java.util.Map<XML_FIELD,java.lang.Class> |
getFieldToClassMappings() |
XML_MAPPING |
getMixedContentMapping() |
boolean |
isAny() |
boolean |
isMixedContent() |
void |
setConverter(CONVERTER converter)
Set the converter on the mapping.
|
void |
setIsWriteOnly(boolean b) |
void |
setMixedContent(boolean mixed)
Allows the user to indicate that this mapping should also allow for mixed content in addition to
any of the elements in the choice.
|
void |
setMixedContent(java.lang.String groupingElement)
Allows the user to indicate that this mapping should also allow for mixed content in addition to
any of the elements in the choice.
|
void |
useCollectionClassName(java.lang.String concreteContainerClassName) |
convertClassNamesToClasses, getAttributeAccessor, getAttributeClassification, getAttributeName, getAttributeValueFromObject, getContainerPolicy, getDescriptor, getField, getReferenceDescriptor, isAbstractCompositeCollectionMapping, isAbstractCompositeDirectCollectionMapping, isAbstractCompositeObjectMapping, isAbstractDirectMapping, isCollectionMapping, isReadOnly, isReferenceMapping, isTransformationMapping, setAttributeAccessor, setAttributeName, setAttributeValueInObject, setGetMethodName, setIsReadOnly, setProperties, setSetMethodName, writeSingleValue
getReuseContainer, getWrapperNullPolicy, isDefaultEmptyContainer, setDefaultEmptyContainer, setReuseContainer, setWrapperNullPolicy
convertDataValueToObjectValue, convertObjectValueToDataValue
void addChoiceElement(java.util.List<XML_FIELD> srcFields, java.lang.String elementTypeName, java.util.List<XML_FIELD> tgtFields)
void addChoiceElement(java.lang.String xpath, java.lang.String elementTypeName)
void addChoiceElement(java.lang.String srcXpath, java.lang.String elementTypeName, java.lang.String tgtXpath)
void addChoiceElement(XML_FIELD field, java.lang.String elementTypeName)
java.util.Map<XML_FIELD,XML_MAPPING> getChoiceElementMappings()
java.util.Map<java.lang.Class,XML_MAPPING> getChoiceElementMappingsByClass()
java.util.List<XMLChoiceFieldToClassAssociation> getChoiceFieldToClassAssociations()
java.util.Map<java.lang.String,XML_FIELD> getClassNameToFieldMappings()
java.util.Map<java.lang.Class,XML_FIELD> getClassToFieldMappings()
java.util.Map<java.lang.Class,java.util.List<XML_FIELD>> getClassToSourceFieldsMappings()
CONVERTER getConverter()
java.util.Map<XML_FIELD,java.lang.Class> getFieldToClassMappings()
XML_MAPPING getMixedContentMapping()
boolean isMixedContent()
void setConverter(CONVERTER converter)
void setIsWriteOnly(boolean b)
void setMixedContent(boolean mixed)
void setMixedContent(java.lang.String groupingElement)
void useCollectionClassName(java.lang.String concreteContainerClassName)
boolean isAny()
AnyCollectionMapping getAnyMapping()
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference