Class Match
- java.lang.Object
-
- fi.tut.mei.matchmaking.model.xml.msg.Match
-
public class Match 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"> <sequence> <choice> <element ref="{http://resourcedescription.rd.tuni.fi/XMLSchema/2016}ResourceCombinationRef"/> <element ref="{http://resourcedescription.rd.tuni.fi/XMLSchema/2016}ResourceRef"/> </choice> <element name="Physical" maxOccurs="unbounded" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="ResourceRefWithConn" type="{http://resourcedescription.rd.tuni.fi/XMLSchema/2016}ResourceRefWithConn_CT" maxOccurs="unbounded"/> </sequence> </restriction> </complexContent> </complexType> </element> </sequence> <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" /> <attribute name="avgProcessingTime" type="{http://www.w3.org/2001/XMLSchema}float" /> <attribute name="isHumanProcess" type="{http://www.w3.org/2001/XMLSchema}boolean" /> </restriction> </complexContent> </complexType>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMatch.PhysicalJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected FloatavgProcessingTimeprotected Stringidprotected BooleanisHumanProcessprotected List<Match.Physical>physicalprotected ResourceCombinationRefCTresourceCombinationRefprotected ResourceRefWithCapaCTresourceRef
-
Constructor Summary
Constructors Constructor Description Match()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FloatgetAvgProcessingTime()Gets the value of the avgProcessingTime property.StringgetId()Gets the value of the id property.List<Match.Physical>getPhysical()Gets the value of the physical property.ResourceCombinationRefCTgetResourceCombinationRef()Gets the value of the resourceCombinationRef property.ResourceRefWithCapaCTgetResourceRef()Gets the value of the resourceRef property.BooleanisIsHumanProcess()Gets the value of the isHumanProcess property.voidsetAvgProcessingTime(Float value)Sets the value of the avgProcessingTime property.voidsetId(String value)Sets the value of the id property.voidsetIsHumanProcess(Boolean value)Sets the value of the isHumanProcess property.voidsetResourceCombinationRef(ResourceCombinationRefCT value)Sets the value of the resourceCombinationRef property.voidsetResourceRef(ResourceRefWithCapaCT value)Sets the value of the resourceRef property.
-
-
-
Field Detail
-
resourceCombinationRef
protected ResourceCombinationRefCT resourceCombinationRef
-
resourceRef
protected ResourceRefWithCapaCT resourceRef
-
physical
protected List<Match.Physical> physical
-
id
protected String id
-
avgProcessingTime
protected Float avgProcessingTime
-
isHumanProcess
protected Boolean isHumanProcess
-
-
Method Detail
-
getResourceCombinationRef
public ResourceCombinationRefCT getResourceCombinationRef()
Gets the value of the resourceCombinationRef property.- Returns:
- possible object is
ResourceCombinationRefCT
-
setResourceCombinationRef
public void setResourceCombinationRef(ResourceCombinationRefCT value)
Sets the value of the resourceCombinationRef property.- Parameters:
value- allowed object isResourceCombinationRefCT
-
getResourceRef
public ResourceRefWithCapaCT getResourceRef()
Gets the value of the resourceRef property.- Returns:
- possible object is
ResourceRefWithCapaCT
-
setResourceRef
public void setResourceRef(ResourceRefWithCapaCT value)
Sets the value of the resourceRef property.- Parameters:
value- allowed object isResourceRefWithCapaCT
-
getPhysical
public List<Match.Physical> getPhysical()
Gets the value of the physical 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
setmethod for the physical property.For example, to add a new item, do as follows:
getPhysical().add(newItem);Objects of the following type(s) are allowed in the list
Match.Physical
-
setId
public void setId(String value)
Sets the value of the id property.- Parameters:
value- allowed object isString
-
getAvgProcessingTime
public Float getAvgProcessingTime()
Gets the value of the avgProcessingTime property.- Returns:
- possible object is
Float
-
setAvgProcessingTime
public void setAvgProcessingTime(Float value)
Sets the value of the avgProcessingTime property.- Parameters:
value- allowed object isFloat
-
isIsHumanProcess
public Boolean isIsHumanProcess()
Gets the value of the isHumanProcess property.- Returns:
- possible object is
Boolean
-
-