com.netgrif.application.engine.importer.model.Mapping Maven / Gradle / Ivy
Show all versions of application-engine Show documentation
package com.netgrif.application.engine.importer.model;
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.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for mapping complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="mapping">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="transitionRef" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="roleRef" type="{}roleRef" maxOccurs="unbounded" minOccurs="0"/>
* <element name="dataRef" type="{}dataRef" maxOccurs="unbounded" minOccurs="0"/>
* <element name="dataGroup" type="{}dataGroup" maxOccurs="unbounded" minOccurs="0"/>
* <element name="trigger" type="{}trigger" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "mapping", propOrder = {
"id",
"transitionRef",
"roleRef",
"dataRef",
"dataGroup",
"trigger"
})
public class Mapping {
@XmlElement(required = true)
protected String id;
@XmlElement(required = true)
protected String transitionRef;
protected List roleRef;
protected List dataRef;
protected List dataGroup;
protected List trigger;
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
/**
* Gets the value of the transitionRef property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTransitionRef() {
return transitionRef;
}
/**
* Sets the value of the transitionRef property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTransitionRef(String value) {
this.transitionRef = value;
}
/**
* Gets the value of the roleRef 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 roleRef property.
*
*
* For example, to add a new item, do as follows:
*
* getRoleRef().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link RoleRef }
*
*
*/
public List getRoleRef() {
if (roleRef == null) {
roleRef = new ArrayList();
}
return this.roleRef;
}
/**
* Gets the value of the dataRef 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 dataRef property.
*
*
* For example, to add a new item, do as follows:
*
* getDataRef().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DataRef }
*
*
*/
public List getDataRef() {
if (dataRef == null) {
dataRef = new ArrayList();
}
return this.dataRef;
}
/**
* Gets the value of the dataGroup 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 dataGroup property.
*
*
* For example, to add a new item, do as follows:
*
* getDataGroup().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DataGroup }
*
*
*/
public List getDataGroup() {
if (dataGroup == null) {
dataGroup = new ArrayList();
}
return this.dataGroup;
}
/**
* Gets the value of the trigger 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 trigger property.
*
*
* For example, to add a new item, do as follows:
*
* getTrigger().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Trigger }
*
*
*/
public List getTrigger() {
if (trigger == null) {
trigger = new ArrayList();
}
return this.trigger;
}
}