Package org.takadb.editor.database.entities

Examples of org.takadb.editor.database.entities.ElementEntity.clone()


  public ElementEntity getElement (ElementEntity.Identifier identifier) {

    ElementEntity element = (ElementEntity)elements.get (new Integer (identifier.elementId));

    if (element != null)
      return (ElementEntity)element.clone();
    return null;

  }

 
View Full Code Here


    ArrayList allElementsList = new ArrayList();
    iter = elements.keySet().iterator();
    while (iter.hasNext()) {
      Integer iterElementId = (Integer)iter.next();
      ElementEntity element = (ElementEntity)elements.get (iterElementId);
      allElementsList.add (element.clone());
    }

    return allElementsList;

  }
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.