Package org.takadb.editor.database.entities

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


   */
  public CategoryEntity getCategory (Integer categoryId) {
   
    CategoryEntity category = (CategoryEntity)categories.get (categoryId);
   
    return (CategoryEntity)category.clone();

  }

  /*
   * Retrieve an ArrayList of all DBSQLCategories' IDs from the local database
View Full Code Here


    ArrayList<CategoryEntity> allCategoriesList = new ArrayList<CategoryEntity>();
    iter = categories.values().iterator();
    while (iter.hasNext()) {
      CategoryEntity category = (CategoryEntity)iter.next();
      allCategoriesList.add ((CategoryEntity)category.clone());
    }

    return allCategoriesList;

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