public class Failure
extends org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
implements org.eclipse.emf.ecore.EObject
The following features are supported:
FlammPackage.getFailure()
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
Constructor and Description |
---|
Failure() |
Failure(Failure oldFailure)
Copy-constructor
|
Failure(Failure oldFailure,
java.util.Collection<Failure> previousFailures)
Copy-constructor
|
Failure(Failure oldFailure,
Failure previousFailure)
Copy-constructor
|
Failure(FailureType type,
java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
void |
addPreviousFailure(Failure previousFailure) |
void |
addPreviousFailures(java.util.Collection<Failure> previousFailures) |
org.eclipse.emf.common.notify.NotificationChain |
basicSetAcidAvoidable(ACIDavoidable newAcidAvoidable,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
basicSetAcidMitigation(ACIDmitigation newAcidMitigation,
org.eclipse.emf.common.notify.NotificationChain msgs) |
static Failure |
createNoFailure() |
static Failure |
createWildcard() |
static boolean |
doCollectionContainFailure(java.util.Collection<Failure> collection,
Failure failure) |
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
org.eclipse.emf.common.notify.NotificationChain |
eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
void |
eUnset(int featureID) |
ACIDavoidable |
getAcidAvoidable()
Returns the value of the 'Acid Avoidable' containment reference.
|
ACIDmitigation |
getAcidMitigation()
Returns the value of the 'Acid Mitigation' containment reference.
|
java.lang.String |
getAttack()
Returns the value of the 'Attack' attribute.
|
static Failure |
getFailureInCollection(java.util.Collection<Failure> collection,
Failure failure) |
java.lang.String |
getId()
Returns the value of the 'Id' attribute.
|
java.util.List<Failure> |
getPreviousFailures()
Returns the value of the 'Previous Failures' reference list.
|
java.lang.String |
getSpecialization()
Returns the value of the 'Specialization' attribute.
|
FailureType |
getType()
Returns the value of the 'Type' attribute.
|
java.lang.String |
getVulnerability()
Returns the value of the 'Vulnerability' attribute.
|
boolean |
isSameFailure(Failure other) |
void |
setAcidAvoidable(ACIDavoidable newAcidAvoidable)
Sets the value of the '
Acid Avoidable ' containment reference. |
void |
setAcidMitigation(ACIDmitigation newAcidMitigation)
Sets the value of the '
Acid Mitigation ' containment reference. |
void |
setAttack(java.lang.String newAttack)
Sets the value of the '
Attack ' attribute. |
void |
setId(java.lang.String newId)
Sets the value of the '
Id ' attribute. |
void |
setSpecialization(java.lang.String newSpecialization)
Sets the value of the '
Specialization ' attribute. |
void |
setType(FailureType newType)
Sets the value of the '
Type ' attribute. |
void |
setVulnerability(java.lang.String newVulnerability)
Sets the value of the '
Vulnerability ' attribute. |
java.lang.String |
toString() |
eInternalContainer
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eIsProxy, eProxyURI, eSetClass, eSetDeliver, eSetProxyURI
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset
eNotificationRequired, eNotify
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
public Failure()
public Failure(FailureType type, java.lang.String id)
public Failure(Failure oldFailure)
oldFailure
- existing Failure to copypublic Failure(Failure oldFailure, Failure previousFailure)
oldFailure
- existing Failure to copypublic static Failure createNoFailure()
public static Failure createWildcard()
public FailureType getType()
FailureType
.
If the meaning of the 'Type' attribute isn't clear, there really should be more of a description here...
FailureType
,
setType(FailureType)
,
FlammPackage.getFailure_Type()
public void setType(FailureType newType)
Type
' attribute.
value
- the new value of the 'Type' attribute.FailureType
,
getType()
public java.lang.String getId()
If the meaning of the 'Id' attribute isn't clear, there really should be more of a description here...
setId(String)
,
FlammPackage.getFailure_Id()
public void setId(java.lang.String newId)
Id
' attribute.
value
- the new value of the 'Id' attribute.getId()
public ACIDavoidable getAcidAvoidable()
If the meaning of the 'Acid Avoidable' containment reference isn't clear, there really should be more of a description here...
setAcidAvoidable(ACIDavoidable)
,
FlammPackage.getFailure_AcidAvoidable()
public org.eclipse.emf.common.notify.NotificationChain basicSetAcidAvoidable(ACIDavoidable newAcidAvoidable, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setAcidAvoidable(ACIDavoidable newAcidAvoidable)
Acid Avoidable
' containment reference.
value
- the new value of the 'Acid Avoidable' containment reference.getAcidAvoidable()
public ACIDmitigation getAcidMitigation()
If the meaning of the 'Acid Mitigation' containment reference isn't clear, there really should be more of a description here...
setAcidMitigation(ACIDmitigation)
,
FlammPackage.getFailure_AcidMitigation()
public org.eclipse.emf.common.notify.NotificationChain basicSetAcidMitigation(ACIDmitigation newAcidMitigation, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setAcidMitigation(ACIDmitigation newAcidMitigation)
Acid Mitigation
' containment reference.
value
- the new value of the 'Acid Mitigation' containment reference.getAcidMitigation()
public java.util.List<Failure> getPreviousFailures()
Failure
.
If the meaning of the 'Previous Failures' reference list isn't clear, there really should be more of a description here...
FlammPackage.getFailure_PreviousFailures()
public java.lang.String getSpecialization()
If the meaning of the 'Specialization' attribute isn't clear, there really should be more of a description here...
setSpecialization(String)
,
FlammPackage.getFailure_Specialization()
public void setSpecialization(java.lang.String newSpecialization)
Specialization
' attribute.
value
- the new value of the 'Specialization' attribute.getSpecialization()
public java.lang.String getVulnerability()
If the meaning of the 'Vulnerability' attribute isn't clear, there really should be more of a description here...
setVulnerability(String)
,
FlammPackage.getFailure_Vulnerability()
public void setVulnerability(java.lang.String newVulnerability)
Vulnerability
' attribute.
value
- the new value of the 'Vulnerability' attribute.getVulnerability()
public java.lang.String getAttack()
If the meaning of the 'Attack' attribute isn't clear, there really should be more of a description here...
setAttack(String)
,
FlammPackage.getFailure_Attack()
public void setAttack(java.lang.String newAttack)
Attack
' attribute.
value
- the new value of the 'Attack' attribute.getAttack()
public void addPreviousFailure(Failure previousFailure)
public void addPreviousFailures(java.util.Collection<Failure> previousFailures)
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseRemove
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public boolean isSameFailure(Failure other)
public static boolean doCollectionContainFailure(java.util.Collection<Failure> collection, Failure failure)
public static Failure getFailureInCollection(java.util.Collection<Failure> collection, Failure failure)
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public java.lang.String toString()
toString
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl