Package de.fu_berlin.inf.dpp.whiteboard.sxe.exceptions

Examples of de.fu_berlin.inf.dpp.whiteboard.sxe.exceptions.CommittedRecordException


    return version;
  }

  public void setVersion(int version) {
    if (this.isCommitted())
      throw new CommittedRecordException();
    this.version = version;
  }
View Full Code Here


  }

  @Override
  public void setSender(String sender) {
    if (this.sender != null && isCommitted())
      throw new CommittedRecordException();
    this.sender = sender;
  }
View Full Code Here

  }

  public void setChdata(String chdata) {
    if (isCommitted())
      throw new CommittedRecordException();

    currentChdata = chdata;
    initialSet.setChdata(chdata);
  }
View Full Code Here

    return rid;
  }

  public void setRid(String rid) {
    if (isCommitted())
      throw new CommittedRecordException();
    this.rid = rid;
  }
View Full Code Here

   * @param version
   *            the initial version
   */
  public void setVersion(int version) {
    if (isCommitted())
      throw new CommittedRecordException();
    this.version = version;
  }
View Full Code Here

    return ns;
  }

  public void setNs(String ns) {
    if (isCommitted())
      throw new CommittedRecordException();
    this.ns = ns;
  }
View Full Code Here

    return name;
  }

  public void setName(String name) {
    if (isCommitted())
      throw new CommittedRecordException();
    this.name = name;
  }
View Full Code Here

    return currentParent;
  }

  public void setParent(ElementRecord parent) {
    if (isCommitted())
      throw new CommittedRecordException();
    documentRecord = parent.getDocumentRecord();
    currentParent = parent;
    initialSet.setParentToChange(parent);
  }
View Full Code Here

    return currentPrimaryWeight;
  }

  public void setPrimaryWeight(Float primaryWeight) {
    if (isCommitted())
      throw new CommittedRecordException();
    currentPrimaryWeight = primaryWeight;
    initialSet.setPrimaryWeight(primaryWeight);
  }
View Full Code Here

    return creator;
  }

  public void setCreator(String creator) {
    if (isCommitted())
      throw new CommittedRecordException();
    this.creator = creator;
  }
View Full Code Here

TOP

Related Classes of de.fu_berlin.inf.dpp.whiteboard.sxe.exceptions.CommittedRecordException

Copyright © 2018 www.massapicom. 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.