@Entity public class PepInterfaceDescription extends Ind2uceEntity
| Modifier and Type | Field and Description |
|---|---|
protected String |
description
A description of the method.
|
protected Long |
id
The id.
|
GSON_DEFAULT, GSON_PLAIN, GSON_PRETTY, version| Constructor and Description |
|---|
PepInterfaceDescription()
Default Constructor, at least required by JPA.s
|
PepInterfaceDescription(ActionId event,
boolean isPreventive,
String description)
Instantiates a new pep interface description.
|
PepInterfaceDescription(ActionId event,
boolean isPreventive,
String description,
List<InputParameterDescription> eventInputParameters)
Instantiates a new pep interface description.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getDescription()
Gets the description.
|
ActionId |
getEvent()
Gets the event that is intercepted or monitored.
|
List<InputParameterDescription> |
getEventParameterDescription()
Gets the event parameter description.
|
Long |
getId()
Gets the id.
|
int |
hashCode() |
boolean |
isPreventive()
Checks if is a flag that indicated whether the event can be modified or
blocked.
|
void |
setDescription(String description)
Sets the description.
|
void |
setEvent(ActionId event)
Sets the event that is intercepted or monitored.
|
void |
setEventParameterDescription(List<InputParameterDescription> eventParameterDescription)
Sets the event parameter description.
|
void |
setId(Long id)
Sets the id.
|
void |
setPreventive(boolean preventive)
Sets the a flag that indicated whether the event can be modified or
blocked.
|
fromJson, getGson, getVersion, toJson, toStringprotected Long id
protected String description
public PepInterfaceDescription()
public PepInterfaceDescription(ActionId event, boolean isPreventive, String description)
event - the event that the PEP intercepts or monitorsisPreventive - a flag that indicated whether the event can be modified
or blockeddescription - the descriptionpublic PepInterfaceDescription(ActionId event, boolean isPreventive, String description, List<InputParameterDescription> eventInputParameters)
event - the event that the PEP intercepts or monitorsisPreventive - a flag that indicated whether the event can be modified
or blockeddescription - the descriptioneventInputParameters - the eventInputParameterspublic String getDescription()
public ActionId getEvent()
public List<InputParameterDescription> getEventParameterDescription()
public Long getId()
public boolean isPreventive()
public void setDescription(String description)
description - the new descriptionpublic void setEvent(ActionId event)
event - the new event that is intercepted or monitoredpublic void setEventParameterDescription(List<InputParameterDescription> eventParameterDescription)
eventParameterDescription - the new event parameter descriptionpublic void setId(Long id)
id - the new idpublic void setPreventive(boolean preventive)
preventive - the new a flag that indicated whether the event can be
modified or blockedCopyright © 2018. All rights reserved.