public abstract class AbstractDate extends Object implements ICleanable
| Constructor and Description |
|---|
AbstractDate(DateType type) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
boolean |
clean()
Cleans the object, making it compatible with the ElasticSearch index.
|
boolean |
equals(Object o) |
String |
getInformation()
Retrieves specific free text information about the date.
|
DateType |
getType()
Retrieves the event that is marked by this date.
|
abstract String |
getValue()
Returns the value of the date.
|
int |
hashCode() |
void |
setInformation(String information)
Sets specific free text information about the date, if appropriate.
|
abstract void |
setValue(String value)
Changes the date value.
|
String |
toString() |
public AbstractDate(DateType type)
public abstract String getValue()
public abstract void setValue(String value)
value - the new valuepublic boolean clean()
ICleanableclean in interface ICleanablepublic DateType getType()
public String getInformation()
public void setInformation(String information)
information - specific free text information about the dateprotected boolean canEqual(Object other)
Copyright © 2017–2019. All rights reserved.