|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.change_vision.jude.api.stpa.editor.StampModelEditor
public abstract StampModelEditor
Interface to edit (create/delete) STAMP Models. Throws Exception when invalid models are generated.
Method Summary | |
---|---|
abstract IAccident |
createAccident(IStpaAnalysis owner,
String description)
Create Accident for StpaAnalysis. |
abstract IComponent |
createComponent(IStpaAnalysis owner,
String name)
Create a Component in a StpaAnalysis. |
abstract IComponent |
createComponent(IComponent owner,
String name)
Create a component in a owner component. |
abstract IControlAction |
createControlAction(IControlLink controlLink,
String name)
Create ControlAction for owner ControlLink |
abstract IControlLink |
createControlLink(ILinkableElement source,
ILinkableElement target)
Create a ControlLink between .LinkableElements. |
abstract ICountermeasure |
createCountermeasure(List<IHazardCausalFactor> hazardCausalFactors,
String description)
Create Countermeasure for HCF |
abstract IFeedback |
createFeedback(IFeedbackLink feedbackLink,
String name)
Create a Feedback for owner FeedbackLink |
abstract IFeedbackLink |
createFeedbackLink(ILinkableElement source,
ILinkableElement target)
Create a FeedbackLink between .LinkableElements. |
abstract IHazard |
createHazard(IStpaAnalysis owner,
List<IAccident> accidents,
String description)
Create hazard for accident. |
abstract IHazardCausalFactor |
createHazardCausalFactor(IUnsafeControlAction unsafeControlAction,
String description)
Create UCF for UCA |
abstract IHazardScenario |
createHazardScenario(IHazardCausalFactor hazardCausalFactor,
String description)
Create HazardScenario for HCF |
abstract ILinkEnd |
createLinkEnd(IStpaAnalysis owner,
String name)
Create a LinkEnd in StpaAnalysis. |
abstract IStampComment |
createNonUnsafeControlAction(IControlAction controlAction,
INamedElement guideWord,
String body)
Create NonUnsafeControlAction for ControlAction and guideword. |
abstract IPrecondition |
createPrecondition(IStpaAnalysis owner,
String description)
Create Precondition for StpaAnalysis. |
abstract IProcessModel |
createProcessModel(IComponent owner,
String name)
Create ProcessModel for a component |
abstract IProcessValue |
createProcessValue(IProcessVariable owner,
String name)
Create ProcessVariable Value for ProcessVariable. |
abstract IProcessVariable |
createProcessVariable(IProcessModel owner,
String name)
Create ProcessVariable for ProcessModel. |
abstract ISafetyConstraint |
createSafetyConstraint(IStpaAnalysis owner,
List<IHazard> hazards,
String description)
Create SafetyConstraint for Hazard. |
abstract IUnsafeControlAction |
createUnsafeControlAction(IControlAction controlAction,
INamedElement guideWord,
String description)
Create UCA for ControlAction and GuideWord |
Methods inherited from class com.change_vision.jude.api.inf.editor.ModelEditor |
---|
changeParent, delete |
Method Detail |
---|
abstract IComponent createComponent(IStpaAnalysis owner, String name)
owner
- StpaAnalysisname
- Component Names
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. INVALID_PARENT_KEY - if the parent is invalid. INVALID_OWNER_KEY - if the owner is invalid. BAD_TRANSACTION_KEY - Bad Transaction.
Values: Error messages for exceptions.
abstract IComponent createComponent(IComponent owner, String name)
owner
- Owner Componentname
- Name
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. INVALID_PARENT_KEY - if the parent is invalid. INVALID_OWNER_KEY - if the owner is invalid. BAD_TRANSACTION_KEY - Bad Transaction.
Values: Error messages for exceptions.
abstract ILinkEnd createLinkEnd(IStpaAnalysis owner, String name)
owner
- StpaAnalysisname
- LinkEnd Name
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. INVALID_PARENT_KEY - if the parent is invalid. INVALID_OWNER_KEY - if the owner is invalid. BAD_TRANSACTION_KEY - Bad Transaction.
Values: Error messages for exceptions.
abstract IControlLink createControlLink(ILinkableElement source, ILinkableElement target)
source
- Source LinkableElementtarget
- Target LinkableElement
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. INVALID_PARENT_KEY - if the parent is invalid. INVALID_OWNER_KEY - if the owner is invalid. BAD_TRANSACTION_KEY - Bad Transaction.
Values: Error messages for exceptions.
abstract IFeedbackLink createFeedbackLink(ILinkableElement source, ILinkableElement target)
source
- Source LinkableElementtarget
- Target LinkableElement
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. INVALID_PARENT_KEY - if the parent is invalid. INVALID_OWNER_KEY - if the owner is invalid. BAD_TRANSACTION_KEY - Bad Transaction.
Values: Error messages for exceptions.
abstract IControlAction createControlAction(IControlLink controlLink, String name)
controlLink
- ControlLinkname
- ControlAction Name
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. INVALID_PARENT_KEY - if the parent is invalid. INVALID_OWNER_KEY - if the owner is invalid. BAD_TRANSACTION_KEY - Bad Transaction.
Values: Error messages for exceptions.
abstract IFeedback createFeedback(IFeedbackLink feedbackLink, String name)
feedbackLink
- Owner FeedbackLinkname
- Feedback Name
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. INVALID_PARENT_KEY - if the parent is invalid. INVALID_OWNER_KEY - if the owner is invalid. BAD_TRANSACTION_KEY - Bad Transaction.
Values: Error messages for exceptions.
abstract IProcessModel createProcessModel(IComponent owner, String name)
IComponent
- Componentname
- ProcessModel Name
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. INVALID_PARENT_KEY - if the parent is invalid. INVALID_OWNER_KEY - if the owner is invalid. BAD_TRANSACTION_KEY - Bad Transaction.
Values: Error messages for exceptions.
abstract IProcessVariable createProcessVariable(IProcessModel owner, String name)
owner
- ProcessModelname
- ProcessVariable Name
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. INVALID_PARENT_KEY - if the parent is invalid. INVALID_OWNER_KEY - if the owner is invalid. BAD_TRANSACTION_KEY - Bad Transaction.
Values: Error messages for exceptions.
abstract IProcessValue createProcessValue(IProcessVariable owner, String name)
owner
- ProcessVariablename
- ProcessVariable Value Name
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. INVALID_PARENT_KEY - if the parent is invalid. INVALID_OWNER_KEY - if the owner is invalid. BAD_TRANSACTION_KEY - Bad Transaction.
Values: Error messages for exceptions.
abstract IPrecondition createPrecondition(IStpaAnalysis owner, String description)
owner
- StpaAnalysisdescription
- Precondition description
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. INVALID_PARENT_KEY - if the parent is invalid. INVALID_OWNER_KEY - if the owner is invalid. BAD_TRANSACTION_KEY - Bad Transaction.
Values: Error messages for exceptions.
abstract IAccident createAccident(IStpaAnalysis owner, String description)
owner
- StpaAnalysisdescription
- Accident description
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. INVALID_PARENT_KEY - if the parent is invalid. INVALID_OWNER_KEY - if the owner is invalid. BAD_TRANSACTION_KEY - Bad Transaction.
Values: Error messages for exceptions.
abstract IHazard createHazard(IStpaAnalysis owner, List<IAccident> accidents, String description)
accidents
- Accidents Listdescription
- Hazard description
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. INVALID_PARENT_KEY - if the parent is invalid. INVALID_OWNER_KEY - if the owner is invalid. BAD_TRANSACTION_KEY - Bad Transaction.
Values: Error messages for exceptions.
abstract ISafetyConstraint createSafetyConstraint(IStpaAnalysis owner, List<IHazard> hazards, String description)
owner
- StpaAnalysishazards
- Hazardsdescription
- SafetyConstraint description
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. INVALID_PARENT_KEY - if the parent is invalid. INVALID_OWNER_KEY - if the owner is invalid. BAD_TRANSACTION_KEY - Bad Transaction.
Values: Error messages for exceptions.
abstract IUnsafeControlAction createUnsafeControlAction(IControlAction controlAction, INamedElement guideWord, String description)
controlAction
- ControlActionguideWord
- GuideWorddescription
- UCA Description
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. INVALID_PARENT_KEY - if the parent is invalid. INVALID_OWNER_KEY - if the owner is invalid. BAD_TRANSACTION_KEY - Bad Transaction.
Values: Error messages for exceptions.
abstract IStampComment createNonUnsafeControlAction(IControlAction controlAction, INamedElement guideWord, String body)
controlAction
- ControlActionguideWord
- guideWorddescription
- NonUnsafeControlAction descriptions
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. INVALID_PARENT_KEY - if the parent is invalid. INVALID_OWNER_KEY - if the owner is invalid. BAD_TRANSACTION_KEY - Bad Transaction.
Values: Error messages for exceptions.
abstract IHazardCausalFactor createHazardCausalFactor(IUnsafeControlAction unsafeControlAction, String description)
unsafeControlAction
- UCAdescription
- HCF description
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. INVALID_PARENT_KEY - if the parent is invalid. INVALID_OWNER_KEY - if the owner is invalid. BAD_TRANSACTION_KEY - Bad Transaction.
Values: Error messages for exceptions.
abstract ICountermeasure createCountermeasure(List<IHazardCausalFactor> hazardCausalFactors, String description)
hazardCausalFactors
- hazardCausalFactorsdescription
- Countermeasure Description
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. INVALID_PARENT_KEY - if the parent is invalid. INVALID_OWNER_KEY - if the owner is invalid. BAD_TRANSACTION_KEY - Bad Transaction.
Values: Error messages for exceptions.
abstract IHazardScenario createHazardScenario(IHazardCausalFactor hazardCausalFactor, String description)
hazardCausalFactors
- HCFdescription
- HazardScenario Description
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. INVALID_PARENT_KEY - if the parent is invalid. INVALID_OWNER_KEY - if the owner is invalid. BAD_TRANSACTION_KEY - Bad Transaction.
Values: Error messages for exceptions.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |