fish.focus.schema.movementrules.asset.v1.AssetId Maven / Gradle / Ivy
Show all versions of movement-rules-model Show documentation
package fish.focus.schema.movementrules.asset.v1;
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.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for AssetId complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="AssetId">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="assetType" type="{urn:asset.movementrules.schema.focus.fish:v1}AssetType"/>
* <element name="assetIdList" type="{urn:asset.movementrules.schema.focus.fish:v1}AssetIdList" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AssetId", propOrder = {
"assetType",
"assetIdList"
})
public class AssetId
implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlElement(required = true)
@XmlSchemaType(name = "string")
protected AssetType assetType;
@XmlElement(required = true)
protected List assetIdList;
/**
* Gets the value of the assetType property.
*
* @return
* possible object is
* {@link AssetType }
*
*/
public AssetType getAssetType() {
return assetType;
}
/**
* Sets the value of the assetType property.
*
* @param value
* allowed object is
* {@link AssetType }
*
*/
public void setAssetType(AssetType value) {
this.assetType = value;
}
/**
* Gets the value of the assetIdList 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 assetIdList property.
*
*
* For example, to add a new item, do as follows:
*
* getAssetIdList().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AssetIdList }
*
*
*/
public List getAssetIdList() {
if (assetIdList == null) {
assetIdList = new ArrayList();
}
return this.assetIdList;
}
}