Package com.language.dataobjects

Examples of com.language.dataobjects.Generic


  public void addGenerics(Generic generics[]){
    for(int i=0;i<generics.length;i++)
      addGeneric(generics[i]);
  }
  public boolean removeGeneric(String generic_name){
    Generic sgl;
    boolean item_found = false;
    for(int i=0;i<generics.size();i++){
      sgl = (Generic) generics.get(i);
      if (sgl.name.equals(generic_name)){
        item_found = generics.remove(i) != null;
View Full Code Here


    String tab = "     ";
    str += "ENTITY " + name + " IS";
   
    if (generics.size() > 0){
      str += tab + "\nGENERIC (";
      Generic gen;
      for(int i=0;i<generics.size();i++){
        gen = (Generic) generics.get(i);
        str += "\n" + tab + gen.toString()+";";
      }
      str = str.substring(0, str.length() - 1) + "\n" + tab + ");";
    }
   
    if (ports.size() > 0){
View Full Code Here

        else{
          data_type = new ArrayType(index_scheme,entity_ui.tf_starting_index.getText(),
              entity_ui.tf_ending_index.getText());
          data_type.name = entity_ui.tf_pgtype.getText();
        }
        entity_ui.entity.addGeneric(new Generic(entity_ui.tf_pgname.getText(),
            data_type));
       
        String str = "Generic " + entity_ui.tf_pgname.getText() + " of type "
            + entity_ui.tf_pgtype.getText().toUpperCase();
        str += !index_scheme.equals("Select") ?
View Full Code Here

TOP

Related Classes of com.language.dataobjects.Generic

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.