Commit 25658eae authored by Ashmi Banerjee's avatar Ashmi Banerjee
Browse files

Updated the mira model element factory with the security elements aspects

refs 3238
parent 04a95227
......@@ -76,6 +76,11 @@ import org.fortiss.af3.mira.model.requirementSource.RequirementSource;
import org.fortiss.af3.mira.model.requirementSource.RequirementSourceElement;
import org.fortiss.af3.mira.model.requirementSource.RequirementSourceFactory;
import org.fortiss.af3.mira.model.requirementSource.Stakeholder;
import org.fortiss.af3.mira.model.security.Assets;
import org.fortiss.af3.mira.model.security.CounterMeasuresRequirementSpecification;
import org.fortiss.af3.mira.model.security.SecurityFactory;
import org.fortiss.af3.mira.model.security.ThreatsRequirementSpecification;
import org.fortiss.af3.mira.model.security.VulnerabilitiesRequirementSpecification;
import org.fortiss.af3.mira.model.timing.TimeComparison;
import org.fortiss.af3.mira.model.timing.TimeFrame;
import org.fortiss.af3.mira.model.timing.TimingFactory;
......@@ -286,6 +291,28 @@ public final class MiraModelElementFactory {
iface.setResponse(createResponse());
}
/** Creates a {@link AssetsRequirementSpecification}. */
public static Assets createAssets() {
return SecurityFactory.eINSTANCE.createAssets();
}
/** Creates a {@link VulnerabilitiesRequirementSpecification}. */
public static VulnerabilitiesRequirementSpecification
createVulnerabilitiesRequirementSpecification() {
return SecurityFactory.eINSTANCE.createVulnerabilitiesRequirementSpecification();
}
/** Creates a {@link ThreatsRequirementSpecification}. */
public static ThreatsRequirementSpecification createThreatsRequirementSpecification() {
return SecurityFactory.eINSTANCE.createThreatsRequirementSpecification();
}
/** Creates a {@link CounterMeasuresRequirementSpecification}. */
public static CounterMeasuresRequirementSpecification
createCounterMeasuresRequirementSpecification() {
return SecurityFactory.eINSTANCE.createCounterMeasuresRequirementSpecification();
}
/** Creates a {@link SignalRequirement}. */
public static SignalContainerSpecification createSignalRequirement() {
return FunctionalFactory.eINSTANCE.createSignalContainerSpecification();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment