Tabnine Logo
GraphRelationship.getID
Code IndexAdd Tabnine to your IDE (free)

How to use
getID
method
in
ingenias.generator.browser.GraphRelationship

Best Java code snippets using ingenias.generator.browser.GraphRelationship.getID (Showing top 4 results out of 315)

origin: net.sf.ingenias/editor

for (int l=0;l<relationships2.size() && !found;l++){
  GraphRelationship gr2=relationships2.elementAt(l);
  found=found || gr2.getID().equals(gr1.getID());
  differences.add("relationship "+gr1.getID()+":"+gr1.getType()+" does not exist");
origin: net.sf.ingenias/editor

public static boolean containedInto(Browser bimp1, Browser bimp2){
  GraphEntity[] entities = bimp1.getAllEntities();
  boolean allIncluded=true;
  int k=0;
  while (allIncluded && k<entities.length){
    GraphEntity ent1 = entities[k];
    GraphEntity ent2 = bimp2.findEntity(ent1.getID());
    allIncluded=allIncluded && ent2!=null;            
    allIncluded = allIncluded &&  containedIntoAttributes(allIncluded, ent1, ent2);            
    Vector<GraphRelationship> relationships1 = ent1.getAllRelationships();
    Vector<GraphRelationship> relationships2 = ent2.getAllRelationships();
    int j=0;
    allIncluded=allIncluded && relationships1.size()==relationships2.size();
    while (allIncluded && j<relationships1.size()){
      GraphRelationship gr1=relationships1.elementAt(j);
      boolean found=false;
      for (int l=0;l<relationships2.size() && !found;l++){
        GraphRelationship gr2=relationships2.elementAt(l);
        found=found || (gr2.getID().equals(gr1.getID()) && 
            containedIntoAttributes(allIncluded, gr1, gr2));
      }
      allIncluded=allIncluded && found;
      j++;    
    }            
    k++;
  }        
  return allIncluded;		
}
origin: net.sf.phat/phat-generator

GraphEntity source = null;
GraphEntity target = null;
System.out.println("\trel=" + progTrans.getID() + ":" + progTrans.getType());
for (GraphRole gRole : progTrans.getRoles()) {
  System.out.println("\t\trole="
origin: net.sf.phat/phat-generator

GraphEntity source = null;
GraphEntity target = null;
System.out.println("\trel=" + gr.getID() + ":" + gr.getType());
for (GraphRole gRole : gr.getRoles()) {
  System.out.println("\t\trole=" + gRole.getID() + ":" + gRole.getName()
ingenias.generator.browserGraphRelationshipgetID

Popular methods of GraphRelationship

  • getType
  • getRoles
  • getGraph

Popular in Java

  • Reading from database using SQL prepared statement
  • getSharedPreferences (Context)
  • getResourceAsStream (ClassLoader)
  • onRequestPermissionsResult (Fragment)
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now