gov.nasa.arc.pds.xml.generated.DDRuleStatement Maven / Gradle / Ivy
Show all versions of pds4-jparser Show documentation
//
// This file was generated by the Eclipse Implementation of JAXB, v2.3.4
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2021.12.10 at 07:24:03 AM GMT
//
package gov.nasa.arc.pds.xml.generated;
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;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* The DD_Rule_Statement class defines a Schematron
* rule statement.
*
* Java class for DD_Rule_Statement complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DD_Rule_Statement">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="rule_type" type="{http://pds.nasa.gov/pds4/pds/v1}rule_type"/>
* <element name="rule_test" type="{http://pds.nasa.gov/pds4/pds/v1}rule_test"/>
* <element name="rule_message" type="{http://pds.nasa.gov/pds4/pds/v1}rule_message"/>
* <element name="rule_description" type="{http://pds.nasa.gov/pds4/pds/v1}rule_description" minOccurs="0"/>
* <element name="rule_value" type="{http://pds.nasa.gov/pds4/pds/v1}rule_value" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DD_Rule_Statement", propOrder = {
"ruleType",
"ruleTest",
"ruleMessage",
"ruleDescription",
"ruleValues"
})
public class DDRuleStatement {
@XmlElement(name = "rule_type", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
protected String ruleType;
@XmlElement(name = "rule_test", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
protected String ruleTest;
@XmlElement(name = "rule_message", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
protected String ruleMessage;
@XmlElement(name = "rule_description")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
protected String ruleDescription;
@XmlElement(name = "rule_value")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
protected List ruleValues;
/**
* Gets the value of the ruleType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRuleType() {
return ruleType;
}
/**
* Sets the value of the ruleType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRuleType(String value) {
this.ruleType = value;
}
/**
* Gets the value of the ruleTest property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRuleTest() {
return ruleTest;
}
/**
* Sets the value of the ruleTest property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRuleTest(String value) {
this.ruleTest = value;
}
/**
* Gets the value of the ruleMessage property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRuleMessage() {
return ruleMessage;
}
/**
* Sets the value of the ruleMessage property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRuleMessage(String value) {
this.ruleMessage = value;
}
/**
* Gets the value of the ruleDescription property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRuleDescription() {
return ruleDescription;
}
/**
* Sets the value of the ruleDescription property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRuleDescription(String value) {
this.ruleDescription = value;
}
/**
* Gets the value of the ruleValues 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 ruleValues property.
*
*
* For example, to add a new item, do as follows:
*
* getRuleValues().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getRuleValues() {
if (ruleValues == null) {
ruleValues = new ArrayList();
}
return this.ruleValues;
}
}