public TtkRefexUuidUuidUuidStringRevision(RefexNidNidNidStringVersionBI another) throws IOException { super(another); TerminologyStoreDI ts = Ts.get(); this.uuid1 = ts.getUuidPrimordialForNid(another.getNid1()); this.uuid2 = ts.getUuidPrimordialForNid(another.getNid2()); this.uuid3 = ts.getUuidPrimordialForNid(another.getNid3()); this.string1 = another.getString1(); }
public TtkRefexUuidIntMemberChronicle(RefexChronicleBI another) throws IOException { super((RefexVersionBI) another.getPrimordialVersion()); TerminologyStoreDI ts = Ts.get(); Collection<? extends RefexNidIntVersionBI> refexes = another.getVersions(); int partCount = refexes.size(); Iterator<? extends RefexNidIntVersionBI> relItr = refexes.iterator(); RefexNidIntVersionBI rv = relItr.next(); this.uuid1 = ts.getUuidPrimordialForNid(rv.getNid1()); this.int1 = rv.getInt1(); if (partCount > 1) { revisions = new ArrayList<>(partCount - 1); while (relItr.hasNext()) { rv = relItr.next(); revisions.add(new TtkRefexUuidIntRevision(rv)); } } }
@Override public int getAuthorNid() { return Ts.get().getAuthorNidForStamp(stamp); }
@Override public int getModuleNid() { return Ts.get().getModuleNidForStamp(stamp); }
public Status getStatus() { return Ts.get().getStatusForStamp(stamp); }
@Override public int getPathNid() { return Ts.get().getPathNidForStamp(stamp); }
@Override public long getTime() { return Ts.get().getTimeForStamp(stamp); }