Package org.dspace.app.ldn
Class NotifyServiceInboundPattern
java.lang.Object
org.dspace.app.ldn.NotifyServiceInboundPattern
- All Implemented Interfaces:
ReloadableEntity<Integer>
@Entity
public class NotifyServiceInboundPattern
extends Object
implements ReloadableEntity<Integer>
Database object representing notify service inbound patterns. Every
NotifyServiceEntity
may have inbounds and outbounds. Inbounds are to be sent to the external service.- Author:
- Mohamed Eskander (mohamed.eskander at 4science.com)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetID()The unique identifier of this entity instance.booleanwhen true - the notification is automatically when constraints are respected.voidsetAutomatic(boolean automatic) voidsetConstraint(String constraint) voidvoidsetNotifyService(NotifyServiceEntity notifyService) voidsetPattern(String pattern)
-
Constructor Details
-
NotifyServiceInboundPattern
public NotifyServiceInboundPattern()
-
-
Method Details
-
getID
Description copied from interface:ReloadableEntityThe unique identifier of this entity instance.- Specified by:
getIDin interfaceReloadableEntity<Integer>- Returns:
- the value of the primary key for this instance.
-
setId
-
getNotifyService
-
setNotifyService
-
getPattern
- Returns:
- pattern of the inbound notification
- See Also:
-
setPattern
-
getConstraint
- Returns:
- the condition checked for automatic evaluation
-
setConstraint
-
isAutomatic
public boolean isAutomatic()when true - the notification is automatically when constraints are respected.- Returns:
- the automatic flag
-
setAutomatic
public void setAutomatic(boolean automatic)
-