public final class Constant extends AbstractProposition implements Serializable
| Constructor and Description |
|---|
Constant(String id,
UniqueId uniqueId)
Creates a constant with an identifier
String. |
| 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. |
String |
toString() |
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, writeAbstractPropositionpublic boolean isEqual(Object o)
PropositionProposition and has
the same field values as this proposition.isEqual in interface PropositionisEqual in class AbstractPropositiono - 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 AbstractPropositionCopyright © 2012–2016 Emory University. All rights reserved.