Class Standard
- java.lang.Object
-
- fi.tut.mei.matchmaking.process.interfacemm.model.Standard
-
public class Standard extends Object
Datamodel for (Interface) Standard.- Author:
- Niko Siltala
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getGid()
int
getNbrOfChar_req()
How many standard characteristics are defined as required?Collection<StdCharacteristic>
getStdChar_opt()
Gets the list of optional StdCharacteristicsCollection<StdCharacteristic>
getStdChar_req()
Gets the list of required StdCharacteristicsStdCharacteristic
getStdCharacteristic_byName(String name)
Gets the standard characteristic by name.String
getStdCode()
void
setStdCharacteristic(StdCharacteristic stdChar, boolean bRequired)
Stores standard characteristic to lists of a Standard
-
-
-
Method Detail
-
getGid
public String getGid()
- Returns:
- the gid
-
getStdCode
public String getStdCode()
- Returns:
- the stdCode
-
setStdCharacteristic
public void setStdCharacteristic(StdCharacteristic stdChar, boolean bRequired)
Stores standard characteristic to lists of a Standard- Parameters:
stdChar
- populated StdCharacteristicbRequired
- set true if this characteristic is required one
-
getStdCharacteristic_byName
public StdCharacteristic getStdCharacteristic_byName(String name)
Gets the standard characteristic by name.- Parameters:
name
- Name of the StdCharacteristic- Returns:
- StdCharacteristic. Null if not found.
-
getNbrOfChar_req
public int getNbrOfChar_req()
How many standard characteristics are defined as required?- Returns:
- number of required characteristics
-
getStdChar_req
public Collection<StdCharacteristic> getStdChar_req()
Gets the list of required StdCharacteristics- Returns:
- the stdChar_req
-
getStdChar_opt
public Collection<StdCharacteristic> getStdChar_opt()
Gets the list of optional StdCharacteristics- Returns:
- the stdChar_opt
-
-