Class AbstractDataObject

java.lang.Object
fr.paris.lutece.plugins.elasticdata.business.AbstractDataObject
All Implemented Interfaces:
DataObject

public abstract class AbstractDataObject extends Object implements DataObject
AbstractDataObject
  • Constructor Details

    • AbstractDataObject

      public AbstractDataObject()
  • Method Details

    • getTimestamp

      public String getTimestamp()
      The timestamp of the data
      Specified by:
      getTimestamp in interface DataObject
      Returns:
      The timestamp
    • setTimestamp

      public final void setTimestamp(long lTimestamp)
      Set the notification timestamp
      Parameters:
      lTimestamp - the notification timestamp
    • getId

      public String getId()
      Description copied from interface: DataObject
      The _id of the data
      Specified by:
      getId in interface DataObject
      Returns:
      The id
    • setId

      public void setId(String id)
      Description copied from interface: DataObject
      Set the id of the data
      Specified by:
      setId in interface DataObject
      Parameters:
      id - The id to set
    • getParentId

      public String getParentId()
      Description copied from interface: DataObject
      The parent Id
      Specified by:
      getParentId in interface DataObject
      Returns:
      The parent Id
    • setParentId

      public void setParentId(String parentId)
    • getParentName

      public String getParentName()
      Description copied from interface: DataObject
      The parent Id
      Specified by:
      getParentName in interface DataObject
      Returns:
      The parent Id
    • setParentName

      public void setParentName(String parentName)
    • getDocumentTypeName

      public String getDocumentTypeName()
      Description copied from interface: DataObject
      Get the document type name
      Specified by:
      getDocumentTypeName in interface DataObject
      Returns:
      The document type name
    • setDocumentTypeName

      public void setDocumentTypeName(String documentTypeName)
    • getDayOfWeek

      public String getDayOfWeek()
      Returns the day of week
      Returns:
      the day of week
    • getMonth

      public String getMonth()
      Returns the month
      Returns:
      the month
    • getHour

      public String getHour()
      Returns the Hour
      Returns:
      the Hour
    • getPrefixedDayOfWeek

      public String getPrefixedDayOfWeek()
      Returns the day of week prefixed by the day number
      Returns:
      the day of week prefixed by the day number
    • getPrefixedMonth

      public String getPrefixedMonth()
      Returns the month prefixed by the day number
      Returns:
      the month prefixed by the day number