Package br.uniriotec.orion.model.forte.resources

Examples of br.uniriotec.orion.model.forte.resources.Relationship


//    @Test
    public void testGenerateRelationships() {
        System.out.println("\n\n========= Escrever Relacionamentos =========");
        List<Relationship> lista = gerador.generateRelationships();
        Iterator<Relationship> it = lista.iterator();
        Relationship aux;

        while(it.hasNext()){
            aux = it.next();
            System.out.println(aux.getRelacionamentos());
        }
    }
View Full Code Here


        return false;
      }
  }
   
    private Relationship criaRelacionamentoAuxiliar(String nomeClasse, ObjectProperty obj) {
    Relationship rel = new Relationship();
   
    rel.setNome(lowerFirstChar(nomeClasse)+"_"+obj.getLocalName());
        rel.setPrimeiroTermo(lowerFirstChar(nomeClasse));
        rel.setSegundoTermo(lowerFirstChar(obj.getDomain().getLocalName()));
       
        return rel;
  }
View Full Code Here

TOP

Related Classes of br.uniriotec.orion.model.forte.resources.Relationship

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.