Class DDRule

java.lang.Object
gov.nasa.arc.pds.xml.generated.DDRule

public class DDRule extends 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 Details

  • Constructor Details

    • DDRule

      public DDRule()
  • Method Details

    • getLocalIdentifier

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

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

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

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

      public List<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 Jakarta XML Binding 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.
    • getDDAttributeReference

      public DDAttributeReference getDDAttributeReference()
      Gets the value of the ddAttributeReference property.
      Returns:
      possible object is DDAttributeReference
    • 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 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 Jakarta XML Binding 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.