Examples of SetRecordDataObject


Examples of de.fu_berlin.inf.dpp.whiteboard.sxe.records.serializable.SetRecordDataObject

  protected RecordDataObject getRdo(RecordType t) {
    switch (t) {
    case NEW:
      return new NewRecordDataObject();
    case SET:
      return new SetRecordDataObject();
    }
    log.warn("Unknown record type: " + t);

    return null;
  }
View Full Code Here

Examples of de.fu_berlin.inf.dpp.whiteboard.sxe.records.serializable.SetRecordDataObject

    return getTarget().getSetRecords().contains(this);
  }

  @Override
  public RecordDataObject getRecordDataObject() {
    RecordDataObject rdo = new SetRecordDataObject();
    rdo.putValue(RecordEntry.TARGET, getTarget().getRid());
    rdo.putValue(RecordEntry.VERSION, getVersion());
    rdo.putValue(RecordEntry.VISIBLE, getSetVisibilityTo());
    rdo.putValue(RecordEntry.CHDATA, getChdata());
    rdo.putValue(RecordEntry.PRIMARY_WEIGHT, getPrimaryWeight());
    if (getParentToChange() != null)
      rdo.putValue(RecordEntry.PARENT, getParentToChange().getRid());
    return rdo;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.