org.oasis.was
Interface Vulnerability

All Known Subinterfaces:
SerializableVulnerability

public interface Vulnerability

Java content class for Vulnerability complex type.

The following schema fragment specifies the expected content contained within this java content object.

 <complexType name="Vulnerability">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="attack-characteristic" type="{http://www.oasis.org/was}AttackCharacteristic" maxOccurs="unbounded"/>
         <element name="attack-surface" type="{http://www.oasis.org/was}AttackSurface" maxOccurs="unbounded"/>
         <element name="target" type="{http://www.oasis.org/was}Target"/>
         <element name="condition" type="{http://www.oasis.org/was}Condition" maxOccurs="unbounded"/>
         <element name="consequence" type="{http://www.oasis.org/was}Consequence" maxOccurs="unbounded"/>
       </sequence>
       <attribute name="description" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 


Method Summary
 java.util.List getAttackCharacteristics()
          Gets the value of the AttackCharacteristics property.
 java.util.List getAttackSurfaces()
          Gets the value of the AttackSurfaces property.
 java.util.List getConditions()
          Gets the value of the Conditions property.
 java.util.List getConsequences()
          Gets the value of the Consequences property.
 java.lang.String getDescription()
           
 java.lang.String getName()
           
 Target getTarget()
           
 void setDescription(java.lang.String value)
           
 void setName(java.lang.String value)
           
 void setTarget(Target value)
           
 

Method Detail

getConsequences

public java.util.List getConsequences()
Gets the value of the Consequences property. This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there's any setter method for the Consequences property. For example, to add a new item, do as follows:
    getConsequences().add(newItem);
 
Objects of the following type(s) are allowed in the list Consequence


getDescription

public java.lang.String getDescription()
Returns:
possible object is String

setDescription

public void setDescription(java.lang.String value)
Parameters:
value - allowed object is String

getAttackSurfaces

public java.util.List getAttackSurfaces()
Gets the value of the AttackSurfaces property. This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there's any setter method for the AttackSurfaces property. For example, to add a new item, do as follows:
    getAttackSurfaces().add(newItem);
 
Objects of the following type(s) are allowed in the list AttackSurface


getConditions

public java.util.List getConditions()
Gets the value of the Conditions property. This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there's any setter method for the Conditions property. For example, to add a new item, do as follows:
    getConditions().add(newItem);
 
Objects of the following type(s) are allowed in the list Condition


getName

public java.lang.String getName()
Returns:
possible object is String

setName

public void setName(java.lang.String value)
Parameters:
value - allowed object is String

getTarget

public Target getTarget()
Returns:
possible object is Target

setTarget

public void setTarget(Target value)
Parameters:
value - allowed object is Target

getAttackCharacteristics

public java.util.List getAttackCharacteristics()
Gets the value of the AttackCharacteristics property. This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there's any setter method for the AttackCharacteristics property. For example, to add a new item, do as follows:
    getAttackCharacteristics().add(newItem);
 
Objects of the following type(s) are allowed in the list AttackCharacteristic



Copyright © OASIS. All Rights Reserved.