public class Mapping extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence minOccurs="0"> <element ref="{http://dozer.sourceforge.net}class-a"/> <element ref="{http://dozer.sourceforge.net}class-b"/> <choice maxOccurs="unbounded" minOccurs="0"> <element ref="{http://dozer.sourceforge.net}field" maxOccurs="unbounded"/> <element ref="{http://dozer.sourceforge.net}field-exclude" maxOccurs="unbounded" minOccurs="0"/> </choice> </sequence> <attribute name="date-format" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="stop-on-errors" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="wildcard" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="trim-strings" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="map-null" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="map-empty-string" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="bean-factory" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="type" type="{http://dozer.sourceforge.net}type" /> <attribute name="relationship-type" type="{http://dozer.sourceforge.net}relationship" /> <attribute name="map-id" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected String |
beanFactory |
protected Class |
classA |
protected Class |
classB |
protected String |
dateFormat |
protected List<Object> |
fieldOrFieldExclude |
protected Boolean |
mapEmptyString |
protected String |
mapId |
protected Boolean |
mapNull |
protected Relationship |
relationshipType |
protected Boolean |
stopOnErrors |
protected Boolean |
trimStrings |
protected Type |
type |
protected Boolean |
wildcard |
Constructor and Description |
---|
Mapping() |
Modifier and Type | Method and Description |
---|---|
String |
getBeanFactory()
Gets the value of the beanFactory property.
|
Class |
getClassA()
Gets the value of the classA property.
|
Class |
getClassB()
Gets the value of the classB property.
|
String |
getDateFormat()
Gets the value of the dateFormat property.
|
List<Object> |
getFieldOrFieldExclude()
Gets the value of the fieldOrFieldExclude property.
|
String |
getMapId()
Gets the value of the mapId property.
|
Relationship |
getRelationshipType()
Gets the value of the relationshipType property.
|
Type |
getType()
Gets the value of the type property.
|
Boolean |
isMapEmptyString()
Gets the value of the mapEmptyString property.
|
Boolean |
isMapNull()
Gets the value of the mapNull property.
|
Boolean |
isStopOnErrors()
Gets the value of the stopOnErrors property.
|
Boolean |
isTrimStrings()
Gets the value of the trimStrings property.
|
Boolean |
isWildcard()
Gets the value of the wildcard property.
|
void |
setBeanFactory(String value)
Sets the value of the beanFactory property.
|
void |
setClassA(Class value)
Sets the value of the classA property.
|
void |
setClassB(Class value)
Sets the value of the classB property.
|
void |
setDateFormat(String value)
Sets the value of the dateFormat property.
|
void |
setMapEmptyString(Boolean value)
Sets the value of the mapEmptyString property.
|
void |
setMapId(String value)
Sets the value of the mapId property.
|
void |
setMapNull(Boolean value)
Sets the value of the mapNull property.
|
void |
setRelationshipType(Relationship value)
Sets the value of the relationshipType property.
|
void |
setStopOnErrors(Boolean value)
Sets the value of the stopOnErrors property.
|
void |
setTrimStrings(Boolean value)
Sets the value of the trimStrings property.
|
void |
setType(Type value)
Sets the value of the type property.
|
void |
setWildcard(Boolean value)
Sets the value of the wildcard property.
|
protected Class classA
protected Class classB
protected String dateFormat
protected Boolean stopOnErrors
protected Boolean wildcard
protected Boolean trimStrings
protected Boolean mapNull
protected Boolean mapEmptyString
protected String beanFactory
protected Type type
protected Relationship relationshipType
protected String mapId
public Class getClassA()
Class
public void setClassA(Class value)
value
- allowed object is
Class
public Class getClassB()
Class
public void setClassB(Class value)
value
- allowed object is
Class
public List<Object> getFieldOrFieldExclude()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the fieldOrFieldExclude property.
For example, to add a new item, do as follows:
getFieldOrFieldExclude().add(newItem);
Objects of the following type(s) are allowed in the list
Field
FieldExclude
public String getDateFormat()
String
public void setDateFormat(String value)
value
- allowed object is
String
public Boolean isStopOnErrors()
Boolean
public void setStopOnErrors(Boolean value)
value
- allowed object is
Boolean
public Boolean isWildcard()
Boolean
public void setWildcard(Boolean value)
value
- allowed object is
Boolean
public Boolean isTrimStrings()
Boolean
public void setTrimStrings(Boolean value)
value
- allowed object is
Boolean
public Boolean isMapNull()
Boolean
public void setMapNull(Boolean value)
value
- allowed object is
Boolean
public Boolean isMapEmptyString()
Boolean
public void setMapEmptyString(Boolean value)
value
- allowed object is
Boolean
public String getBeanFactory()
String
public void setBeanFactory(String value)
value
- allowed object is
String
public void setType(Type value)
value
- allowed object is
Type
public Relationship getRelationshipType()
Relationship
public void setRelationshipType(Relationship value)
value
- allowed object is
Relationship
public String getMapId()
String
Copyright © 2022 JBoss by Red Hat. All rights reserved.