Inheritance diagram for DataObject:
Collaboration diagram for DataObject:Each DataObject in Tesla has to implement this interface.
public class MyDataObject implements DataObject, Serializable {
private long id;
public long getId() { return id; }
public void setId(long id) { this.id = id; }
...
}
Public Methods | |
| void | setId (long id) |
Package Functions | |
| long | getId () |
| long getId | ( | ) | [package] |
Returns the Id of this DataObject. Might return 0, if the object hasn't been inserted into database yet.
Implemented in LabeledAnnotation, AttributeValueMap, DublinCoreMetaDataImpl, Frequencies, CoincidenceStatsImpl, CorpusStatsImpl, MultipleTokensStats, VoynichTextLabelsImpl, SyntaxNode< T >, TabularSummary, SimpleComparatorScore, and AccessAdapterTestResultList.
| void setId | ( | long | id | ) |
Set the Id of this DataObject.
| id |
Implemented in LabeledAnnotation, AttributeValueMap, DublinCoreMetaDataImpl, Frequencies, CoincidenceStatsImpl, CorpusStatsImpl, MultipleTokensStats, VoynichTextLabelsImpl, SyntaxNode< T >, TabularSummary, SimpleComparatorScore, and AccessAdapterTestResultList.