Package gov.nasa.arc.pds.xml.generated
Class DDRuleStatement
java.lang.Object
gov.nasa.arc.pds.xml.generated.DDRuleStatement
public class DDRuleStatement extends Object
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>
-
Field Summary
Fields Modifier and Type Field Description protected StringruleDescriptionprotected StringruleMessageprotected StringruleTestprotected StringruleTypeprotected List<String>ruleValues -
Constructor Summary
Constructors Constructor Description DDRuleStatement() -
Method Summary
Modifier and Type Method Description StringgetRuleDescription()Gets the value of the ruleDescription property.StringgetRuleMessage()Gets the value of the ruleMessage property.StringgetRuleTest()Gets the value of the ruleTest property.StringgetRuleType()Gets the value of the ruleType property.List<String>getRuleValues()Gets the value of the ruleValues property.voidsetRuleDescription(String value)Sets the value of the ruleDescription property.voidsetRuleMessage(String value)Sets the value of the ruleMessage property.voidsetRuleTest(String value)Sets the value of the ruleTest property.voidsetRuleType(String value)Sets the value of the ruleType property.
-
Field Details
-
ruleType
-
ruleTest
-
ruleMessage
-
ruleDescription
-
ruleValues
-
-
Constructor Details
-
DDRuleStatement
public DDRuleStatement()
-
-
Method Details
-
getRuleType
Gets the value of the ruleType property.- Returns:
- possible object is
String
-
setRuleType
Sets the value of the ruleType property.- Parameters:
value- allowed object isString
-
getRuleTest
Gets the value of the ruleTest property.- Returns:
- possible object is
String
-
setRuleTest
Sets the value of the ruleTest property.- Parameters:
value- allowed object isString
-
getRuleMessage
Gets the value of the ruleMessage property.- Returns:
- possible object is
String
-
setRuleMessage
Sets the value of the ruleMessage property.- Parameters:
value- allowed object isString
-
getRuleDescription
Gets the value of the ruleDescription property.- Returns:
- possible object is
String
-
setRuleDescription
Sets the value of the ruleDescription property.- Parameters:
value- allowed object isString
-
getRuleValues
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
setmethod 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
String
-