com.netgrif.application.engine.importer.model.Actions 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.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for actions complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="actions">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="action" type="{}action" maxOccurs="unbounded" minOccurs="0"/>
* <element name="actionRef" type="{}actionRef" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="phase" use="required" type="{}eventPhaseType" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "actions", propOrder = {
"action",
"actionRef"
})
public class Actions {
protected List action;
protected List actionRef;
@XmlAttribute(name = "phase", required = true)
protected EventPhaseType phase;
/**
* Gets the value of the action 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 action property.
*
*
* For example, to add a new item, do as follows:
*
* getAction().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Action }
*
*
*/
public List getAction() {
if (action == null) {
action = new ArrayList();
}
return this.action;
}
/**
* Gets the value of the actionRef 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 actionRef property.
*
*
* For example, to add a new item, do as follows:
*
* getActionRef().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ActionRef }
*
*
*/
public List getActionRef() {
if (actionRef == null) {
actionRef = new ArrayList();
}
return this.actionRef;
}
/**
* Gets the value of the phase property.
*
* @return
* possible object is
* {@link EventPhaseType }
*
*/
public EventPhaseType getPhase() {
return phase;
}
/**
* Sets the value of the phase property.
*
* @param value
* allowed object is
* {@link EventPhaseType }
*
*/
public void setPhase(EventPhaseType value) {
this.phase = value;
}
}