public interface PropositionDefinition extends Serializable, PropositionDefinitionVisitable, PropositionDefinitionCheckedVisitable
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener) |
void |
addPropertyChangeListener(String propertyName,
PropertyChangeListener listener) |
Attribute |
attribute(String name) |
String |
getAbbreviatedDisplayName()
This proposition definition's abbreviated display name.
|
Date |
getAccessed()
Returns the timestamp of when this proposition definition was accessed from the knowledge source.
|
Attribute[] |
getAttributes() |
String[] |
getChildren()
Returns the ids of this proposition definition's children.
|
Date |
getCreated()
Returns the timestamp of when this proposition definition was created,
if the knowledge source backend maintains this information.
|
String |
getDescription()
A longer description of the proposition definition.
|
String |
getDisplayName()
This proposition definition's display name.
|
Date |
getDownloaded()
Returns the timestamp of when this proposition definition's information
was downloaded from its source, e.g., a terminology standard, if such
information is available.
|
String |
getId()
This proposition definition's id.
|
boolean |
getInDataSource() |
String[] |
getInverseIsA()
Returns the ids of the proposition definitions that have an is-a
relationship with this proposition definition.
|
PropertyDefinition[] |
getPropertyDefinitions() |
String |
getPropositionId()
The proposition id of propositions derived by this proposition
definition.
|
ReferenceDefinition[] |
getReferenceDefinitions() |
SourceId |
getSourceId() |
String[] |
getTermIds()
Gets the ids of the
TermDefinitions associated with this
proposition definition. |
Date |
getUpdated()
Returns the timestamp of when this proposition definition was last
updated, if the knowledge source backend maintains this information.
|
String |
getVersion()
Returns the version number of this proposition definition, for
knowledge source backends that maintain version information.
|
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.
|
PropertyDefinition |
propertyDefinition(String name) |
ReferenceDefinition |
referenceDefinition(String name)
Returns the reference definition with the given name.
|
void |
removePropertyChangeListener(PropertyChangeListener listener) |
void |
removePropertyChangeListener(String proeprtyName,
PropertyChangeListener listener) |
acceptacceptCheckedString getDisplayName()
String. Guaranteed not null.String getAbbreviatedDisplayName()
String. Guaranteed not null.String getDescription()
String. Guaranteed not null.String getId()
String, guaranteed not to be null.String getPropositionId()
id field.String[] getChildren()
Strings, guaranteed not null.String[] getInverseIsA()
String[] of proposition definition ids.boolean isConcatenable()
true if concatenable, false if not.boolean isSolid()
true if solid, false if not.String[] getTermIds()
TermDefinitions associated with this
proposition definition.Strings.PropertyDefinition[] getPropertyDefinitions()
PropertyDefinition propertyDefinition(String name)
ReferenceDefinition[] getReferenceDefinitions()
ReferenceDefinition referenceDefinition(String name)
name - a reference definition name String.ReferenceDefinition with the given name, or
null if this proposition definition has no reference
definition with the given nameboolean getInDataSource()
void addPropertyChangeListener(PropertyChangeListener listener)
void removePropertyChangeListener(PropertyChangeListener listener)
void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)
void removePropertyChangeListener(String proeprtyName, PropertyChangeListener listener)
SourceId getSourceId()
String getVersion()
String, or null if the
knowledge source backend does not maintain version information. The
string's format is specified to the knowledge source backend and the
original information source.Date getDownloaded()
Date, or null if no download timestamp
information is available.Date getAccessed()
Date. Guaranteed not null.Date getCreated()
Date, or null if the knowledge source
backend does not maintain created timestamp information.Date getUpdated()
Date, or null if the knowledge source
backend does not maintain last updated timestamp information.Attribute[] getAttributes()
Copyright © 2012–2018 Emory University. All rights reserved.