Class AttackDTO
java.lang.Object
org.tweetyproject.web.services.sequenceexplanation.AttackDTO
DTO for serializing an attack between two arguments.
- Author:
- Oleksandr Dzhychko
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfrom(Collection<Attack> attacks) Serialize a collection of attacksstatic AttackDTOSerialize an attacksget attacked argument nameget attacker argument name
-
Constructor Details
-
Method Details
-
from
Serialize a collection of attacks- Parameters:
attacks- set of attacks- Returns:
- List of serialized objects
-
from
Serialize an attacks- Parameters:
attack- an attack- Returns:
- serialized attack
-
getAttacker
get attacker argument name- Returns:
- name of attacker argument
-
getAttacked
get attacked argument name- Returns:
- name of attacked argument
-