public final class Event extends TemporalProposition implements Serializable
INTERVAL_FACTORY| Constructor and Description |
|---|
Event(String id,
UniqueId uniqueId)
Creates an event with an id and no attribute id.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(PropositionVisitor propositionVisitor)
Performs some processing on a proposition.
|
void |
acceptChecked(PropositionCheckedVisitor propositionCheckedVisitor)
Performs some processing on a proposition that might throw a
checked exception.
|
boolean |
isEqual(Object o)
Determines if the specified object is a
Proposition and has
the same field values as this proposition. |
void |
setInterval(Interval interval)
Sets the valid interval.
|
String |
toString() |
formatFinish, formatLength, formatStart, getFinishFormattedLong, getFinishFormattedMedium, getFinishFormattedShort, getInterval, getLengthFormattedLong, getLengthFormattedMedium, getLengthFormattedShort, getStartFormattedLong, getStartFormattedMedium, getStartFormattedShort, readTemporalProposition, writeTemporalPropositionaddReference, equals, getCreateDate, getDeleteDate, getDownloadDate, getId, getProperty, getPropertyNames, getReferenceNames, getReferences, getSourceSystem, getUniqueId, getUpdateDate, hashCode, initializeAbstractProposition, initializeProperties, initializeReferences, readAbstractProposition, setCreateDate, setDeleteDate, setDownloadDate, setProperty, setReferences, setSourceSystem, setUpdateDate, writeAbstractPropositionpublic void setInterval(Interval interval)
TemporalPropositionsetInterval in class TemporalPropositioninterval - an Interval.public boolean isEqual(Object o)
PropositionProposition and has
the same field values as this proposition.isEqual in interface PropositionisEqual in class TemporalPropositiono - an Object.true if the specified object is a
Proposition and has the same field values, false
otherwise.public void accept(PropositionVisitor propositionVisitor)
PropositionVisitableaccept in interface PropositionVisitablepublic void acceptChecked(PropositionCheckedVisitor propositionCheckedVisitor) throws ProtempaException
PropositionCheckedVisitableacceptChecked in interface PropositionCheckedVisitableProtempaExceptionpublic String toString()
toString in class TemporalPropositionCopyright © 2012–2018 Emory University. All rights reserved.