Class AbstractDataObject
- java.lang.Object
-
- fr.paris.lutece.plugins.elasticdata.business.AbstractDataObject
-
- All Implemented Interfaces:
DataObject
public abstract class AbstractDataObject extends java.lang.Object implements DataObject
AbstractDataObject
-
-
Constructor Summary
Constructors Constructor Description AbstractDataObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDayOfWeek()Returns the day of weekjava.lang.StringgetDocumentTypeName()The parent Idjava.lang.StringgetHour()Returns the Hourjava.lang.StringgetId()The _id of the datajava.lang.StringgetMonth()Returns the monthjava.lang.StringgetParentId()The parent Idjava.lang.StringgetParentName()The parent Idjava.lang.StringgetPrefixedDayOfWeek()Returns the day of week prefixed by the day numberjava.lang.StringgetPrefixedMonth()Returns the month prefixed by the day numberjava.lang.StringgetTimestamp()The timestamp of the datavoidsetDocumentTypeName(java.lang.String documentTypeName)voidsetId(java.lang.String id)The _id of the datavoidsetParentId(java.lang.String parentId)voidsetParentName(java.lang.String parentName)voidsetTimestamp(long lTimestamp)Set the notification timestamp
-
-
-
Method Detail
-
getTimestamp
public java.lang.String 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
public java.lang.String getId()
Description copied from interface:DataObjectThe _id of the data- Specified by:
getIdin interfaceDataObject- Returns:
- The id
-
setId
public void setId(java.lang.String id)
Description copied from interface:DataObjectThe _id of the data- Specified by:
setIdin interfaceDataObject
-
getParentId
public java.lang.String getParentId()
Description copied from interface:DataObjectThe parent Id- Specified by:
getParentIdin interfaceDataObject- Returns:
- The parent Id
-
setParentId
public void setParentId(java.lang.String parentId)
-
getParentName
public java.lang.String getParentName()
Description copied from interface:DataObjectThe parent Id- Specified by:
getParentNamein interfaceDataObject- Returns:
- The parent Id
-
setParentName
public void setParentName(java.lang.String parentName)
-
getDocumentTypeName
public java.lang.String getDocumentTypeName()
Description copied from interface:DataObjectThe parent Id- Specified by:
getDocumentTypeNamein interfaceDataObject- Returns:
- The parent Id
-
setDocumentTypeName
public void setDocumentTypeName(java.lang.String documentTypeName)
-
getDayOfWeek
public java.lang.String getDayOfWeek()
Returns the day of week- Returns:
- the day of week
-
getMonth
public java.lang.String getMonth()
Returns the month- Returns:
- the month
-
getHour
public java.lang.String getHour()
Returns the Hour- Returns:
- the Hour
-
getPrefixedDayOfWeek
public java.lang.String getPrefixedDayOfWeek()
Returns the day of week prefixed by the day number- Returns:
- the day of week prefixed by the day number
-
getPrefixedMonth
public java.lang.String getPrefixedMonth()
Returns the month prefixed by the day number- Returns:
- the month prefixed by the day number
-
-