Package eu.simuline.relana.model
Class SInstance
- java.lang.Object
-
- eu.simuline.relana.model.SInstance
-
public final class SInstance extends Object
Represents the instance of anSClass. Created: Thu Apr 14 22:51:12 2005- Version:
- 1.0
- Author:
- Ernst Reissner
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) SInstanceadd(Deficiency def)Returns theSInstancearising from this one by removingdefin a way that means thatdefoccurs.booleanequals(Object obj)ProbDistrgetDistr()FormulagetFormula()Set<Deficiency>getMin()(package private) StringgetName()TypegetType()inthashCode()(package private) SInstanceremove(Deficiency def)Returns theSInstancearising from this one by removingdefin a way that means thatdefdoes not occur.voidsetFormula(Formula form)(package private) SInstancesubstitute(SInstance serv, Formula form)StringtoString()
-
-
-
Method Detail
-
getName
String getName()
-
setFormula
public void setFormula(Formula form)
-
getType
public Type getType()
-
getDistr
public ProbDistr getDistr()
-
getFormula
public Formula getFormula()
-
getMin
public Set<Deficiency> getMin()
-
remove
SInstance remove(Deficiency def)
Returns theSInstancearising from this one by removingdefin a way that means thatdefdoes not occur. This means that all deficiencies abovedefare removed as well. CAUTION: This may returnnull.- Parameters:
def- aDeficiencyminimal within the type of this effect. **** is this unique or not? ****- Returns:
- the
SInstancearising from this one by assuming thatdefdoes not occur for this effect. Note that ifdefis minimal within the type of this effect, the resulting type is empty. Since this is not allowed forSInstances, this method must returnnull.
-
add
SInstance add(Deficiency def)
Returns theSInstancearising from this one by removingdefin a way that means thatdefoccurs.- Parameters:
def- aDeficiencyminimal within the type of this effect. **** is this unique or not? ****- Returns:
- the
SInstancearising from this one by assuming thatdefdoes occurs for this effect.
-
-