public class SequentialTemporalPatternDefinition extends AbstractAbstractionDefinition
| Modifier and Type | Class and Description |
|---|---|
static class |
SequentialTemporalPatternDefinition.SubsequentTemporalExtendedPropositionDefinition |
children, CHILDREN_PROPERTY| Constructor and Description |
|---|
SequentialTemporalPatternDefinition(String id) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(PropositionDefinitionVisitor visitor)
Performs some processing on a proposition definition.
|
void |
acceptChecked(PropositionDefinitionCheckedVisitor visitor)
Performs some processing on this proposition definition.
|
Set<String> |
getAbstractedFrom()
Returns all proposition ids from which this abstract parameter is
abstracted.
|
TemporalExtendedPropositionDefinition |
getFirstTemporalExtendedPropositionDefinition() |
SequentialTemporalPatternDefinition.SubsequentTemporalExtendedPropositionDefinition[] |
getSubsequentTemporalExtendedPropositionDefinitions() |
TemporalPatternOffset |
getTemporalOffset() |
boolean |
isAllowPartialMatches()
Returns whether an interval will be generated if only the first, first
and second, etc.
|
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 |
reset()
Resets this proposition definition to default values.
|
void |
setAllowPartialMatches(boolean allowPartialMatches)
Sets whether to match if only the first, first and second, etc.
|
void |
setConcatenable(boolean concatenable)
Sets whether this type of high-level abstraction is concatenable.
|
void |
setFirstTemporalExtendedPropositionDefinition(TemporalExtendedPropositionDefinition firstTemporalExtendedPropositionDefinition) |
void |
setSolid(boolean solid)
Sets whether intervals of this type are solid, i.e., never hold over
properly overlapping intervals.
|
void |
setSubsequentTemporalExtendedPropositionDefinitions(SequentialTemporalPatternDefinition.SubsequentTemporalExtendedPropositionDefinition[] subsequentTemporalExtendedPropositionDefinitions) |
void |
setTemporalOffset(TemporalPatternOffset temporalOffset) |
String |
toString() |
getGapFunction, setGapFunctionattribute, getAbbreviatedDisplayName, getAccessed, getAttributes, getChildren, getCreated, getDescription, getDisplayName, getDownloaded, getId, getInDataSource, getInverseIsA, getPropertyDefinitions, getPropositionId, getReferenceDefinitions, getSourceId, getTermIds, getUpdated, getVersion, propertyDefinition, referenceDefinition, setAbbreviatedDisplayName, setAccessed, setAttributes, setCreated, setDescription, setDisplayName, setDownloaded, setInDataSource, setInverseIsA, setPropertyDefinitions, setPropositionId, setReferenceDefinitions, setSourceId, setTermIds, setUpdated, setVersionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDescriptionattribute, getAbbreviatedDisplayName, getAccessed, getAttributes, getChildren, getCreated, getDisplayName, getDownloaded, getId, getInDataSource, getInverseIsA, getPropertyDefinitions, getPropositionId, getReferenceDefinitions, getSourceId, getTermIds, getUpdated, getVersion, propertyDefinition, referenceDefinitionpublic SequentialTemporalPatternDefinition(String id)
public TemporalExtendedPropositionDefinition getFirstTemporalExtendedPropositionDefinition()
public void setFirstTemporalExtendedPropositionDefinition(TemporalExtendedPropositionDefinition firstTemporalExtendedPropositionDefinition)
public SequentialTemporalPatternDefinition.SubsequentTemporalExtendedPropositionDefinition[] getSubsequentTemporalExtendedPropositionDefinitions()
public void setSubsequentTemporalExtendedPropositionDefinitions(SequentialTemporalPatternDefinition.SubsequentTemporalExtendedPropositionDefinition[] subsequentTemporalExtendedPropositionDefinitions)
public Set<String> getAbstractedFrom()
AbstractionDefinitionSet of proposition id
Strings. Guaranteed not null.public boolean isConcatenable()
PropositionDefinitiontrue if concatenable, false if not.public void setConcatenable(boolean concatenable)
concatenable - true if concatenable, false
if not.public boolean isSolid()
true or false.public void setSolid(boolean solid)
solid - true or false.public boolean isAllowPartialMatches()
true or false.public void setAllowPartialMatches(boolean allowPartialMatches)
allowPartialMatches - true or false.public void accept(PropositionDefinitionVisitor visitor)
PropositionDefinitionVisitablepublic void acceptChecked(PropositionDefinitionCheckedVisitor visitor) throws ProtempaException
PropositionDefinitionCheckedVisitableProtempaExceptionpublic TemporalPatternOffset getTemporalOffset()
public void setTemporalOffset(TemporalPatternOffset temporalOffset)
public void reset()
AbstractPropositionDefinitionreset in class AbstractAbstractionDefinitionprotected void recalculateChildren()
recalculateChildren in class AbstractPropositionDefinitionpublic String toString()
toString in class AbstractAbstractionDefinitionCopyright © 2012–2018 Emory University. All rights reserved.