| 1 | package de.uka.ipd.sdq.dsexplore.qml.pcm.datastructures; |
| 2 | |
| 3 | import org.opt4j.core.Objective; |
| 4 | import org.opt4j.core.SatisfactionConstraint; |
| 5 | |
| 6 | import de.uka.ipd.sdq.pcm.usagemodel.EntryLevelSystemCall; |
| 7 | |
| 8 | public class EntryLevelSystemCallSatisfactionConstraint extends |
| 9 | SatisfactionConstraint implements EntryLevelSystemCallCriterion { |
| 10 | |
| 11 | private EntryLevelSystemCall entryLevelSystemCall; |
| 12 | |
| 13 | public EntryLevelSystemCallSatisfactionConstraint(String id, |
| 14 | Direction direction, double limit, Objective objective, |
| 15 | EntryLevelSystemCall entryLevelSystemCall) { |
| 16 | super(id, direction, limit, objective); |
| 17 | this.entryLevelSystemCall = entryLevelSystemCall; |
| 18 | } |
| 19 | |
| 20 | @Override |
| 21 | public EntryLevelSystemCall getEntryLevelSystemCall() { |
| 22 | return this.entryLevelSystemCall; |
| 23 | } |
| 24 | |
| 25 | } |