Class DDRuleStatement


  • public class DDRuleStatement
    extends java.lang.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 java.lang.String ruleDescription  
      protected java.lang.String ruleMessage  
      protected java.lang.String ruleTest  
      protected java.lang.String ruleType  
      protected java.util.List<java.lang.String> ruleValues  
    • Constructor Summary

      Constructors 
      Constructor Description
      DDRuleStatement()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getRuleDescription()
      Gets the value of the ruleDescription property.
      java.lang.String getRuleMessage()
      Gets the value of the ruleMessage property.
      java.lang.String getRuleTest()
      Gets the value of the ruleTest property.
      java.lang.String getRuleType()
      Gets the value of the ruleType property.
      java.util.List<java.lang.String> getRuleValues()
      Gets the value of the ruleValues property.
      void setRuleDescription​(java.lang.String value)
      Sets the value of the ruleDescription property.
      void setRuleMessage​(java.lang.String value)
      Sets the value of the ruleMessage property.
      void setRuleTest​(java.lang.String value)
      Sets the value of the ruleTest property.
      void setRuleType​(java.lang.String value)
      Sets the value of the ruleType property.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • ruleType

        protected java.lang.String ruleType
      • ruleTest

        protected java.lang.String ruleTest
      • ruleMessage

        protected java.lang.String ruleMessage
      • ruleDescription

        protected java.lang.String ruleDescription
      • ruleValues

        protected java.util.List<java.lang.String> ruleValues
    • Constructor Detail

      • DDRuleStatement

        public DDRuleStatement()
    • Method Detail

      • getRuleType

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

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

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

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

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

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

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

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

        public java.util.List<java.lang.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

        Returns:
        The value of the ruleValues property.