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 Details

    • NotifyServiceInboundPattern

      public NotifyServiceInboundPattern()
  • Method Details

    • getID

      public Integer getID()
      Description copied from interface: ReloadableEntity
      The unique identifier of this entity instance.
      Specified by:
      getID in interface ReloadableEntity<Integer>
      Returns:
      the value of the primary key for this instance.
    • setId

      public void setId(Integer id)
    • getNotifyService

      public NotifyServiceEntity getNotifyService()
    • setNotifyService

      public void setNotifyService(NotifyServiceEntity notifyService)
    • getPattern

      public String getPattern()
      Returns:
      pattern of the inbound notification
      See Also:
    • setPattern

      public void setPattern(String pattern)
    • getConstraint

      public String getConstraint()
      Returns:
      the condition checked for automatic evaluation
    • setConstraint

      public void setConstraint(String constraint)
    • isAutomatic

      public boolean isAutomatic()
      when true - the notification is automatically when constraints are respected.
      Returns:
      the automatic flag
    • setAutomatic

      public void setAutomatic(boolean automatic)