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 Details

    • ruleType

      protected String ruleType
    • ruleTest

      protected String ruleTest
    • ruleMessage

      protected String ruleMessage
    • ruleDescription

      protected String ruleDescription
    • ruleValues

      protected List<String> ruleValues
  • Constructor Details

    • DDRuleStatement

      public DDRuleStatement()
  • Method Details

    • getRuleType

      public String getRuleType()
      Gets the value of the ruleType property.
      Returns:
      possible object is String
    • setRuleType

      public void setRuleType​(String value)
      Sets the value of the ruleType property.
      Parameters:
      value - allowed object is String
    • getRuleTest

      public String getRuleTest()
      Gets the value of the ruleTest property.
      Returns:
      possible object is String
    • setRuleTest

      public void setRuleTest​(String value)
      Sets the value of the ruleTest property.
      Parameters:
      value - allowed object is String
    • getRuleMessage

      public String getRuleMessage()
      Gets the value of the ruleMessage property.
      Returns:
      possible object is String
    • setRuleMessage

      public void setRuleMessage​(String value)
      Sets the value of the ruleMessage property.
      Parameters:
      value - allowed object is String
    • getRuleDescription

      public String getRuleDescription()
      Gets the value of the ruleDescription property.
      Returns:
      possible object is String
    • setRuleDescription

      public void setRuleDescription​(String value)
      Sets the value of the ruleDescription property.
      Parameters:
      value - allowed object is String
    • getRuleValues

      public List<String> 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 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 String