Class CapabilityMappingCT


  • public class CapabilityMappingCT
    extends CapabilityRefCT
    Definition of capability mapping

    Java class for CapabilityMapping_CT complex type.

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

     <complexType name="CapabilityMapping_CT">
       <complexContent>
         <extension base="{https://resourcedescription.rd.tuni.fi/XMLSchema/2016}CapabilityRef_CT">
           <sequence minOccurs="0">
             <element name="ParameterValueRestriction" maxOccurs="unbounded" minOccurs="0">
               <complexType>
                 <complexContent>
                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                     <sequence>
                       <element name="ParameterValues" maxOccurs="unbounded">
                         <complexType>
                           <simpleContent>
                             <extension base="<http://www.w3.org/2001/XMLSchema>token">
                               <attribute name="constrain" use="required">
                                 <simpleType>
                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                     <enumeration value="IS_ONE_OF"/>
                                     <enumeration value="IS_NOT_ANY"/>
                                   </restriction>
                                 </simpleType>
                               </attribute>
                             </extension>
                           </simpleContent>
                         </complexType>
                       </element>
                     </sequence>
                     <attribute name="idRef" type="{http://www.w3.org/2001/XMLSchema}NCName" />
                     <attribute name="gidRef" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
                     <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
                   </restriction>
                 </complexContent>
               </complexType>
             </element>
           </sequence>
           <attribute name="mappingType" use="required">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                 <enumeration value="IMPLEMENTS"/>
                 <enumeration value="IMPLEMENTED_BY"/>
               </restriction>
             </simpleType>
           </attribute>
           <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
         </extension>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • CapabilityMappingCT

        public CapabilityMappingCT()
    • Method Detail

      • getParameterValueRestriction

        public List<CapabilityMappingCT.ParameterValueRestriction> getParameterValueRestriction()
        Gets the value of the parameterValueRestriction 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 parameterValueRestriction property.

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

            getParameterValueRestriction().add(newItem);
         

        Objects of the following type(s) are allowed in the list CapabilityMappingCT.ParameterValueRestriction

      • getMappingType

        public String getMappingType()
        Gets the value of the mappingType property.
        Returns:
        possible object is String
      • setMappingType

        public void setMappingType​(String value)
        Sets the value of the mappingType property.
        Parameters:
        value - allowed object is String
      • getName

        public String getName()
        Gets the value of the name property.
        Returns:
        possible object is String
      • setName

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