energyml.common2_1.Activity Maven / Gradle / Ivy
Show all versions of energyml-prodml20 Show documentation
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.0
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2022.10.13 at 08:02:05 PM UTC
//
package energyml.common2_1;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
/**
* Instance of a given activity
*
* Java class for Activity complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Activity">
* <complexContent>
* <extension base="{http://www.energistics.org/energyml/data/commonv2}AbstractObject">
* <sequence>
* <element name="ActivityDescriptor" type="energyml.common2_1.DataObjectReference"/>
* <element name="Parent" type="energyml.common2_1.DataObjectReference" minOccurs="0"/>
* <element name="Parameter" type="energyml.common2_1.AbstractActivityParameter" maxOccurs="unbounded"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Activity", propOrder = {
"activityDescriptor",
"parent",
"parameter"
})
public class Activity
extends AbstractObject
{
@XmlElement(name = "ActivityDescriptor", required = true)
protected DataObjectReference activityDescriptor;
@XmlElement(name = "Parent")
protected DataObjectReference parent;
@XmlElement(name = "Parameter", required = true)
protected List parameter;
/**
* Gets the value of the activityDescriptor property.
*
* @return
* possible object is
* {@link DataObjectReference }
*
*/
public DataObjectReference getActivityDescriptor() {
return activityDescriptor;
}
/**
* Sets the value of the activityDescriptor property.
*
* @param value
* allowed object is
* {@link DataObjectReference }
*
*/
public void setActivityDescriptor(DataObjectReference value) {
this.activityDescriptor = value;
}
/**
* Gets the value of the parent property.
*
* @return
* possible object is
* {@link DataObjectReference }
*
*/
public DataObjectReference getParent() {
return parent;
}
/**
* Sets the value of the parent property.
*
* @param value
* allowed object is
* {@link DataObjectReference }
*
*/
public void setParent(DataObjectReference value) {
this.parent = value;
}
/**
* Gets the value of the parameter 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 Jakarta XML Binding object.
* This is why there is not a set
method for the parameter property.
*
*
* For example, to add a new item, do as follows:
*
* getParameter().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AbstractActivityParameter }
*
*
*/
public List getParameter() {
if (parameter == null) {
parameter = new ArrayList();
}
return this.parameter;
}
}