Class AbstractDataObject
java.lang.Object
fr.paris.lutece.plugins.elasticdata.business.AbstractDataObject
- All Implemented Interfaces:
DataObject
AbstractDataObject
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the day of weekGet the document type namegetHour()Returns the HourgetId()The _id of the datagetMonth()Returns the monthThe parent IdThe parent IdReturns the day of week prefixed by the day numberReturns the month prefixed by the day numberThe timestamp of the datavoidsetDocumentTypeName(String documentTypeName) voidSet the id of the datavoidsetParentId(String parentId) voidsetParentName(String parentName) final voidsetTimestamp(long lTimestamp) Set the notification timestamp
-
Constructor Details
-
AbstractDataObject
public AbstractDataObject()
-
-
Method Details
-
getTimestamp
The timestamp of the data- Specified by:
getTimestampin interfaceDataObject- Returns:
- The timestamp
-
setTimestamp
public final void setTimestamp(long lTimestamp) Set the notification timestamp- Parameters:
lTimestamp- the notification timestamp
-
getId
Description copied from interface:DataObjectThe _id of the data- Specified by:
getIdin interfaceDataObject- Returns:
- The id
-
setId
Description copied from interface:DataObjectSet the id of the data- Specified by:
setIdin interfaceDataObject- Parameters:
id- The id to set
-
getParentId
Description copied from interface:DataObjectThe parent Id- Specified by:
getParentIdin interfaceDataObject- Returns:
- The parent Id
-
setParentId
-
getParentName
Description copied from interface:DataObjectThe parent Id- Specified by:
getParentNamein interfaceDataObject- Returns:
- The parent Id
-
setParentName
-
getDocumentTypeName
Description copied from interface:DataObjectGet the document type name- Specified by:
getDocumentTypeNamein interfaceDataObject- Returns:
- The document type name
-
setDocumentTypeName
-
getDayOfWeek
Returns the day of week- Returns:
- the day of week
-
getMonth
Returns the month- Returns:
- the month
-
getHour
Returns the Hour- Returns:
- the Hour
-
getPrefixedDayOfWeek
Returns the day of week prefixed by the day number- Returns:
- the day of week prefixed by the day number
-
getPrefixedMonth
Returns the month prefixed by the day number- Returns:
- the month prefixed by the day number
-