Interface Vulnerability
-
- All Superinterfaces:
org.eclipse.emf.cdo.CDOObject
,org.eclipse.emf.cdo.common.id.CDOWithID
,org.palladiosimulator.pcm.core.entity.Entity
,EObject
,de.uka.ipd.sdq.identifier.Identifier
,org.palladiosimulator.pcm.core.entity.NamedElement
,Notifier
,org.palladiosimulator.pcm.PCMBaseClass
,org.palladiosimulator.pcm.PCMClass
- All Known Subinterfaces:
CVEVulnerability
,CWEVulnerability
- All Known Implementing Classes:
CVEVulnerabilityImpl
,CWEVulnerabilityImpl
,VulnerabilityImpl
public interface Vulnerability extends org.palladiosimulator.pcm.core.entity.Entity
A representation of the model object 'Vulnerability'.The following features are supported:
- See Also:
AttackSpecificationPackage.getVulnerability()
- Generated class or method.
- EMF model class or method.
- abstract="true"
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AttackComplexity
getAttackComplexity()
Returns the value of the 'Attack Complexity' attribute.AttackVector
getAttackVector()
Returns the value of the 'Attack Vector' attribute.AvailabilityImpact
getAvailabilityImpact()
Returns the value of the 'Availability Impact' attribute.ConfidentialityImpact
getConfidentialityImpact()
Returns the value of the 'Confidentiality Impact' attribute.EList<UsageSpecification>
getGainedAttributes()
Returns the value of the 'Gained Attributes' reference list.IntegrityImpact
getIntegrityImpact()
Returns the value of the 'Integrity Impact' attribute.Privileges
getPrivileges()
Returns the value of the 'Privileges' attribute.Policy
getRequiredCredentials()
Returns the value of the 'Required Credentials' reference.EList<Role>
getRole()
Returns the value of the 'Role' containment reference list.UserInteraction
getUserInteraction()
Returns the value of the 'User Interaction' attribute.boolean
isTakeOver()
Returns the value of the 'Take Over' attribute.void
setAttackComplexity(AttackComplexity value)
Sets the value of the 'Attack Complexity
' attribute.void
setAttackVector(AttackVector value)
Sets the value of the 'Attack Vector
' attribute.void
setAvailabilityImpact(AvailabilityImpact value)
Sets the value of the 'Availability Impact
' attribute.void
setConfidentialityImpact(ConfidentialityImpact value)
Sets the value of the 'Confidentiality Impact
' attribute.void
setIntegrityImpact(IntegrityImpact value)
Sets the value of the 'Integrity Impact
' attribute.void
setPrivileges(Privileges value)
Sets the value of the 'Privileges
' attribute.void
setRequiredCredentials(Policy value)
Sets the value of the 'Required Credentials
' reference.void
setTakeOver(boolean value)
Sets the value of the 'Take Over
' attribute.void
setUserInteraction(UserInteraction value)
Sets the value of the 'User Interaction
' attribute.-
Methods inherited from interface org.eclipse.emf.cdo.CDOObject
cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoRevision, cdoState, cdoView, cdoWriteLock, cdoWriteOption
-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface org.palladiosimulator.pcm.core.entity.NamedElement
getEntityName, setEntityName
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
-
-
-
Method Detail
-
getAttackVector
AttackVector getAttackVector()
Returns the value of the 'Attack Vector' attribute. The default value is"Network"
. The literals are from the enumerationAttackVector
.- Returns:
- the value of the 'Attack Vector' attribute.
- See Also:
AttackVector
,setAttackVector(AttackVector)
,AttackSpecificationPackage.getVulnerability_AttackVector()
- Generated class or method.
- EMF model class or method.
- default="Network" required="true"
-
setAttackVector
void setAttackVector(AttackVector value)
Sets the value of the 'Attack Vector
' attribute.- Parameters:
value
- the new value of the 'Attack Vector' attribute.- See Also:
AttackVector
,getAttackVector()
- Generated class or method.
-
getAttackComplexity
AttackComplexity getAttackComplexity()
Returns the value of the 'Attack Complexity' attribute. The default value is"Low"
. The literals are from the enumerationAttackComplexity
.- Returns:
- the value of the 'Attack Complexity' attribute.
- See Also:
AttackComplexity
,setAttackComplexity(AttackComplexity)
,AttackSpecificationPackage.getVulnerability_AttackComplexity()
- Generated class or method.
- EMF model class or method.
- default="Low" required="true"
-
setAttackComplexity
void setAttackComplexity(AttackComplexity value)
Sets the value of the 'Attack Complexity
' attribute.- Parameters:
value
- the new value of the 'Attack Complexity' attribute.- See Also:
AttackComplexity
,getAttackComplexity()
- Generated class or method.
-
getPrivileges
Privileges getPrivileges()
Returns the value of the 'Privileges' attribute. The default value is"None"
. The literals are from the enumerationPrivileges
.- Returns:
- the value of the 'Privileges' attribute.
- See Also:
Privileges
,setPrivileges(Privileges)
,AttackSpecificationPackage.getVulnerability_Privileges()
- Generated class or method.
- EMF model class or method.
- default="None" required="true"
-
setPrivileges
void setPrivileges(Privileges value)
Sets the value of the 'Privileges
' attribute.- Parameters:
value
- the new value of the 'Privileges' attribute.- See Also:
Privileges
,getPrivileges()
- Generated class or method.
-
getUserInteraction
UserInteraction getUserInteraction()
Returns the value of the 'User Interaction' attribute. The default value is"None"
. The literals are from the enumerationUserInteraction
.- Returns:
- the value of the 'User Interaction' attribute.
- See Also:
UserInteraction
,setUserInteraction(UserInteraction)
,AttackSpecificationPackage.getVulnerability_UserInteraction()
- Generated class or method.
- EMF model class or method.
- default="None" required="true"
-
setUserInteraction
void setUserInteraction(UserInteraction value)
Sets the value of the 'User Interaction
' attribute.- Parameters:
value
- the new value of the 'User Interaction' attribute.- See Also:
UserInteraction
,getUserInteraction()
- Generated class or method.
-
getRequiredCredentials
Policy getRequiredCredentials()
Returns the value of the 'Required Credentials' reference.- Returns:
- the value of the 'Required Credentials' reference.
- See Also:
setRequiredCredentials(Policy)
,AttackSpecificationPackage.getVulnerability_RequiredCredentials()
- Generated class or method.
- EMF model class or method.
-
setRequiredCredentials
void setRequiredCredentials(Policy value)
Sets the value of the 'Required Credentials
' reference.- Parameters:
value
- the new value of the 'Required Credentials' reference.- See Also:
getRequiredCredentials()
- Generated class or method.
-
getConfidentialityImpact
ConfidentialityImpact getConfidentialityImpact()
Returns the value of the 'Confidentiality Impact' attribute. The default value is"None"
. The literals are from the enumerationConfidentialityImpact
.- Returns:
- the value of the 'Confidentiality Impact' attribute.
- See Also:
ConfidentialityImpact
,setConfidentialityImpact(ConfidentialityImpact)
,AttackSpecificationPackage.getVulnerability_ConfidentialityImpact()
- Generated class or method.
- EMF model class or method.
- default="None" required="true"
-
setConfidentialityImpact
void setConfidentialityImpact(ConfidentialityImpact value)
Sets the value of the 'Confidentiality Impact
' attribute.- Parameters:
value
- the new value of the 'Confidentiality Impact' attribute.- See Also:
ConfidentialityImpact
,getConfidentialityImpact()
- Generated class or method.
-
getIntegrityImpact
IntegrityImpact getIntegrityImpact()
Returns the value of the 'Integrity Impact' attribute. The default value is"None"
. The literals are from the enumerationIntegrityImpact
.- Returns:
- the value of the 'Integrity Impact' attribute.
- See Also:
IntegrityImpact
,setIntegrityImpact(IntegrityImpact)
,AttackSpecificationPackage.getVulnerability_IntegrityImpact()
- Generated class or method.
- EMF model class or method.
- default="None" required="true"
-
setIntegrityImpact
void setIntegrityImpact(IntegrityImpact value)
Sets the value of the 'Integrity Impact
' attribute.- Parameters:
value
- the new value of the 'Integrity Impact' attribute.- See Also:
IntegrityImpact
,getIntegrityImpact()
- Generated class or method.
-
getAvailabilityImpact
AvailabilityImpact getAvailabilityImpact()
Returns the value of the 'Availability Impact' attribute. The default value is"None"
. The literals are from the enumerationAvailabilityImpact
.- Returns:
- the value of the 'Availability Impact' attribute.
- See Also:
AvailabilityImpact
,setAvailabilityImpact(AvailabilityImpact)
,AttackSpecificationPackage.getVulnerability_AvailabilityImpact()
- Generated class or method.
- EMF model class or method.
- default="None" required="true"
-
setAvailabilityImpact
void setAvailabilityImpact(AvailabilityImpact value)
Sets the value of the 'Availability Impact
' attribute.- Parameters:
value
- the new value of the 'Availability Impact' attribute.- See Also:
AvailabilityImpact
,getAvailabilityImpact()
- Generated class or method.
-
getGainedAttributes
EList<UsageSpecification> getGainedAttributes()
Returns the value of the 'Gained Attributes' reference list. The list contents are of typeUsageSpecification
.- Returns:
- the value of the 'Gained Attributes' reference list.
- See Also:
AttackSpecificationPackage.getVulnerability_GainedAttributes()
- Generated class or method.
- EMF model class or method.
-
isTakeOver
boolean isTakeOver()
Returns the value of the 'Take Over' attribute.- Returns:
- the value of the 'Take Over' attribute.
- See Also:
setTakeOver(boolean)
,AttackSpecificationPackage.getVulnerability_TakeOver()
- Generated class or method.
- EMF model class or method.
-
setTakeOver
void setTakeOver(boolean value)
Sets the value of the 'Take Over
' attribute.- Parameters:
value
- the new value of the 'Take Over' attribute.- See Also:
isTakeOver()
- Generated class or method.
-
getRole
EList<Role> getRole()
Returns the value of the 'Role' containment reference list. The list contents are of typeRole
.- Returns:
- the value of the 'Role' containment reference list.
- See Also:
AttackSpecificationPackage.getVulnerability_Role()
- Generated class or method.
- EMF model class or method.
- containment="true"
-
-