All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gov.nasa.arc.pds.xml.generated.DDRule Maven / Gradle / Ivy

There is a newer version: 2.8.4
Show newest version
//
// This file was generated by the Eclipse Implementation of JAXB, v2.3.4 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2021.12.10 at 07:24:03 AM GMT 
//


package gov.nasa.arc.pds.xml.generated;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlID;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * 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>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "DD_Rule", propOrder = { "localIdentifier", "ruleContext", "ruleAssigns", "ddAttributeReference", "ddClassReference", "ddRuleStatements" }) public class DDRule { @XmlElement(name = "local_identifier", required = true) @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlID @XmlSchemaType(name = "ID") protected String localIdentifier; @XmlElement(name = "rule_context", required = true) @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "token") protected String ruleContext; @XmlElement(name = "rule_assign") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "token") protected List ruleAssigns; @XmlElement(name = "DD_Attribute_Reference") protected DDAttributeReference ddAttributeReference; @XmlElement(name = "DD_Class_Reference") protected DDClassReference ddClassReference; @XmlElement(name = "DD_Rule_Statement", required = true) protected List ddRuleStatements; /** * Gets the value of the localIdentifier property. * * @return * possible object is * {@link String } * */ public String getLocalIdentifier() { return localIdentifier; } /** * Sets the value of the localIdentifier property. * * @param value * allowed object is * {@link String } * */ public void setLocalIdentifier(String value) { this.localIdentifier = value; } /** * Gets the value of the ruleContext property. * * @return * possible object is * {@link String } * */ public String getRuleContext() { return ruleContext; } /** * Sets the value of the ruleContext property. * * @param value * allowed object is * {@link String } * */ public void setRuleContext(String value) { this.ruleContext = value; } /** * 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 * {@link String } * * */ public List getRuleAssigns() { if (ruleAssigns == null) { ruleAssigns = new ArrayList(); } return this.ruleAssigns; } /** * Gets the value of the ddAttributeReference property. * * @return * possible object is * {@link DDAttributeReference } * */ public DDAttributeReference getDDAttributeReference() { return ddAttributeReference; } /** * Sets the value of the ddAttributeReference property. * * @param value * allowed object is * {@link DDAttributeReference } * */ public void setDDAttributeReference(DDAttributeReference value) { this.ddAttributeReference = value; } /** * Gets the value of the ddClassReference property. * * @return * possible object is * {@link DDClassReference } * */ public DDClassReference getDDClassReference() { return ddClassReference; } /** * Sets the value of the ddClassReference property. * * @param value * allowed object is * {@link DDClassReference } * */ public void setDDClassReference(DDClassReference value) { this.ddClassReference = value; } /** * 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 * {@link DDRuleStatement } * * */ public List getDDRuleStatements() { if (ddRuleStatements == null) { ddRuleStatements = new ArrayList(); } return this.ddRuleStatements; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy