Class Param


  • public class Param
    extends Object

    Java class for anonymous complex type

    .

    The following schema fragment specifies the expected content contained within this class.

    
     <complexType>
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <choice maxOccurs="unbounded" minOccurs="0">
             <any processContents='lax'/>
           </choice>
           <attGroup ref="{http://www.schematron-quickfix.com/validator/process}parameterAttributes"/>
           <attGroup ref="{http://purl.oclc.org/dsdl/schematron}foreign"/>
           <attribute name="required" default="no">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                 <enumeration value="yes"/>
                 <enumeration value="no"/>
               </restriction>
             </simpleType>
           </attribute>
           <attribute name="abstract" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • required

        protected String required
        The value
         <?xml version="1.0" encoding="UTF-8"?><icode xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:sqf="http://www.schematron-quickfix.com/validator/process" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" type="attributeValue">yes</icode>
         
        is used for required,
         <?xml version="1.0" encoding="UTF-8"?><icode xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:sqf="http://www.schematron-quickfix.com/validator/process" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" type="attributeValue">no</icode>
         
        for optional.
      • _abstract

        protected Boolean _abstract
        The value
         <?xml version="1.0" encoding="UTF-8"?><icode xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:sqf="http://www.schematron-quickfix.com/validator/process" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" type="attributeValue">true</icode>
         
        is used for abstract parameter,
         <?xml version="1.0" encoding="UTF-8"?><icode xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:sqf="http://www.schematron-quickfix.com/validator/process" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" type="attributeValue">false</icode>
         
        for regular parameter.
      • name

        protected String name
        Must be unique within a QuickFix.
      • _default

        protected String _default
        Must be a valid XPath expression.
      • type

        protected String type
        The value should be a valid XML Schema type.
    • Constructor Detail

      • Param

        public Param()
    • Method Detail

      • getContent

        public List<Object> getContent()
        Gets the value of the content 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 content property.

        For example, to add a new item, do as follows:

         getContent().add(newItem);
         

        Objects of the following type(s) are allowed in the list Object String Element

        Returns:
        The value of the content property.
      • getRequired

        public String getRequired()
        The value
         <?xml version="1.0" encoding="UTF-8"?><icode xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:sqf="http://www.schematron-quickfix.com/validator/process" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" type="attributeValue">yes</icode>
         
        is used for required,
         <?xml version="1.0" encoding="UTF-8"?><icode xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:sqf="http://www.schematron-quickfix.com/validator/process" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" type="attributeValue">no</icode>
         
        for optional.
        Returns:
        possible object is String
      • setRequired

        public void setRequired​(String value)
        Sets the value of the required property.
        Parameters:
        value - allowed object is String
        See Also:
        getRequired()
      • isAbstract

        public boolean isAbstract()
        The value
         <?xml version="1.0" encoding="UTF-8"?><icode xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:sqf="http://www.schematron-quickfix.com/validator/process" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" type="attributeValue">true</icode>
         
        is used for abstract parameter,
         <?xml version="1.0" encoding="UTF-8"?><icode xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:sqf="http://www.schematron-quickfix.com/validator/process" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" type="attributeValue">false</icode>
         
        for regular parameter.
        Returns:
        possible object is Boolean
      • setAbstract

        public void setAbstract​(Boolean value)
        Sets the value of the abstract property.
        Parameters:
        value - allowed object is Boolean
        See Also:
        isAbstract()
      • getName

        public String getName()
        Must be unique within a QuickFix.
        Returns:
        possible object is String
      • setName

        public void setName​(String value)
        Sets the value of the name property.
        Parameters:
        value - allowed object is String
        See Also:
        getName()
      • getDefault

        public String getDefault()
        Must be a valid XPath expression.
        Returns:
        possible object is String
      • setDefault

        public void setDefault​(String value)
        Sets the value of the default property.
        Parameters:
        value - allowed object is String
        See Also:
        getDefault()
      • getType

        public String getType()
        The value should be a valid XML Schema type.
        Returns:
        possible object is String
      • setType

        public void setType​(String value)
        Sets the value of the type property.
        Parameters:
        value - allowed object is String
        See Also:
        getType()
      • getOtherAttributes

        public Map<QName,​String> getOtherAttributes()
        Gets a map that contains attributes that aren't bound to any typed property on this class.

        the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.

        Returns:
        always non-null