Class PepInterfaceDescription
- java.lang.Object
-
- de.fraunhofer.iese.mydata.common.MyDataEntity
-
- de.fraunhofer.iese.mydata.component.information.method.PepInterfaceDescription
-
@Entity public class PepInterfaceDescription extends MyDataEntity
Describes the capabilities of Policy Enforcement Points in terms of intercepted events and enforceable methods.- Author:
- Fraunhofer IESE
-
-
Field Summary
Fields Modifier and Type Field Description protected StringdescriptionA description of the method.protected LongidThe component_id.
-
Constructor Summary
Constructors Constructor Description PepInterfaceDescription()Default Constructor, at least required by JPA.sPepInterfaceDescription(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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)List<InputParameterDescription>getEventParameterDescription()inthashCode()voidsetEventParameterDescription(List<InputParameterDescription> eventParameterDescription)-
Methods inherited from class de.fraunhofer.iese.mydata.common.MyDataEntity
fromJson, getGson, getGson, toJson, toString, validate, validateAndNullCheck
-
-
-
-
Constructor Detail
-
PepInterfaceDescription
public PepInterfaceDescription()
Default Constructor, at least required by JPA.s
-
PepInterfaceDescription
public PepInterfaceDescription(ActionId event, boolean isPreventive, String description)
Instantiates a new pep interface description.- Parameters:
event- the event that the PEP intercepts or monitorsisPreventive- a flag that indicated whether the event can be modified or blockeddescription- the description
-
PepInterfaceDescription
public PepInterfaceDescription(ActionId event, boolean isPreventive, String description, @Nonnull List<InputParameterDescription> eventInputParameters)
Instantiates a new pep interface description.- Parameters:
event- the event that the PEP intercepts or monitorsisPreventive- a flag that indicated whether the event can be modified or blockeddescription- the descriptioneventInputParameters- the eventInputParameters
-
-
Method Detail
-
getEventParameterDescription
public List<InputParameterDescription> getEventParameterDescription()
- Returns:
- the list of InputParameterDescriptions
-
setEventParameterDescription
public void setEventParameterDescription(List<InputParameterDescription> eventParameterDescription)
- Parameters:
eventParameterDescription-
-
-