public final class ContextDefinition extends AbstractPropositionDefinition implements TemporalPropositionDefinition
children, CHILDREN_PROPERTY| Constructor and Description |
|---|
ContextDefinition(String id) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(PropositionDefinitionVisitor propositionVisitor)
Performs some processing on a proposition definition.
|
void |
acceptChecked(PropositionDefinitionCheckedVisitor propositionVisitor)
Performs some processing on this proposition definition.
|
GapFunction |
getGapFunction() |
TemporalExtendedPropositionDefinition[] |
getInducedBy()
Returns the id of the proposition definition that induces this context.
|
ContextOffset |
getOffset()
Returns the start and finish of an interval of this context relative to
its inducing interval.
|
String[] |
getSubContexts()
Returns the ids of other context definitions that, together with this
one, have a specific meaning when their intervals intersect.
|
boolean |
isConcatenable()
Returns whether instances of this proposition definition are
concatenable.
|
boolean |
isSolid()
Returns whether intervals of this type are solid, i.e., never hold over
properly overlapping intervals.
|
protected void |
recalculateChildren() |
void |
setGapFunction(GapFunction gapFunction) |
void |
setInducedBy(TemporalExtendedPropositionDefinition[] inducedBy) |
void |
setOffset(ContextOffset offset)
Sets the start and finish of an interval of this context relative to its
inducing interval.
|
void |
setSubContexts(String[] subContextOf)
Sets the ids of other context definitions that, together with this one,
have a specific meaning when their intervals intersect.
|
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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitattribute, getAbbreviatedDisplayName, getAccessed, getAttributes, getChildren, getCreated, getDescription, getDisplayName, getDownloaded, getId, getInDataSource, getInverseIsA, getPropertyDefinitions, getPropositionId, getReferenceDefinitions, getSourceId, getTermIds, getUpdated, getVersion, propertyDefinition, referenceDefinitionpublic ContextDefinition(String id)
protected void recalculateChildren()
recalculateChildren in class AbstractPropositionDefinitionpublic boolean isConcatenable()
PropositionDefinitionisConcatenable in interface PropositionDefinitiontrue if concatenable, false if not.public boolean isSolid()
PropositionDefinitionisSolid in interface PropositionDefinitiontrue if solid, false if not.public void accept(PropositionDefinitionVisitor propositionVisitor)
PropositionDefinitionVisitableaccept in interface PropositionDefinitionVisitablepublic void acceptChecked(PropositionDefinitionCheckedVisitor propositionVisitor) throws ProtempaException
PropositionDefinitionCheckedVisitableacceptChecked in interface PropositionDefinitionCheckedVisitableProtempaExceptionpublic void setInducedBy(TemporalExtendedPropositionDefinition[] inducedBy)
public TemporalExtendedPropositionDefinition[] getInducedBy()
String.public ContextOffset getOffset()
ContextOffset.public void setOffset(ContextOffset offset)
offset - a temporal ContextOffset.public String[] getSubContexts()
public void setSubContexts(String[] subContextOf)
subContextOf - an array of context proposition ids.public GapFunction getGapFunction()
public void setGapFunction(GapFunction gapFunction)
Copyright © 2012–2018 Emory University. All rights reserved.