gov.nasa.arc.pds.xml.generated
Class DDRule

java.lang.Object
  extended by 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"/>
         <element name="DD_Class_Reference" type="{http://pds.nasa.gov/pds4/pds/v1}DD_Class_Reference"/>
         <element name="DD_Rule_Statement" type="{http://pds.nasa.gov/pds4/pds/v1}DD_Rule_Statement" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  DDAttributeReference ddAttributeReference
           
protected  DDClassReference ddClassReference
           
protected  List<DDRuleStatement> ddRuleStatements
           
protected  String localIdentifier
           
protected  List<String> ruleAssigns
           
protected  String ruleContext
           
 
Constructor Summary
DDRule()
           
 
Method Summary
 DDAttributeReference getDDAttributeReference()
          Gets the value of the ddAttributeReference property.
 DDClassReference getDDClassReference()
          Gets the value of the ddClassReference property.
 List<DDRuleStatement> getDDRuleStatements()
          Gets the value of the ddRuleStatements property.
 String getLocalIdentifier()
          Gets the value of the localIdentifier property.
 List<String> getRuleAssigns()
          Gets the value of the ruleAssigns property.
 String getRuleContext()
          Gets the value of the ruleContext property.
 void setDDAttributeReference(DDAttributeReference value)
          Sets the value of the ddAttributeReference property.
 void setDDClassReference(DDClassReference value)
          Sets the value of the ddClassReference property.
 void setLocalIdentifier(String value)
          Sets the value of the localIdentifier property.
 void setRuleContext(String value)
          Sets the value of the ruleContext property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

localIdentifier

protected String localIdentifier

ruleContext

protected String ruleContext

ruleAssigns

protected List<String> ruleAssigns

ddAttributeReference

protected DDAttributeReference ddAttributeReference

ddClassReference

protected DDClassReference ddClassReference

ddRuleStatements

protected List<DDRuleStatement> ddRuleStatements
Constructor Detail

DDRule

public DDRule()
Method Detail

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 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


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 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



Copyright © 2014. All Rights Reserved.