Examples of RecordDataObject


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

  protected List<RecordDataObject> getRecords(XmlPullParser xpp)
      throws XmlPullParserException, IOException {

    List<RecordDataObject> rdos = new LinkedList<RecordDataObject>();
    RecordType t = RecordType.fromString(xpp.getName());
    RecordDataObject rdo;

    while (t != null) {
      rdo = getRdo(t);
      fillPairsfromAttributes(rdo, xpp);
      rdos.add(rdo);
View Full Code Here

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

    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

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

    setRecords.clear();
  }

  @Override
  public RecordDataObject getRecordDataObject() {
    RecordDataObject rdo = new NewRecordDataObject();

    rdo.putValue(RecordEntry.TYPE, getNodeType().toString());
    rdo.putValue(RecordEntry.RID, getRid());
    rdo.putValue(RecordEntry.VERSION, initialSet.getVersion());
    if (getParent() != null)
      rdo.putValue(RecordEntry.PARENT, getParent().getRid());
    rdo.putValue(RecordEntry.VISIBLE, isVisible());
    rdo.putValue(RecordEntry.PRIMARY_WEIGHT, initialSet.getPrimaryWeight());
    rdo.putValue(RecordEntry.NAME, getName());
    rdo.putValue(RecordEntry.NS, getNs());
    rdo.putValue(RecordEntry.CHDATA, initialSet.getChdata());

    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.