com.netgrif.application.engine.importer.model.DataRef 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 dataRef complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="dataRef">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="logic" type="{}logic"/>
* <element name="layout" type="{}layout" minOccurs="0"/>
* <element name="component" type="{}component" minOccurs="0"/>
* <element name="event" type="{}dataEvent" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "dataRef", propOrder = {
"id",
"logic",
"layout",
"component",
"event"
})
public class DataRef {
@XmlElement(required = true)
protected String id;
@XmlElement(required = true)
protected Logic logic;
protected Layout layout;
protected Component component;
protected List event;
/**
* 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 logic property.
*
* @return
* possible object is
* {@link Logic }
*
*/
public Logic getLogic() {
return logic;
}
/**
* Sets the value of the logic property.
*
* @param value
* allowed object is
* {@link Logic }
*
*/
public void setLogic(Logic value) {
this.logic = value;
}
/**
* Gets the value of the layout property.
*
* @return
* possible object is
* {@link Layout }
*
*/
public Layout getLayout() {
return layout;
}
/**
* Sets the value of the layout property.
*
* @param value
* allowed object is
* {@link Layout }
*
*/
public void setLayout(Layout value) {
this.layout = value;
}
/**
* Gets the value of the component property.
*
* @return
* possible object is
* {@link Component }
*
*/
public Component getComponent() {
return component;
}
/**
* Sets the value of the component property.
*
* @param value
* allowed object is
* {@link Component }
*
*/
public void setComponent(Component value) {
this.component = value;
}
/**
* Gets the value of the event 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 event property.
*
*
* For example, to add a new item, do as follows:
*
* getEvent().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DataEvent }
*
*
*/
public List getEvent() {
if (event == null) {
event = new ArrayList();
}
return this.event;
}
}