Class DDRule
- java.lang.Object
- 
- gov.nasa.arc.pds.xml.generated.DDRule
 
- 
 public class DDRule extends java.lang.ObjectThe 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 SummaryFields Modifier and Type Field Description protected DDAttributeReferenceddAttributeReferenceprotected DDClassReferenceddClassReferenceprotected java.util.List<DDRuleStatement>ddRuleStatementsprotected java.lang.StringlocalIdentifierprotected java.util.List<java.lang.String>ruleAssignsprotected java.lang.StringruleContext
 - 
Constructor SummaryConstructors Constructor Description DDRule()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DDAttributeReferencegetDDAttributeReference()Gets the value of the ddAttributeReference property.DDClassReferencegetDDClassReference()Gets the value of the ddClassReference property.java.util.List<DDRuleStatement>getDDRuleStatements()Gets the value of the ddRuleStatements property.java.lang.StringgetLocalIdentifier()Gets the value of the localIdentifier property.java.util.List<java.lang.String>getRuleAssigns()Gets the value of the ruleAssigns property.java.lang.StringgetRuleContext()Gets the value of the ruleContext property.voidsetDDAttributeReference(DDAttributeReference value)Sets the value of the ddAttributeReference property.voidsetDDClassReference(DDClassReference value)Sets the value of the ddClassReference property.voidsetLocalIdentifier(java.lang.String value)Sets the value of the localIdentifier property.voidsetRuleContext(java.lang.String value)Sets the value of the ruleContext property.
 
- 
- 
- 
Field Detail- 
localIdentifierprotected java.lang.String localIdentifier 
 - 
ruleContextprotected java.lang.String ruleContext 
 - 
ruleAssignsprotected java.util.List<java.lang.String> ruleAssigns 
 - 
ddAttributeReferenceprotected DDAttributeReference ddAttributeReference 
 - 
ddClassReferenceprotected DDClassReference ddClassReference 
 - 
ddRuleStatementsprotected java.util.List<DDRuleStatement> ddRuleStatements 
 
- 
 - 
Method Detail- 
getLocalIdentifierpublic java.lang.String getLocalIdentifier() Gets the value of the localIdentifier property.- Returns:
- possible object is
     String
 
 - 
setLocalIdentifierpublic void setLocalIdentifier(java.lang.String value) Sets the value of the localIdentifier property.- Parameters:
- value- allowed object is- String
 
 - 
getRuleContextpublic java.lang.String getRuleContext() Gets the value of the ruleContext property.- Returns:
- possible object is
     String
 
 - 
setRuleContextpublic void setRuleContext(java.lang.String value) Sets the value of the ruleContext property.- Parameters:
- value- allowed object is- String
 
 - 
getRuleAssignspublic 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 setmethod 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.
 
 - 
getDDAttributeReferencepublic DDAttributeReference getDDAttributeReference() Gets the value of the ddAttributeReference property.- Returns:
- possible object is
     DDAttributeReference
 
 - 
setDDAttributeReferencepublic void setDDAttributeReference(DDAttributeReference value) Sets the value of the ddAttributeReference property.- Parameters:
- value- allowed object is- DDAttributeReference
 
 - 
getDDClassReferencepublic DDClassReference getDDClassReference() Gets the value of the ddClassReference property.- Returns:
- possible object is
     DDClassReference
 
 - 
setDDClassReferencepublic void setDDClassReference(DDClassReference value) Sets the value of the ddClassReference property.- Parameters:
- value- allowed object is- DDClassReference
 
 - 
getDDRuleStatementspublic 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 setmethod 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.
 
 
- 
 
-