Class CapabilityMappingCT
- java.lang.Object
-
- fi.tut.mei.resdescapi.rdapi.model.rd.CapabilityRefCT
-
- fi.tut.mei.resdescapi.rdapi.model.rd.CapabilityMappingCT
-
public class CapabilityMappingCT extends CapabilityRefCT
Definition of capability mappingJava 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>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CapabilityMappingCT.ParameterValueRestriction
Java class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected String
mappingType
protected String
name
protected List<CapabilityMappingCT.ParameterValueRestriction>
parameterValueRestriction
-
Fields inherited from class fi.tut.mei.resdescapi.rdapi.model.rd.CapabilityRefCT
gidRef, idRef, reqOpt
-
-
Constructor Summary
Constructors Constructor Description CapabilityMappingCT()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMappingType()
Gets the value of the mappingType property.String
getName()
Gets the value of the name property.List<CapabilityMappingCT.ParameterValueRestriction>
getParameterValueRestriction()
Gets the value of the parameterValueRestriction property.void
setMappingType(String value)
Sets the value of the mappingType property.void
setName(String value)
Sets the value of the name property.
-
-
-
Field Detail
-
parameterValueRestriction
protected List<CapabilityMappingCT.ParameterValueRestriction> parameterValueRestriction
-
mappingType
protected String mappingType
-
name
protected String name
-
-
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 isString
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
-