Class DDRule


  • public class DDRule
    extends java.lang.Object
    The DD_Rule class defines a Schematron rule for a data dictionary.

    Java class for DD_Rule complex type

    .

    The following schema fragment specifies the expected content contained within this class.

    
     <complexType name="DD_Rule">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="local_identifier" type="{http://pds.nasa.gov/pds4/pds/v1}local_identifier"/>
             <element name="rule_context" type="{http://pds.nasa.gov/pds4/pds/v1}rule_context"/>
             <element name="rule_assign" type="{http://pds.nasa.gov/pds4/pds/v1}rule_assign" maxOccurs="unbounded" minOccurs="0"/>
             <element name="DD_Attribute_Reference" type="{http://pds.nasa.gov/pds4/pds/v1}DD_Attribute_Reference" minOccurs="0"/>
             <element name="DD_Class_Reference" type="{http://pds.nasa.gov/pds4/pds/v1}DD_Class_Reference" minOccurs="0"/>
             <element name="DD_Rule_Statement" type="{http://pds.nasa.gov/pds4/pds/v1}DD_Rule_Statement" maxOccurs="unbounded"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • localIdentifier

        protected java.lang.String localIdentifier
      • ruleContext

        protected java.lang.String ruleContext
      • ruleAssigns

        protected java.util.List<java.lang.String> ruleAssigns
      • ddRuleStatements

        protected java.util.List<DDRuleStatement> ddRuleStatements
    • Constructor Detail

      • DDRule

        public DDRule()
    • Method Detail

      • getLocalIdentifier

        public java.lang.String getLocalIdentifier()
        Gets the value of the localIdentifier property.
        Returns:
        possible object is String
      • setLocalIdentifier

        public void setLocalIdentifier​(java.lang.String value)
        Sets the value of the localIdentifier property.
        Parameters:
        value - allowed object is String
      • getRuleContext

        public java.lang.String getRuleContext()
        Gets the value of the ruleContext property.
        Returns:
        possible object is String
      • setRuleContext

        public void setRuleContext​(java.lang.String value)
        Sets the value of the ruleContext property.
        Parameters:
        value - allowed object is String
      • getRuleAssigns

        public java.util.List<java.lang.String> getRuleAssigns()
        Gets the value of the ruleAssigns 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 ruleAssigns property.

        For example, to add a new item, do as follows:

         getRuleAssigns().add(newItem);
         

        Objects of the following type(s) are allowed in the list String

        Returns:
        The value of the ruleAssigns property.
      • setDDAttributeReference

        public void setDDAttributeReference​(DDAttributeReference value)
        Sets the value of the ddAttributeReference property.
        Parameters:
        value - allowed object is DDAttributeReference
      • getDDClassReference

        public DDClassReference getDDClassReference()
        Gets the value of the ddClassReference property.
        Returns:
        possible object is DDClassReference
      • setDDClassReference

        public void setDDClassReference​(DDClassReference value)
        Sets the value of the ddClassReference property.
        Parameters:
        value - allowed object is DDClassReference
      • getDDRuleStatements

        public java.util.List<DDRuleStatement> getDDRuleStatements()
        Gets the value of the ddRuleStatements 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 ddRuleStatements property.

        For example, to add a new item, do as follows:

         getDDRuleStatements().add(newItem);
         

        Objects of the following type(s) are allowed in the list DDRuleStatement

        Returns:
        The value of the ddRuleStatements property.