@Entity public class Attack extends Object implements Serializable
Constructor and Description |
---|
Attack() |
Attack(Event event) |
Attack(User user,
DetectionPoint detectionPoint,
DetectionSystem detectionSystem) |
Attack(User user,
DetectionPoint detectionPoint,
String timestamp,
DetectionSystem detectionSystem) |
Attack(User user,
DetectionPoint detectionPoint,
String timestamp,
DetectionSystem detectionSystem,
Resource resource) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
DetectionPoint |
getDetectionPoint() |
DetectionSystem |
getDetectionSystem() |
Integer |
getId() |
Collection<KeyValuePair> |
getMetadata() |
Resource |
getResource() |
String |
getTimestamp() |
User |
getUser() |
int |
hashCode() |
Attack |
setDetectionPoint(DetectionPoint detectionPoint) |
Attack |
setDetectionSystem(DetectionSystem detectionSystem) |
void |
setId(Integer id) |
void |
setMetadata(Collection<KeyValuePair> metadata) |
Attack |
setResource(Resource resource) |
Attack |
setTimestamp(String timestamp) |
Attack |
setUser(User user) |
String |
toString() |
public Attack()
public Attack(User user, DetectionPoint detectionPoint, DetectionSystem detectionSystem)
public Attack(User user, DetectionPoint detectionPoint, String timestamp, DetectionSystem detectionSystem)
public Attack(User user, DetectionPoint detectionPoint, String timestamp, DetectionSystem detectionSystem, Resource resource)
public Attack(Event event)
public Integer getId()
public void setId(Integer id)
public User getUser()
public DetectionPoint getDetectionPoint()
public Attack setDetectionPoint(DetectionPoint detectionPoint)
public String getTimestamp()
public DetectionSystem getDetectionSystem()
public Attack setDetectionSystem(DetectionSystem detectionSystem)
public Resource getResource()
public Collection<KeyValuePair> getMetadata()
public void setMetadata(Collection<KeyValuePair> metadata)
public int hashCode()
public boolean equals(Object obj)
public String toString()
Copyright © 2015 The Open Web Application Security Project (OWASP). All rights reserved.