public abstract class TemporalProposition extends AbstractProposition
| Modifier and Type | Field and Description |
|---|---|
protected static IntervalFactory |
INTERVAL_FACTORY |
| Modifier | Constructor and Description |
|---|---|
protected |
TemporalProposition()
Here only for use by deserialization.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getFinishFormattedLong()
Returns the latest valid time of this proposition as a long string.
|
String |
getFinishFormattedMedium()
Returns the earliest valid time of this proposition as a medium-length
string.
|
String |
getFinishFormattedShort()
Returns the earliest valid time of this proposition as a short string.
|
Interval |
getInterval()
The range of time over which this parameter's value is true.
|
String |
getLengthFormattedLong() |
String |
getLengthFormattedMedium() |
String |
getLengthFormattedShort() |
String |
getStartFormattedLong()
Returns the earliest valid time of this proposition as a long string.
|
String |
getStartFormattedMedium()
Returns the earliest valid time of this proposition as a medium-length
string.
|
String |
getStartFormattedShort()
Returns the earliest valid time of this proposition as a short string.
|
boolean |
isEqual(Object other)
Determines if the specified object is a
Proposition and has
the same field values as this proposition. |
protected void |
readTemporalProposition(ObjectInputStream s)
Called while deserializing a temporal proposition.
|
protected void |
setInterval(Interval interval)
Sets the valid interval.
|
String |
toString() |
protected void |
writeTemporalProposition(ObjectOutputStream s)
Called while serializing a temporal proposition.
|
addPropertyChangeListener, addReference, equals, getCreateDate, getDeleteDate, getDownloadDate, getId, getProperty, getPropertyNames, getReferenceNames, getReferences, getSourceSystem, getUniqueId, getUpdateDate, hashCode, initializeAbstractProposition, initializeProperties, initializePropertyChangeSupport, initializeReferences, readAbstractProposition, removePropertyChangeListener, setCreateDate, setDeleteDate, setDownloadDate, setProperty, setReferences, setSourceSystem, setUpdateDate, writeAbstractPropositionclone, finalize, getClass, notify, notifyAll, wait, wait, waitacceptacceptCheckedprotected static final IntervalFactory INTERVAL_FACTORY
protected TemporalProposition()
public final Interval getInterval()
Interval.protected void setInterval(Interval interval)
interval - an Interval.public final String getStartFormattedLong()
String.public final String getLengthFormattedLong()
public final String getLengthFormattedMedium()
public final String getLengthFormattedShort()
public final String getFinishFormattedLong()
String.public final String getStartFormattedMedium()
String.public final String getFinishFormattedMedium()
String.public final String getStartFormattedShort()
String.public final String getFinishFormattedShort()
String.public boolean isEqual(Object other)
PropositionProposition and has
the same field values as this proposition.isEqual in interface PropositionisEqual in class AbstractPropositionother - an Object.true if the specified object is a
Proposition and has the same field values, false
otherwise.public String toString()
toString in class AbstractPropositionprotected void writeTemporalProposition(ObjectOutputStream s) throws IOException
SimpleInterval.s - an ObjectOutputStream.IOException - when an error occurs during serialization.protected void readTemporalProposition(ObjectInputStream s) throws IOException, ClassNotFoundException
s - an ObjectInputStream.IOException - input/output error during deserialization.ClassNotFoundException - class of a serialized object cannot be found.Copyright © 2012–2017 Emory University. All rights reserved.