Class CapabilityInfo
- java.lang.Object
-
- fi.tut.mei.resdescapi.rescatapi.model.DescriptionInfo
-
- fi.tut.mei.resdescapi.rescatapi.model.CapabilityInfo
-
- All Implemented Interfaces:
Cloneable
public class CapabilityInfo extends DescriptionInfo
Data container for Capability- Author:
- Niko Siltala
-
-
Constructor Summary
Constructors Constructor Description CapabilityInfo()
CapabilityInfo(String id, String guid, String name, String desc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addCapaParamInfo(CapabilityParameterInfo capaParamInfo)
Adds new Capability parameter to this container's collectionObject
clone()
boolean
equals(Object obj)
List<CapabilityParameterInfo>
getCapaParamById(String capaParamId)
Gets specific Capability parameter by Parameter IDList<CapabilityParameterInfo>
getCapaParamList()
int
hashCode()
void
setCapaParamList(List<CapabilityParameterInfo> capaParamList)
String
toString()
-
Methods inherited from class fi.tut.mei.resdescapi.rescatapi.model.DescriptionInfo
getDescription, getGuid, getId, getName, setDescription, setGuid, setId, setName
-
-
-
-
Method Detail
-
clone
public Object clone() throws CloneNotSupportedException
- Overrides:
clone
in classDescriptionInfo
- Throws:
CloneNotSupportedException
-
getCapaParamById
public List<CapabilityParameterInfo> getCapaParamById(String capaParamId)
Gets specific Capability parameter by Parameter ID- Parameters:
capaParamId
- Id of the searched parameter- Returns:
- Capability Parameter information
-
getCapaParamList
public List<CapabilityParameterInfo> getCapaParamList()
- Returns:
- the capaParamList
-
setCapaParamList
public void setCapaParamList(List<CapabilityParameterInfo> capaParamList)
- Parameters:
capaParamList
- the capaParamList to set
-
addCapaParamInfo
public boolean addCapaParamInfo(CapabilityParameterInfo capaParamInfo)
Adds new Capability parameter to this container's collection- Parameters:
capaParamInfo
- Capability parameter information element to be added- Returns:
- true if it was added, false if not (e.g. it was existing there already).
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classDescriptionInfo
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classDescriptionInfo
-
toString
public String toString()
- Overrides:
toString
in classDescriptionInfo
-
-