Class DDRule
- java.lang.Object
-
- gov.nasa.arc.pds.xml.generated.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 Summary
Fields Modifier and Type Field Description protected DDAttributeReference
ddAttributeReference
protected DDClassReference
ddClassReference
protected java.util.List<DDRuleStatement>
ddRuleStatements
protected java.lang.String
localIdentifier
protected java.util.List<java.lang.String>
ruleAssigns
protected java.lang.String
ruleContext
-
Constructor Summary
Constructors Constructor Description DDRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DDAttributeReference
getDDAttributeReference()
Gets the value of the ddAttributeReference property.DDClassReference
getDDClassReference()
Gets the value of the ddClassReference property.java.util.List<DDRuleStatement>
getDDRuleStatements()
Gets the value of the ddRuleStatements property.java.lang.String
getLocalIdentifier()
Gets the value of the localIdentifier property.java.util.List<java.lang.String>
getRuleAssigns()
Gets the value of the ruleAssigns property.java.lang.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(java.lang.String value)
Sets the value of the localIdentifier property.void
setRuleContext(java.lang.String value)
Sets the value of the ruleContext property.
-
-
-
Field Detail
-
localIdentifier
protected java.lang.String localIdentifier
-
ruleContext
protected java.lang.String ruleContext
-
ruleAssigns
protected java.util.List<java.lang.String> ruleAssigns
-
ddAttributeReference
protected DDAttributeReference ddAttributeReference
-
ddClassReference
protected DDClassReference ddClassReference
-
ddRuleStatements
protected java.util.List<DDRuleStatement> ddRuleStatements
-
-
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 isString
-
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 isString
-
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.
-
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 isDDAttributeReference
-
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 isDDClassReference
-
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.
-
-