public final class ConstantDefinition extends AbstractPropositionDefinition
children, CHILDREN_PROPERTY| Constructor and Description |
|---|
ConstantDefinition(String id) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(PropositionDefinitionVisitor processor)
Performs some processing on a proposition definition.
|
void |
acceptChecked(PropositionDefinitionCheckedVisitor processor)
Performs some processing on this proposition definition.
|
boolean |
isConcatenable()
By definition, constants are not concatenable.
|
boolean |
isSolid()
By definition, there can be multiple constants with the same id.
|
protected void |
recalculateChildren() |
attribute, getAbbreviatedDisplayName, getAccessed, getAttributes, getChildren, getCreated, getDescription, getDisplayName, getDownloaded, getId, getInDataSource, getInverseIsA, getPropertyDefinitions, getPropositionId, getReferenceDefinitions, getSourceId, getTermIds, getUpdated, getVersion, propertyDefinition, referenceDefinition, reset, setAbbreviatedDisplayName, setAccessed, setAttributes, setCreated, setDescription, setDisplayName, setDownloaded, setInDataSource, setInverseIsA, setPropertyDefinitions, setPropositionId, setReferenceDefinitions, setSourceId, setTermIds, setUpdated, setVersion, toStringpublic ConstantDefinition(String id)
public boolean isConcatenable()
false.public boolean isSolid()
false.protected void recalculateChildren()
recalculateChildren in class AbstractPropositionDefinitionpublic void accept(PropositionDefinitionVisitor processor)
PropositionDefinitionVisitablepublic void acceptChecked(PropositionDefinitionCheckedVisitor processor) throws ProtempaException
PropositionDefinitionCheckedVisitableProtempaExceptionCopyright © 2012–2018 Emory University. All rights reserved.