public final class UniqueId extends Object implements Serializable
Propositions. It
implements Serializable so that unique identifiers
can be serialized along with Propositions.| Constructor and Description |
|---|
UniqueId(SourceId newSourceId,
LocalUniqueId localUniqueId)
Instantiates a new unique identifier.
|
UniqueId(UniqueId other)
Copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
LocalUniqueId |
getLocalUniqueId() |
SourceId |
getSourceId() |
String |
getStringRepresentation() |
int |
hashCode() |
String |
toString() |
public UniqueId(UniqueId other)
other - another UniqueIdentifier.public UniqueId(SourceId newSourceId, LocalUniqueId localUniqueId)
dataSourceBackendId - the data source backend it from which the
Proposition came. Cannot be null.localUniqueId - the LocalUniqueIdentifier, a data source
backend-specific unique id for a Proposition.public SourceId getSourceId()
public LocalUniqueId getLocalUniqueId()
public String getStringRepresentation()
Copyright © 2012–2017 Emory University. All rights reserved.