public interface Proposition extends PropositionVisitable, PropositionCheckedVisitable
| Modifier and Type | Method and Description |
|---|---|
Date |
getCreateDate()
Gets the timestamp this proposition was created in the source system, or
for derived propositions, the timestamp it was created through the
temporal abstraction process.
|
Date |
getDeleteDate()
Gets the timestamp this proposition was deleted from the source system,
or for derived propositions, the timestamp it was invalidated due to
data changes.
|
Date |
getDownloadDate()
Gets the timestamp this proposition was downloaded from the source
system.
|
String |
getId()
Gets this proposition's data type.
|
Value |
getProperty(String name)
Gets the value of the specified property.
|
String[] |
getPropertyNames()
Get the property names for the proposition
|
String[] |
getReferenceNames()
Get the reference names for the proposition
|
List<UniqueId> |
getReferences(String name)
Gets the global unique identifiers for the propositions that have the
specified 1:N relationship with this proposition.
|
SourceSystem |
getSourceSystem()
Returns the data source type of the Proposition.
|
UniqueId |
getUniqueId()
Gets this proposition's global unique identifier.
|
Date |
getUpdateDate()
Gets the timestamp when this proposition was last updated in the source
system, or for derived propositions, the timestamp it was last updated
through the temporal abstraction process.
|
boolean |
isEqual(Object prop)
Determines if the specified object is a
Proposition and has
the same field values as this proposition. |
acceptacceptCheckedString getId()
String for the type of data
represented by this proposition.SourceSystem getSourceSystem()
SourceSystem.boolean isEqual(Object prop)
Proposition and has
the same field values as this proposition.prop - an Object.true if the specified object is a
Proposition and has the same field values, false
otherwise.List<UniqueId> getReferences(String name)
name - the name of the relationship. Cannot be null.List of global unique identifiers.
Guaranteed not null.to get the propositions with the specified
relationship.String[] getPropertyNames()
String[] getReferenceNames()
UniqueId getUniqueId()
UniqueIdentifier.Date getDownloadDate()
null value means the proposition was not downloaded from a
source system, or the source system did not provide an accurate
downloaded timestamp. Protempa does not use this timestamp in any
fashion to control how propositions are used in computing temporal
abstractions.null.Date getCreateDate()
null value means the create
timestamp was not recorded, or the source system did not have an
accurate created timestamp. Returned values may be in the future, if
that is what the source system provided. Protempa does not use this
timestamp in any fashion to control how propositions are used in
computing temporal abstractions.null.Date getUpdateDate()
null value means that the
proposition's value has not been updated. When a source system does
not provide accurate update timestamps, a data source backend may set
this value to the downloaded timestamp to ensure that Protempa does not
miss an update.null.Date getDeleteDate()
null value means the proposition should not
be deleted. Any non-null timestamp will cause the proposition to be
deleted, even a timestamp in the future. A data source backend may set
this timestamp to the downloaded timestamp if it knows a proposition
should be deleted but the source system does not provide an accurate
delete timestamp.null.Copyright © 2012–2018 Emory University. All rights reserved.