Package org.takadb.editor.database.entities

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


   */
  public CharacterEntity getCharacter (Integer characterId) {
   
    CharacterEntity character = (CharacterEntity)characters.get (characterId);
   
    return (CharacterEntity)character.clone();

  }

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


    ArrayList<CharacterEntity> allCharactersList = new ArrayList<CharacterEntity>();
    iter = characters.values().iterator();
    while (iter.hasNext()) {
      CharacterEntity character = (CharacterEntity)iter.next();
      allCharactersList.add ((CharacterEntity)character.clone());
    }

    return allCharactersList;

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