Class ReminderEntity

  • All Implemented Interfaces:
    Serializable, WebEntity

    public class ReminderEntity
    extends Object
    implements WebEntity
    It represents a reminder as transmitted within the body of an HTTP response or an HTTP request.
    Author:
    silveryocha
    See Also:
    Serialized Form
    • Constructor Detail

      • ReminderEntity

        protected ReminderEntity()
    • Method Detail

      • withURI

        public ReminderEntity withURI​(URI uri)
        Sets a URI to this entity. With this URI, it can then be accessed through the Web.
        Parameters:
        uri - the web entity URI.
        Returns:
        itself.
      • getURI

        public URI getURI()
        Description copied from interface: WebEntity
        Gets the URI at which this web entity is published and can be accessed.
        Specified by:
        getURI in interface WebEntity
        Returns:
        the web entity URI.
      • setUri

        protected void setUri​(URI uri)
      • getId

        public String getId()
      • setId

        public void setId​(String id)
      • getcId

        public String getcId()
      • setcId

        public void setcId​(String cId)
      • getcProperty

        public String getcProperty()
      • setcProperty

        public void setcProperty​(String cProperty)
      • getUserId

        public String getUserId()
      • setUserId

        public void setUserId​(String userId)
      • getProcessName

        public String getProcessName()
      • setProcessName

        public void setProcessName​(String processName)
      • getDateTime

        public String getDateTime()
      • setDateTime

        public void setDateTime​(String dateTime)
      • getDuration

        public Integer getDuration()
      • setDuration

        public void setDuration​(Integer duration)
      • getTimeUnit

        public TimeUnit getTimeUnit()
      • setTimeUnit

        public void setTimeUnit​(TimeUnit timeUnit)
      • getText

        public String getText()
      • setText

        public void setText​(String text)
      • canBeModified

        public boolean canBeModified()
      • canBeDeleted

        public boolean canBeDeleted()
      • mergeInto

        public Reminder mergeInto​(Reminder reminder)
        Merges into given reminder instance the data from the entity.
        System data are not merged (id, creation date, update date, ...)
        Parameters:
        reminder - the reminder which will get the new data.
        Returns:
        the given reminder instance with merged data.