Class CapabilityParameter
- java.lang.Object
-
- fi.tut.mei.capabilityQueryLib.model.CapabilityParameter
-
- Direct Known Subclasses:
Parameter,ParameterObject
public abstract class CapabilityParameter extends Object
Abstract super class for capability parameters.- Author:
- hylli
-
-
Constructor Summary
Constructors Constructor Description CapabilityParameter(String name)Create with the given name.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Get the description of the parameter.StringgetName()Get the parameter name.voidsetDescription(String description)Set the description.voidsetName(String name)Set the parameter name.
-
-
-
Constructor Detail
-
CapabilityParameter
public CapabilityParameter(String name)
Create with the given name.- Parameters:
name- parameter name
-
-
Method Detail
-
getName
public String getName()
Get the parameter name.- Returns:
- the name
-
setName
public void setName(String name)
Set the parameter name.- Parameters:
name- the name to set
-
getDescription
public String getDescription()
Get the description of the parameter.- Returns:
- the description
-
setDescription
public void setDescription(String description)
Set the description.- Parameters:
description- the description to set
-
-