com.change_vision.jude.api.stpa.model
Interface IAccident
com.change_vision.jude.api.stpa.model.IAccident
- All Superinterfaces:
- IElement, IEntity, IHyperlinkOwner, IIdentifiedElement, IStampElement
- All Implemented Interfaces:
- IElement, IEntity, IHyperlinkOwner, IIdentifiedElement, IStampElement
public abstract IAccident
- extends IIdentifiedElement
Interface for Accident.
Methods inherited from class com.change_vision.jude.api.inf.model.IElement |
addStereotype, getComments, getContainer, getContainers, getId, getOwner, getPresentations, getStereotypes, getTaggedValue, getTaggedValues, getTypeModifier, hasStereotype, isReadOnly, removeStereotype, setTypeModifier |
owner
private IStpaAnalysis owner
hazard
private IHazard hazard
getHazards
abstract List<IHazard> getHazards()
- Get Hazards
- Returns:
- List
Hazards
setHazards
abstract void setHazards(List<IHazard> hazards)
- Set Hazards
- Parameters:
hazards
- hazards
- Throws:
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.