io.atlasmap.v2.AtlasMapping Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2018.02.13 at 05:24:46 PM EST
//
package io.atlasmap.v2;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import com.fasterxml.jackson.annotation.JsonRootName;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
/**
* Java class for AtlasMapping complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="AtlasMapping">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="DataSource" type="{http://atlasmap.io/v2}DataSource" maxOccurs="unbounded"/>
* <element name="Mappings" type="{http://atlasmap.io/v2}Mappings"/>
* <element name="LookupTables" type="{http://atlasmap.io/v2}LookupTables" minOccurs="0"/>
* <element name="Properties" type="{http://atlasmap.io/v2}Properties" minOccurs="0"/>
* </sequence>
* <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AtlasMapping", propOrder = {
"dataSource",
"mappings",
"lookupTables",
"properties"
})
@XmlRootElement(name = "AtlasMapping")
@JsonRootName("AtlasMapping")
@JsonTypeInfo(include = JsonTypeInfo.As.PROPERTY, use = JsonTypeInfo.Id.CLASS, property = "jsonType")
public class AtlasMapping
implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlElement(name = "DataSource", required = true)
protected List dataSource;
@XmlElement(name = "Mappings", required = true)
protected Mappings mappings;
@XmlElement(name = "LookupTables")
protected LookupTables lookupTables;
@XmlElement(name = "Properties")
protected Properties properties;
@XmlAttribute(name = "name", required = true)
protected String name;
/**
* Gets the value of the dataSource property.
*
*
* 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 dataSource property.
*
*
* For example, to add a new item, do as follows:
*
* getDataSource().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DataSource }
*
*
*/
public List getDataSource() {
if (dataSource == null) {
dataSource = new ArrayList();
}
return this.dataSource;
}
/**
* Gets the value of the mappings property.
*
* @return
* possible object is
* {@link Mappings }
*
*/
public Mappings getMappings() {
return mappings;
}
/**
* Sets the value of the mappings property.
*
* @param value
* allowed object is
* {@link Mappings }
*
*/
public void setMappings(Mappings value) {
this.mappings = value;
}
/**
* Gets the value of the lookupTables property.
*
* @return
* possible object is
* {@link LookupTables }
*
*/
public LookupTables getLookupTables() {
return lookupTables;
}
/**
* Sets the value of the lookupTables property.
*
* @param value
* allowed object is
* {@link LookupTables }
*
*/
public void setLookupTables(LookupTables value) {
this.lookupTables = value;
}
/**
* Gets the value of the properties property.
*
* @return
* possible object is
* {@link Properties }
*
*/
public Properties getProperties() {
return properties;
}
/**
* Sets the value of the properties property.
*
* @param value
* allowed object is
* {@link Properties }
*
*/
public void setProperties(Properties value) {
this.properties = value;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
}