/*
* Geotoolkit - An Open Source Java GIS Toolkit
* http://www.geotoolkit.org
*
* (C) 2008 - 2009, Geomatys
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*/
package org.geotoolkit.sml.xml.v101;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.geotoolkit.gml.xml.v311.AbstractGMLType;
import org.geotoolkit.gml.xml.v311.StringOrRefType;
import org.geotoolkit.gml.xml.v311.TimeInstantType;
import org.geotoolkit.gml.xml.v311.TimePeriodType;
import org.geotoolkit.sml.xml.AbstractAlgorithm;
import org.geotoolkit.sml.xml.AbstractAlgorithmDefinition;
import org.geotoolkit.sml.xml.AbstractBinaryRef;
import org.geotoolkit.sml.xml.AbstractCapabilities;
import org.geotoolkit.sml.xml.AbstractCharacteristics;
import org.geotoolkit.sml.xml.AbstractClassification;
import org.geotoolkit.sml.xml.AbstractContact;
import org.geotoolkit.sml.xml.AbstractDocumentation;
import org.geotoolkit.sml.xml.AbstractHistory;
import org.geotoolkit.sml.xml.AbstractIdentification;
import org.geotoolkit.sml.xml.AbstractImplementation;
import org.geotoolkit.sml.xml.AbstractImplementationCode;
import org.geotoolkit.sml.xml.AbstractKeywords;
import org.geotoolkit.sml.xml.AbstractLegalConstraint;
import org.geotoolkit.sml.xml.AbstractMathML;
import org.geotoolkit.sml.xml.AbstractProcessMethod;
import org.geotoolkit.sml.xml.AbstractRelaxNG;
import org.geotoolkit.sml.xml.AbstractRules;
import org.geotoolkit.sml.xml.AbstractRulesDefinition;
import org.geotoolkit.sml.xml.AbstractSchematron;
import org.geotoolkit.sml.xml.AbstractSourceRef;
import org.geotoolkit.sml.xml.AbstractValidTime;
import org.geotoolkit.swe.xml.v101.DataRecordType;
import org.apache.sis.metadata.MetadataStandard;
/**
* Complex Type for process methods definition
*
* <p>Java class for ProcessMethodType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="ProcessMethodType">
* <complexContent>
* <extension base="{http://www.opengis.net/gml}AbstractGMLType">
* <sequence>
* <group ref="{http://www.opengis.net/sensorML/1.0.1}metadataGroup" minOccurs="0"/>
* <element name="rules">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="RulesDefinition">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://www.opengis.net/gml}description" minOccurs="0"/>
* <element ref="{http://www.opengis.net/sensorML/1.0.1}ruleLanguage" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="algorithm" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="AlgorithmDefinition">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://www.opengis.net/gml}description" minOccurs="0"/>
* <element name="mathML" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence minOccurs="0">
* <any/>
* </sequence>
* <attGroup ref="{http://www.opengis.net/gml}AssociationAttributeGroup"/>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="implementation" maxOccurs="unbounded" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <choice minOccurs="0">
* <element ref="{http://www.opengis.net/sensorML/1.0.1}ProcessChain"/>
* <element name="ImplementationCode">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://www.opengis.net/gml}description" minOccurs="0"/>
* <group ref="{http://www.opengis.net/sensorML/1.0.1}metadataGroup" minOccurs="0"/>
* <element name="sourceRef" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attGroup ref="{http://www.opengis.net/gml}AssociationAttributeGroup"/>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="binaryRef" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attGroup ref="{http://www.opengis.net/gml}AssociationAttributeGroup"/>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* <attribute name="language" use="required" type="{http://www.w3.org/2001/XMLSchema}token" />
* <attribute name="framework" type="{http://www.w3.org/2001/XMLSchema}token" />
* <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}token" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </choice>
* <attGroup ref="{http://www.opengis.net/gml}AssociationAttributeGroup"/>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
* </pre>
*
*
* @module
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ProcessMethodType", propOrder = {
"keywords",
"identification",
"classification",
"validTime",
"securityConstraint",
"legalConstraint",
"characteristics",
"capabilities",
"contact",
"documentation",
"history",
"rules",
"algorithm",
"implementation"
})
public class ProcessMethodType extends AbstractGMLType implements AbstractProcessMethod {
private List<Keywords> keywords;
private List<Identification> identification;
private List<Classification> classification;
private ValidTime validTime;
private SecurityConstraint securityConstraint;
private List<LegalConstraint> legalConstraint;
private List<Characteristics> characteristics;
private List<Capabilities> capabilities;
private List<Contact> contact;
private List<Documentation> documentation;
private List<History> history;
@XmlElement(required = true)
private ProcessMethodType.Rules rules;
private ProcessMethodType.Algorithm algorithm;
private List<ProcessMethodType.Implementation> implementation;
public ProcessMethodType() {
}
public ProcessMethodType(final AbstractProcessMethod method) {
super(method);
if (method != null) {
if (method.getAlgorithm() != null) {
this.algorithm = new Algorithm(method.getAlgorithm());
}
if (method.getImplementation() != null) {
this.implementation = new ArrayList<Implementation>();
for (AbstractImplementation oldImp : method.getImplementation()) {
this.implementation.add(new Implementation(oldImp));
}
}
if (method.getRules() != null) {
this.rules = new Rules(method.getRules());
}
if (method.getCapabilities() != null) {
this.capabilities = new ArrayList<Capabilities>();
for (AbstractCapabilities oldCapa : method.getCapabilities()) {
this.capabilities.add(new Capabilities(oldCapa));
}
}
if (method.getCharacteristics() != null) {
this.characteristics = new ArrayList<Characteristics>();
for (AbstractCharacteristics oldChar : method.getCharacteristics()) {
this.characteristics.add(new Characteristics(oldChar));
}
}
if (method.getClassification() != null) {
this.classification = new ArrayList<Classification>();
for (AbstractClassification oldClass : method.getClassification()) {
this.classification.add(new Classification(oldClass));
}
}
if (method.getContact() != null) {
this.contact = new ArrayList<Contact>();
for (AbstractContact oldContact : method.getContact()) {
this.contact.add(new Contact(oldContact));
}
}
if (method.getDocumentation() != null) {
this.documentation = new ArrayList<Documentation>();
for (AbstractDocumentation oldDoc : method.getDocumentation()) {
this.documentation.add(new Documentation(oldDoc));
}
}
if (method.getHistory() != null) {
this.history = new ArrayList<History>();
for (AbstractHistory oldhist : method.getHistory()) {
this.history.add(new History(oldhist));
}
}
if (method.getIdentification() != null) {
this.identification = new ArrayList<Identification>();
for (AbstractIdentification oldIdent : method.getIdentification()) {
this.identification.add(new Identification(oldIdent));
}
}
if (method.getKeywords() != null) {
this.keywords = new ArrayList<Keywords>();
for (AbstractKeywords oldKeyw : method.getKeywords()) {
this.keywords.add(new Keywords(oldKeyw));
}
}
if (method.getLegalConstraint() != null) {
this.legalConstraint = new ArrayList<LegalConstraint>();
for (AbstractLegalConstraint oldcons : method.getLegalConstraint()) {
this.legalConstraint.add(new LegalConstraint(oldcons));
}
}
if (method.getLegalConstraint() != null) {
this.securityConstraint = new SecurityConstraint(method.getSecurityConstraint());
}
if (method.getValidTime() != null) {
this.validTime = new ValidTime(method.getValidTime());
}
}
}
@Override
public MetadataStandard getStandard() {
return SensorMLStandard.COMPONENT;
}
/**
* Gets the value of the keywords property.
*/
public List<Keywords> getKeywords() {
if (keywords == null) {
keywords = new ArrayList<Keywords>();
}
return this.keywords;
}
/**
* Sets the value of the keywords property.
*
*/
public void setKeywords(final List<Keywords> keywords) {
this.keywords = keywords;
}
/**
* Sets the value of the keywords property.
*
*/
public void setKeywords(final Keywords keywords) {
if (keywords != null) {
if (this.keywords == null) {
this.keywords = new ArrayList<Keywords>();
}
this.keywords.add(keywords);
}
}
/**
* Gets the value of the identification property.
*
*/
public List<Identification> getIdentification() {
if (identification == null) {
identification = new ArrayList<Identification>();
}
return this.identification;
}
/**
* Sets the value of the keywords property.
*
*/
public void setIdentification(final List<Identification> identification) {
this.identification = identification;
}
/**
* Sets the value of the keywords property.
*
*/
public void setIdentification(final Identification identification) {
if (identification != null) {
if (this.identification == null) {
this.identification = new ArrayList<Identification>();
}
this.identification.add(identification);
}
}
/**
* Sets the value of the keywords property.
*
*/
public void setIdentification(final IdentifierList identification) {
if (identification != null) {
if (this.identification == null) {
this.identification = new ArrayList<Identification>();
}
this.identification.add(new Identification(identification));
}
}
/**
* Gets the value of the classification property.
*/
public List<Classification> getClassification() {
if (classification == null) {
classification = new ArrayList<Classification>();
}
return this.classification;
}
/**
* Sets the value of the keywords property.
*
*/
public void setClassification(final List<Classification> classification) {
this.classification = classification;
}
/**
* Sets the value of the keywords property.
*
*/
public void setClassification(final Classification classification) {
if (classification != null) {
if (this.classification == null) {
this.classification = new ArrayList<Classification>();
}
this.classification.add(classification);
}
}
/**
* Sets the value of the keywords property.
*
*/
public void setClassification(final ClassifierList classification) {
if (classification != null) {
if (this.classification == null) {
this.classification = new ArrayList<Classification>();
}
this.classification.add(new Classification(classification));
}
}
/**
* Gets the value of the validTime property.
*
* @return
* possible object is
* {@link ValidTime }
*
*/
public ValidTime getValidTime() {
return validTime;
}
/**
* Sets the value of the validTime property.
*/
public void setValidTime(final AbstractValidTime value) {
this.validTime = new ValidTime(value);
}
/**
* Sets the value of the validTime property.
*/
public void setValidTime(final TimePeriodType value) {
this.validTime = new ValidTime(value);
}
/**
* Sets the value of the validTime property.
*/
public void setValidTime(final TimeInstantType value) {
this.validTime = new ValidTime(value);
}
/**
* Gets the value of the securityConstraint property.
*
* @return
* possible object is
* {@link SecurityConstraint }
*
*/
public SecurityConstraint getSecurityConstraint() {
return securityConstraint;
}
/**
* Sets the value of the securityConstraint property.
*
* @param value
* allowed object is
* {@link SecurityConstraint }
*
*/
public void setSecurityConstraint(final SecurityConstraint value) {
this.securityConstraint = value;
}
/**
* Gets the value of the legalConstraint property.
*/
public List<LegalConstraint> getLegalConstraint() {
if (legalConstraint == null) {
legalConstraint = new ArrayList<LegalConstraint>();
}
return this.legalConstraint;
}
/**
* Gets the value of the legalConstraint property.
*
*/
public void setLegalConstraint(final LegalConstraint legalConstraint) {
if (legalConstraint != null) {
if (this.legalConstraint == null) {
this.legalConstraint = new ArrayList<LegalConstraint>();
}
this.legalConstraint.add(legalConstraint);
}
}
/**
* Gets the value of the legalConstraint property.
*
*/
public void setLegalConstraint(final Rights legalConstraint) {
if (legalConstraint != null) {
if (this.legalConstraint == null) {
this.legalConstraint = new ArrayList<LegalConstraint>();
}
this.legalConstraint.add(new LegalConstraint(legalConstraint));
}
}
/**
* Gets the value of the legalConstraint property.
*
*/
public void setLegalConstraint(final List<LegalConstraint> legalConstraint) {
this.legalConstraint = legalConstraint;
}
/**
* Gets the value of the characteristics property.
*/
public List<Characteristics> getCharacteristics() {
if (characteristics == null) {
characteristics = new ArrayList<Characteristics>();
}
return this.characteristics;
}
/**
* Sets the value of the characteristics property.
*
*/
public void setCharacteristics(final List<Characteristics> characteristics) {
this.characteristics = characteristics;
}
/**
* Sets the value of the characteristics property.
*
*/
public void setCharacteristics(final Characteristics characteristics) {
if (characteristics != null) {
if (this.characteristics == null) {
this.characteristics = new ArrayList<Characteristics>();
}
this.characteristics.add(characteristics);
}
}
/**
* Sets the value of the characteristics property.
*
*/
public void setCharacteristics(final DataRecordType characteristics) {
if (characteristics != null) {
if (this.characteristics == null) {
this.characteristics = new ArrayList<Characteristics>();
}
this.characteristics.add(new Characteristics(characteristics));
}
}
/**
* Gets the value of the capabilities property.
*/
public List<Capabilities> getCapabilities() {
if (capabilities == null) {
capabilities = new ArrayList<Capabilities>();
}
return this.capabilities;
}
/**
* Sets the value of the capabilities property.
*
*/
public void setCapabilities(final Capabilities capabilties) {
if (capabilties != null) {
if (this.capabilities == null) {
this.capabilities = new ArrayList<Capabilities>();
}
this.capabilities.add(capabilties);
}
}
/**
* Sets the value of the capabilities property.
*
*/
public void setCapabilities(final DataRecordType capabilties) {
if (capabilties != null) {
if (this.capabilities == null) {
this.capabilities = new ArrayList<Capabilities>();
}
this.capabilities.add(new Capabilities(capabilties));
}
}
/**
* Sets the value of the capabilities property.
*
*/
public void setCapabilities(final List<Capabilities> capabilities) {
this.capabilities = capabilities;
}
/**
* Gets the value of the contact property.
*/
public List<Contact> getContact() {
if (contact == null) {
contact = new ArrayList<Contact>();
}
return this.contact;
}
/**
* Sets the value of the contact property.
*
*/
public void setContact(final Contact contact) {
if (contact != null) {
if (this.contact == null) {
this.contact = new ArrayList<Contact>();
}
this.contact.add(contact);
}
}
/**
* Sets the value of the contact property.
*
*/
public void setContact(final ResponsibleParty contact) {
if (contact != null) {
if (this.contact == null) {
this.contact = new ArrayList<Contact>();
}
this.contact.add(new Contact(contact));
}
}
/**
* sets the value of the contact property.
*
*/
public void setContact(final List<Contact> contact) {
this.contact = contact;
}
/**
* Gets the value of the documentation property.
*/
public List<Documentation> getDocumentation() {
if (documentation == null) {
documentation = new ArrayList<Documentation>();
}
return this.documentation;
}
/**
* Sets the value of the contact property.
*
*/
public void setDocumentation(final Documentation documentation) {
if (documentation != null) {
if (this.documentation == null) {
this.documentation = new ArrayList<Documentation>();
}
this.documentation.add(documentation);
}
}
/**
* Sets the value of the contact property.
*
*/
public void setDocumentation(final Document documentation) {
if (documentation != null) {
if (this.documentation == null) {
this.documentation = new ArrayList<Documentation>();
}
this.documentation.add(new Documentation(documentation));
}
}
/**
* sets the value of the contact property.
*
*/
public void setDocumentation(final List<Documentation> documentation) {
this.documentation = documentation;
}
/**
* Gets the value of the history property.
*/
public List<History> getHistory() {
if (history == null) {
history = new ArrayList<History>();
}
return this.history;
}
/**
* Sets the value of the history property.
*/
public void setHistory(final List<History> history) {
this.history = history;
}
/**
* Sets the value of the history property.
*/
public void setHistory(final History history) {
if (history != null) {
if (this.history == null) {
this.history = new ArrayList<History>();
}
this.history.add(history);
}
}
/**
* Gets the value of the rules property.
*
* @return
* possible object is
* {@link ProcessMethodType.Rules }
*
*/
public ProcessMethodType.Rules getRules() {
return rules;
}
/**
* Sets the value of the rules property.
*
* @param value
* allowed object is
* {@link ProcessMethodType.Rules }
*
*/
public void setRules(final ProcessMethodType.Rules value) {
this.rules = value;
}
/**
* Gets the value of the algorithm property.
*
* @return
* possible object is
* {@link ProcessMethodType.Algorithm }
*
*/
public ProcessMethodType.Algorithm getAlgorithm() {
return algorithm;
}
/**
* Sets the value of the algorithm property.
*
* @param value
* allowed object is
* {@link ProcessMethodType.Algorithm }
*
*/
public void setAlgorithm(final ProcessMethodType.Algorithm value) {
this.algorithm = value;
}
/**
* Gets the value of the implementation property.
* Objects of the following type(s) are allowed in the list
* {@link ProcessMethodType.Implementation }
*
*
*/
public List<ProcessMethodType.Implementation> getImplementation() {
if (implementation == null) {
implementation = new ArrayList<ProcessMethodType.Implementation>();
}
return this.implementation;
}
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="AlgorithmDefinition">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://www.opengis.net/gml}description" minOccurs="0"/>
* <element name="mathML" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence minOccurs="0">
* <any/>
* </sequence>
* <attGroup ref="{http://www.opengis.net/gml}AssociationAttributeGroup"/>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"algorithmDefinition"
})
public static class Algorithm implements AbstractAlgorithm {
@XmlElement(name = "AlgorithmDefinition", required = true)
private ProcessMethodType.Algorithm.AlgorithmDefinition algorithmDefinition;
public Algorithm() {
}
public Algorithm(final AbstractAlgorithm algo) {
if (algo != null && algo.getAlgorithmDefinition() != null) {
this.algorithmDefinition = new AlgorithmDefinition(algo.getAlgorithmDefinition());
}
}
/**
* Gets the value of the algorithmDefinition property.
*
* @return
* possible object is
* {@link ProcessMethodType.Algorithm.AlgorithmDefinition }
*
*/
public ProcessMethodType.Algorithm.AlgorithmDefinition getAlgorithmDefinition() {
return algorithmDefinition;
}
/**
* Sets the value of the algorithmDefinition property.
*
* @param value
* allowed object is
* {@link ProcessMethodType.Algorithm.AlgorithmDefinition }
*
*/
public void setAlgorithmDefinition(final ProcessMethodType.Algorithm.AlgorithmDefinition value) {
this.algorithmDefinition = value;
}
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://www.opengis.net/gml}description" minOccurs="0"/>
* <element name="mathML" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence minOccurs="0">
* <any/>
* </sequence>
* <attGroup ref="{http://www.opengis.net/gml}AssociationAttributeGroup"/>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"description",
"mathML"
})
public static class AlgorithmDefinition implements AbstractAlgorithmDefinition {
@XmlElement(namespace = "http://www.opengis.net/gml")
private StringOrRefType description;
private ProcessMethodType.Algorithm.AlgorithmDefinition.MathML mathML;
public AlgorithmDefinition() {
}
public AlgorithmDefinition(final AbstractAlgorithmDefinition ald) {
if (ald != null) {
this.description = ald.getDescription();
if (ald.getMathML() != null) {
this.mathML = new MathML(ald.getMathML());
}
}
}
/**
* Textual description of the algorithm
*
* @return
* possible object is
* {@link StringOrRefType }
*
*/
public StringOrRefType getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link StringOrRefType }
*
*/
public void setDescription(final StringOrRefType value) {
this.description = value;
}
/**
* Gets the value of the mathML property.
*
* @return
* possible object is
* {@link ProcessMethodType.Algorithm.AlgorithmDefinition.MathML }
*
*/
public ProcessMethodType.Algorithm.AlgorithmDefinition.MathML getMathML() {
return mathML;
}
/**
* Sets the value of the mathML property.
*
* @param value
* allowed object is
* {@link ProcessMethodType.Algorithm.AlgorithmDefinition.MathML }
*
*/
public void setMathML(final ProcessMethodType.Algorithm.AlgorithmDefinition.MathML value) {
this.mathML = value;
}
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence minOccurs="0">
* <any/>
* </sequence>
* <attGroup ref="{http://www.opengis.net/gml}AssociationAttributeGroup"/>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"any"
})
public static class MathML implements AbstractMathML {
@XmlAnyElement(lax = true)
private Object any;
@XmlAttribute(namespace = "http://www.opengis.net/gml")
@XmlSchemaType(name = "anyURI")
private String remoteSchema;
@XmlAttribute(namespace = "http://www.w3.org/1999/xlink")
private String type;
@XmlAttribute(namespace = "http://www.w3.org/1999/xlink")
@XmlSchemaType(name = "anyURI")
private String href;
@XmlAttribute(namespace = "http://www.w3.org/1999/xlink")
@XmlSchemaType(name = "anyURI")
private String role;
@XmlAttribute(namespace = "http://www.w3.org/1999/xlink")
@XmlSchemaType(name = "anyURI")
private String arcrole;
@XmlAttribute(namespace = "http://www.w3.org/1999/xlink")
private String title;
@XmlAttribute(namespace = "http://www.w3.org/1999/xlink")
private String show;
@XmlAttribute(namespace = "http://www.w3.org/1999/xlink")
private String actuate;
public MathML() {
}
public MathML(final AbstractMathML mat) {
if (mat != null) {
this.actuate = mat.getActuate();
this.remoteSchema = mat.getRemoteSchema();
this.any = mat.getAny();
this.arcrole = mat.getArcrole();
this.href = mat.getHref();
this.role = mat.getRole();
this.show = mat.getShow();
this.title = mat.getTitle();
this.type = mat.getType();
}
}
/**
* Gets the value of the any property.
*
* @return
* possible object is
* {@link Element }
* {@link Object }
*
*/
public Object getAny() {
return any;
}
/**
* Sets the value of the any property.
*
* @param value
* allowed object is
* {@link Element }
* {@link Object }
*
*/
public void setAny(final Object value) {
this.any = value;
}
public List<String> getNilReason() {
return new ArrayList<String>();
}
/**
* Gets the value of the remoteSchema property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRemoteSchema() {
return remoteSchema;
}
/**
* Sets the value of the remoteSchema property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRemoteSchema(final String value) {
this.remoteSchema = value;
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setType(final String value) {
this.type = value;
}
/**
* Gets the value of the href property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getHref() {
return href;
}
/**
* Sets the value of the href property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setHref(final String value) {
this.href = value;
}
/**
* Gets the value of the role property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRole() {
return role;
}
/**
* Sets the value of the role property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRole(final String value) {
this.role = value;
}
/**
* Gets the value of the arcrole property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getArcrole() {
return arcrole;
}
/**
* Sets the value of the arcrole property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setArcrole(final String value) {
this.arcrole = value;
}
/**
* Gets the value of the title property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTitle() {
return title;
}
/**
* Sets the value of the title property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTitle(final String value) {
this.title = value;
}
/**
* Gets the value of the show property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getShow() {
return show;
}
/**
* Sets the value of the show property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setShow(final String value) {
this.show = value;
}
/**
* Gets the value of the actuate property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getActuate() {
return actuate;
}
/**
* Sets the value of the actuate property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setActuate(final String value) {
this.actuate = value;
}
}
}
}
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <choice minOccurs="0">
* <element ref="{http://www.opengis.net/sensorML/1.0.1}ProcessChain"/>
* <element name="ImplementationCode">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://www.opengis.net/gml}description" minOccurs="0"/>
* <group ref="{http://www.opengis.net/sensorML/1.0.1}metadataGroup" minOccurs="0"/>
* <element name="sourceRef" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attGroup ref="{http://www.opengis.net/gml}AssociationAttributeGroup"/>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="binaryRef" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attGroup ref="{http://www.opengis.net/gml}AssociationAttributeGroup"/>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* <attribute name="language" use="required" type="{http://www.w3.org/2001/XMLSchema}token" />
* <attribute name="framework" type="{http://www.w3.org/2001/XMLSchema}token" />
* <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}token" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </choice>
* <attGroup ref="{http://www.opengis.net/gml}AssociationAttributeGroup"/>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"processChain",
"implementationCode"
})
public static class Implementation implements AbstractImplementation {
@XmlElement(name = "ProcessChain")
private ProcessChainType processChain;
@XmlElement(name = "ImplementationCode")
private ProcessMethodType.Implementation.ImplementationCode implementationCode;
@XmlAttribute(namespace = "http://www.opengis.net/gml")
@XmlSchemaType(name = "anyURI")
private String remoteSchema;
@XmlAttribute(namespace = "http://www.w3.org/1999/xlink")
private String type;
@XmlAttribute(namespace = "http://www.w3.org/1999/xlink")
@XmlSchemaType(name = "anyURI")
private String href;
@XmlAttribute(namespace = "http://www.w3.org/1999/xlink")
@XmlSchemaType(name = "anyURI")
private String role;
@XmlAttribute(namespace = "http://www.w3.org/1999/xlink")
@XmlSchemaType(name = "anyURI")
private String arcrole;
@XmlAttribute(namespace = "http://www.w3.org/1999/xlink")
private String title;
@XmlAttribute(namespace = "http://www.w3.org/1999/xlink")
private String show;
@XmlAttribute(namespace = "http://www.w3.org/1999/xlink")
private String actuate;
public Implementation() {
}
public Implementation(final AbstractImplementation imp) {
if (imp != null) {
this.actuate = imp.getActuate();
this.arcrole = imp.getArcrole();
this.href = imp.getHref();
this.role = imp.getRole();
this.show = imp.getShow();
this.title = imp.getTitle();
this.type = imp.getType();
this.remoteSchema = imp.getRemoteSchema();
if (imp.getProcessChain() != null) {
this.processChain = new ProcessChainType(imp.getProcessChain());
}
if (imp.getImplementationCode() != null) {
this.implementationCode = new ImplementationCode(imp.getImplementationCode());
}
}
}
public List<String> getNilReason() {
return new ArrayList<String>();
}
/**
* Gets the value of the processChain property.
*
* @return
* possible object is
* {@link ProcessChainType }
*
*/
public ProcessChainType getProcessChain() {
return processChain;
}
/**
* Sets the value of the processChain property.
*
* @param value
* allowed object is
* {@link ProcessChainType }
*
*/
public void setProcessChain(final ProcessChainType value) {
this.processChain = value;
}
/**
* Gets the value of the implementationCode property.
*
* @return
* possible object is
* {@link ProcessMethodType.Implementation.ImplementationCode }
*
*/
public ProcessMethodType.Implementation.ImplementationCode getImplementationCode() {
return implementationCode;
}
/**
* Sets the value of the implementationCode property.
*
* @param value
* allowed object is
* {@link ProcessMethodType.Implementation.ImplementationCode }
*
*/
public void setImplementationCode(final ProcessMethodType.Implementation.ImplementationCode value) {
this.implementationCode = value;
}
/**
* Gets the value of the remoteSchema property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRemoteSchema() {
return remoteSchema;
}
/**
* Sets the value of the remoteSchema property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRemoteSchema(final String value) {
this.remoteSchema = value;
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setType(final String value) {
this.type = value;
}
/**
* Gets the value of the href property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getHref() {
return href;
}
/**
* Sets the value of the href property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setHref(final String value) {
this.href = value;
}
/**
* Gets the value of the role property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRole() {
return role;
}
/**
* Sets the value of the role property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRole(final String value) {
this.role = value;
}
/**
* Gets the value of the arcrole property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getArcrole() {
return arcrole;
}
/**
* Sets the value of the arcrole property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setArcrole(final String value) {
this.arcrole = value;
}
/**
* Gets the value of the title property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTitle() {
return title;
}
/**
* Sets the value of the title property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTitle(final String value) {
this.title = value;
}
/**
* Gets the value of the show property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getShow() {
return show;
}
/**
* Sets the value of the show property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setShow(final String value) {
this.show = value;
}
/**
* Gets the value of the actuate property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getActuate() {
return actuate;
}
/**
* Sets the value of the actuate property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setActuate(final String value) {
this.actuate = value;
}
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://www.opengis.net/gml}description" minOccurs="0"/>
* <group ref="{http://www.opengis.net/sensorML/1.0.1}metadataGroup" minOccurs="0"/>
* <element name="sourceRef" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attGroup ref="{http://www.opengis.net/gml}AssociationAttributeGroup"/>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="binaryRef" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attGroup ref="{http://www.opengis.net/gml}AssociationAttributeGroup"/>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* <attribute name="language" use="required" type="{http://www.w3.org/2001/XMLSchema}token" />
* <attribute name="framework" type="{http://www.w3.org/2001/XMLSchema}token" />
* <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}token" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"description",
"keywords",
"identification",
"classification",
"validTime",
"securityConstraint",
"legalConstraint",
"characteristics",
"capabilities",
"contact",
"documentation",
"history",
"sourceRef",
"binaryRef"
})
public static class ImplementationCode implements AbstractImplementationCode {
@XmlElement(namespace = "http://www.opengis.net/gml")
private StringOrRefType description;
private List<Keywords> keywords;
private List<Identification> identification;
private List<Classification> classification;
private ValidTime validTime;
private SecurityConstraint securityConstraint;
private List<LegalConstraint> legalConstraint;
private List<Characteristics> characteristics;
private List<Capabilities> capabilities;
private List<Contact> contact;
private List<Documentation> documentation;
private List<History> history;
private ProcessMethodType.Implementation.ImplementationCode.SourceRef sourceRef;
private ProcessMethodType.Implementation.ImplementationCode.BinaryRef binaryRef;
@XmlAttribute(required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
private String language;
@XmlAttribute
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
private String framework;
@XmlAttribute
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
private String version;
public ImplementationCode() {
}
public ImplementationCode(final AbstractImplementationCode ic) {
if (ic != null) {
this.description = ic.getDescription();
this.framework = ic.getFramework();
this.language = ic.getLanguage();
this.version = ic.getVersion();
if (ic.getBinaryRef() != null) {
this.binaryRef = new BinaryRef(ic.getBinaryRef());
}
if (ic.getCapabilities() != null) {
this.capabilities = new ArrayList<Capabilities>();
for (AbstractCapabilities abCap : ic.getCapabilities()) {
this.capabilities.add(new Capabilities(abCap));
}
}
if (ic.getCharacteristics() != null) {
this.characteristics = new ArrayList<Characteristics>();
for (AbstractCharacteristics abCap : ic.getCharacteristics()) {
this.characteristics.add(new Characteristics(abCap));
}
}
if (ic.getClassification() != null) {
this.classification = new ArrayList<Classification>();
for (AbstractClassification abCap : ic.getClassification()) {
this.classification.add(new Classification(abCap));
}
}
if (ic.getContact() != null) {
this.contact = new ArrayList<Contact>();
for (AbstractContact abCap : ic.getContact()) {
this.contact.add(new Contact(abCap));
}
}
if (ic.getDocumentation() != null) {
this.documentation = new ArrayList<Documentation>();
for (AbstractDocumentation abCap : ic.getDocumentation()) {
this.documentation.add(new Documentation(abCap));
}
}
if (ic.getHistory() != null) {
this.history = new ArrayList<History>();
for (AbstractHistory abCap : ic.getHistory()) {
this.history.add(new History(abCap));
}
}
if (ic.getIdentification() != null) {
this.identification = new ArrayList<Identification>();
for (AbstractIdentification abCap : ic.getIdentification()) {
this.identification.add(new Identification(abCap));
}
}
if (ic.getKeywords() != null) {
this.keywords = new ArrayList<Keywords>();
for (AbstractKeywords abCap : ic.getKeywords()) {
this.keywords.add(new Keywords(abCap));
}
}
if (ic.getLegalConstraint() != null) {
this.legalConstraint = new ArrayList<LegalConstraint>();
for (AbstractLegalConstraint abCap : ic.getLegalConstraint()) {
this.legalConstraint.add(new LegalConstraint(abCap));
}
}
if (ic.getSourceRef() != null) {
this.sourceRef = new SourceRef(ic.getSourceRef());
}
}
}
/**
* Textual description of the algorithm
*
* @return
* possible object is
* {@link StringOrRefType }
*
*/
public StringOrRefType getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link StringOrRefType }
*
*/
public void setDescription(final StringOrRefType value) {
this.description = value;
}
/**
* Gets the value of the keywords property.
*
* <p>
* 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 <CODE>set</CODE> method for the keywords property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getKeywords().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Keywords }
*
*
*/
public List<Keywords> getKeywords() {
if (keywords == null) {
keywords = new ArrayList<Keywords>();
}
return this.keywords;
}
/**
* Gets the value of the identification property.
*
* <p>
* 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 <CODE>set</CODE> method for the identification property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getIdentification().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Identification }
*
*
*/
public List<Identification> getIdentification() {
if (identification == null) {
identification = new ArrayList<Identification>();
}
return this.identification;
}
/**
* Gets the value of the classification property.
*
* <p>
* 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 <CODE>set</CODE> method for the classification property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getClassification().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Classification }
*
*
*/
public List<Classification> getClassification() {
if (classification == null) {
classification = new ArrayList<Classification>();
}
return this.classification;
}
/**
* Gets the value of the validTime property.
*
* @return
* possible object is
* {@link ValidTime }
*
*/
public ValidTime getValidTime() {
return validTime;
}
/**
* Sets the value of the validTime property.
*
* @param value
* allowed object is
* {@link ValidTime }
*
*/
public void setValidTime(final ValidTime value) {
this.validTime = value;
}
/**
* Gets the value of the securityConstraint property.
*
* @return
* possible object is
* {@link SecurityConstraint }
*
*/
public SecurityConstraint getSecurityConstraint() {
return securityConstraint;
}
/**
* Sets the value of the securityConstraint property.
*
* @param value
* allowed object is
* {@link SecurityConstraint }
*
*/
public void setSecurityConstraint(final SecurityConstraint value) {
this.securityConstraint = value;
}
/**
* Gets the value of the legalConstraint property.
*
* <p>
* 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 <CODE>set</CODE> method for the legalConstraint property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getLegalConstraint().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link LegalConstraint }
*
*
*/
public List<LegalConstraint> getLegalConstraint() {
if (legalConstraint == null) {
legalConstraint = new ArrayList<LegalConstraint>();
}
return this.legalConstraint;
}
/**
* Gets the value of the characteristics property.
*
* <p>
* 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 <CODE>set</CODE> method for the characteristics property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getCharacteristics().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Characteristics }
*
*
*/
public List<Characteristics> getCharacteristics() {
if (characteristics == null) {
characteristics = new ArrayList<Characteristics>();
}
return this.characteristics;
}
/**
* Gets the value of the capabilities property.
*
* <p>
* 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 <CODE>set</CODE> method for the capabilities property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getCapabilities().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Capabilities }
*
*
*/
public List<Capabilities> getCapabilities() {
if (capabilities == null) {
capabilities = new ArrayList<Capabilities>();
}
return this.capabilities;
}
/**
* Gets the value of the contact property.
*
* <p>
* 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 <CODE>set</CODE> method for the contact property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getContact().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Contact }
*
*
*/
public List<Contact> getContact() {
if (contact == null) {
contact = new ArrayList<Contact>();
}
return this.contact;
}
/**
* Gets the value of the documentation property.
*
* <p>
* 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 <CODE>set</CODE> method for the documentation property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getDocumentation().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Documentation }
*
*
*/
public List<Documentation> getDocumentation() {
if (documentation == null) {
documentation = new ArrayList<Documentation>();
}
return this.documentation;
}
/**
* Gets the value of the history property.
*
* <p>
* 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 <CODE>set</CODE> method for the history property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getHistory().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link History }
*
*
*/
public List<History> getHistory() {
if (history == null) {
history = new ArrayList<History>();
}
return this.history;
}
/**
* Gets the value of the sourceRef property.
*
* @return
* possible object is
* {@link ProcessMethodType.Implementation.ImplementationCode.SourceRef }
*
*/
public ProcessMethodType.Implementation.ImplementationCode.SourceRef getSourceRef() {
return sourceRef;
}
/**
* Sets the value of the sourceRef property.
*
* @param value
* allowed object is
* {@link ProcessMethodType.Implementation.ImplementationCode.SourceRef }
*
*/
public void setSourceRef(final ProcessMethodType.Implementation.ImplementationCode.SourceRef value) {
this.sourceRef = value;
}
/**
* Gets the value of the binaryRef property.
*
* @return
* possible object is
* {@link ProcessMethodType.Implementation.ImplementationCode.BinaryRef }
*
*/
public ProcessMethodType.Implementation.ImplementationCode.BinaryRef getBinaryRef() {
return binaryRef;
}
/**
* Sets the value of the binaryRef property.
*
* @param value
* allowed object is
* {@link ProcessMethodType.Implementation.ImplementationCode.BinaryRef }
*
*/
public void setBinaryRef(final ProcessMethodType.Implementation.ImplementationCode.BinaryRef value) {
this.binaryRef = value;
}
/**
* Gets the value of the language property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLanguage() {
return language;
}
/**
* Sets the value of the language property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLanguage(final String value) {
this.language = value;
}
/**
* Gets the value of the framework property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFramework() {
return framework;
}
/**
* Sets the value of the framework property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFramework(final String value) {
this.framework = value;
}
/**
* Gets the value of the version property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVersion() {
return version;
}
/**
* Sets the value of the version property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVersion(final String value) {
this.version = value;
}
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attGroup ref="{http://www.opengis.net/gml}AssociationAttributeGroup"/>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class BinaryRef implements AbstractBinaryRef {
@XmlAttribute(namespace = "http://www.opengis.net/gml")
@XmlSchemaType(name = "anyURI")
private String remoteSchema;
@XmlAttribute(namespace = "http://www.w3.org/1999/xlink")
private String type;
@XmlAttribute(namespace = "http://www.w3.org/1999/xlink")
@XmlSchemaType(name = "anyURI")
private String href;
@XmlAttribute(namespace = "http://www.w3.org/1999/xlink")
@XmlSchemaType(name = "anyURI")
private String role;
@XmlAttribute(namespace = "http://www.w3.org/1999/xlink")
@XmlSchemaType(name = "anyURI")
private String arcrole;
@XmlAttribute(namespace = "http://www.w3.org/1999/xlink")
private String title;
@XmlAttribute(namespace = "http://www.w3.org/1999/xlink")
private String show;
@XmlAttribute(namespace = "http://www.w3.org/1999/xlink")
private String actuate;
public BinaryRef() {
}
public BinaryRef(final AbstractBinaryRef mat) {
if (mat != null) {
this.actuate = mat.getActuate();
this.arcrole = mat.getArcrole();
this.href = mat.getHref();
this.role = mat.getRole();
this.show = mat.getShow();
this.title = mat.getTitle();
this.type = mat.getType();
this.remoteSchema = mat.getRemoteSchema();
}
}
public List<String> getNilReason() {
return new ArrayList<String>();
}
/**
* Gets the value of the remoteSchema property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRemoteSchema() {
return remoteSchema;
}
/**
* Sets the value of the remoteSchema property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRemoteSchema(final String value) {
this.remoteSchema = value;
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setType(final String value) {
this.type = value;
}
/**
* Gets the value of the href property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getHref() {
return href;
}
/**
* Sets the value of the href property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setHref(final String value) {
this.href = value;
}
/**
* Gets the value of the role property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRole() {
return role;
}
/**
* Sets the value of the role property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRole(final String value) {
this.role = value;
}
/**
* Gets the value of the arcrole property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getArcrole() {
return arcrole;
}
/**
* Sets the value of the arcrole property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setArcrole(final String value) {
this.arcrole = value;
}
/**
* Gets the value of the title property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTitle() {
return title;
}
/**
* Sets the value of the title property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTitle(final String value) {
this.title = value;
}
/**
* Gets the value of the show property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getShow() {
return show;
}
/**
* Sets the value of the show property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setShow(final String value) {
this.show = value;
}
/**
* Gets the value of the actuate property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getActuate() {
return actuate;
}
/**
* Sets the value of the actuate property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setActuate(final String value) {
this.actuate = value;
}
}
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attGroup ref="{http://www.opengis.net/gml}AssociationAttributeGroup"/>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class SourceRef implements AbstractSourceRef {
@XmlAttribute(namespace = "http://www.opengis.net/gml")
@XmlSchemaType(name = "anyURI")
private String remoteSchema;
@XmlAttribute(namespace = "http://www.w3.org/1999/xlink")
private String type;
@XmlAttribute(namespace = "http://www.w3.org/1999/xlink")
@XmlSchemaType(name = "anyURI")
private String href;
@XmlAttribute(namespace = "http://www.w3.org/1999/xlink")
@XmlSchemaType(name = "anyURI")
private String role;
@XmlAttribute(namespace = "http://www.w3.org/1999/xlink")
@XmlSchemaType(name = "anyURI")
private String arcrole;
@XmlAttribute(namespace = "http://www.w3.org/1999/xlink")
private String title;
@XmlAttribute(namespace = "http://www.w3.org/1999/xlink")
private String show;
@XmlAttribute(namespace = "http://www.w3.org/1999/xlink")
private String actuate;
public SourceRef() {
}
public SourceRef(final AbstractSourceRef mat) {
if (mat != null) {
this.actuate = mat.getActuate();
this.arcrole = mat.getArcrole();
this.href = mat.getHref();
this.role = mat.getRole();
this.show = mat.getShow();
this.title = mat.getTitle();
this.type = mat.getType();
this.remoteSchema = mat.getRemoteSchema();
}
}
public List<String> getNilReason() {
return new ArrayList<String>();
}
/**
* Gets the value of the remoteSchema property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRemoteSchema() {
return remoteSchema;
}
/**
* Sets the value of the remoteSchema property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRemoteSchema(final String value) {
this.remoteSchema = value;
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setType(final String value) {
this.type = value;
}
/**
* Gets the value of the href property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getHref() {
return href;
}
/**
* Sets the value of the href property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setHref(final String value) {
this.href = value;
}
/**
* Gets the value of the role property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRole() {
return role;
}
/**
* Sets the value of the role property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRole(final String value) {
this.role = value;
}
/**
* Gets the value of the arcrole property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getArcrole() {
return arcrole;
}
/**
* Sets the value of the arcrole property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setArcrole(final String value) {
this.arcrole = value;
}
/**
* Gets the value of the title property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTitle() {
return title;
}
/**
* Sets the value of the title property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTitle(final String value) {
this.title = value;
}
/**
* Gets the value of the show property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getShow() {
return show;
}
/**
* Sets the value of the show property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setShow(final String value) {
this.show = value;
}
/**
* Gets the value of the actuate property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getActuate() {
return actuate;
}
/**
* Sets the value of the actuate property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setActuate(final String value) {
this.actuate = value;
}
}
}
}
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="RulesDefinition">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://www.opengis.net/gml}description" minOccurs="0"/>
* <element ref="{http://www.opengis.net/sensorML/1.0.1}ruleLanguage" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"rulesDefinition"
})
public static class Rules implements AbstractRules {
@XmlElement(name = "RulesDefinition", required = true)
private ProcessMethodType.Rules.RulesDefinition rulesDefinition;
public Rules() {
}
public Rules(final AbstractRules ar) {
if (ar != null && ar.getRulesDefinition() != null) {
this.rulesDefinition = new RulesDefinition(ar.getRulesDefinition());
}
}
/**
* Gets the value of the rulesDefinition property.
*
* @return
* possible object is
* {@link ProcessMethodType.Rules.RulesDefinition }
*
*/
public ProcessMethodType.Rules.RulesDefinition getRulesDefinition() {
return rulesDefinition;
}
/**
* Sets the value of the rulesDefinition property.
*
* @param value
* allowed object is
* {@link ProcessMethodType.Rules.RulesDefinition }
*
*/
public void setRulesDefinition(final ProcessMethodType.Rules.RulesDefinition value) {
this.rulesDefinition = value;
}
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://www.opengis.net/gml}description" minOccurs="0"/>
* <element ref="{http://www.opengis.net/sensorML/1.0.1}ruleLanguage" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"description",
"ruleLanguage"
})
public static class RulesDefinition implements AbstractRulesDefinition {
@XmlElement(namespace = "http://www.opengis.net/gml")
private StringOrRefType description;
@XmlElementRef(name = "ruleLanguage", namespace = "http://www.opengis.net/sensorML/1.0.1", type = JAXBElement.class)
private JAXBElement<? extends RuleLanguageType> ruleLanguage;
public RulesDefinition() {
}
public RulesDefinition(final AbstractRulesDefinition rd) {
if (rd != null) {
this.description = rd.getDescription();
if (rd.getRuleLanguage() != null) {
ObjectFactory fact = new ObjectFactory();
if (rd.getRuleLanguage() instanceof Schematron) {
this.ruleLanguage = fact.createSchematron(new Schematron((AbstractSchematron)rd.getRuleLanguage()));
} else if (rd.getRuleLanguage() instanceof RelaxNG) {
this.ruleLanguage = fact.createRelaxNG(new RelaxNG((AbstractRelaxNG)rd.getRuleLanguage()));
} else {
this.ruleLanguage = fact.createRuleLanguage(new RuleLanguageType(rd.getRuleLanguage()));
}
}
}
}
/**
* Textual description of the i/o structure
*
* @return
* possible object is
* {@link StringOrRefType }
*
*/
public StringOrRefType getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link StringOrRefType }
*
*/
public void setDescription(final StringOrRefType value) {
this.description = value;
}
public RuleLanguageType getRuleLanguage() {
if (ruleLanguage != null) {
return ruleLanguage.getValue();
}
return null;
}
public void setRuleLanguage(final RuleLanguageType value) {
ObjectFactory fact = new ObjectFactory();
if (value instanceof Schematron) {
this.ruleLanguage = fact.createSchematron((Schematron)value);
} else if (value instanceof RelaxNG) {
this.ruleLanguage = fact.createRelaxNG((RelaxNG)value);
} else if (value instanceof RuleLanguageType) {
this.ruleLanguage = fact.createRuleLanguage((RuleLanguageType)value);
}
}
/**
* Gets the value of the ruleLanguage property.
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link Schematron }{@code >}
* {@link JAXBElement }{@code <}{@link RelaxNG }{@code >}
* {@link JAXBElement }{@code <}{@link RuleLanguageType }{@code >}
*
*/
public JAXBElement<? extends RuleLanguageType> getJbRuleLanguage() {
return ruleLanguage;
}
/**
* Sets the value of the ruleLanguage property.
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link Schematron }{@code >}
* {@link JAXBElement }{@code <}{@link RelaxNG }{@code >}
* {@link JAXBElement }{@code <}{@link RuleLanguageType }{@code >}
*
*/
public void setJbRuleLanguage(final JAXBElement<? extends RuleLanguageType> value) {
this.ruleLanguage = ((JAXBElement<? extends RuleLanguageType> ) value);
}
}
}
}