Package org.mmisw.orrclient.gwt.client.rpc

Examples of org.mmisw.orrclient.gwt.client.rpc.IndividualInfo


        }
      }
     
      if ( entityUri != null ) {
     
        IndividualInfo entityInfo = new IndividualInfo();
        entityInfo.setUri(entityUri);
        entityInfo.setClassUri(classUri);
       
        // is ontologyUri a prefix of entityUri?
        if ( entityUri.indexOf(ontologyUri) == 0 ) {
          String localName = entityUri.substring(ontologyUri.length());
          localName = localName.replaceAll("^/+", "");
          entityInfo.setLocalName(localName);
        }
        else {
          // use the given entityUri as the local name.
          // Note that the query is made against the ontology, so every entity
          // found there should be included.
          String localName = _getLocalName(entityUri);
          entityInfo.setLocalName(localName);
        }
       
        if ( entityInfo != null ) {
          _addProps(entityUri, entityInfo, ontModel);
          entities.add(entityInfo);
View Full Code Here


      }
     
      String classUri = ontClass.getURI();

       
      IndividualInfo entityInfo = new IndividualInfo();
      entityInfo.setUri(entityUri);
      entityInfo.setClassUri(classUri);

      String localName = _getLocalName(entityUri, ontologyUri);
      entityInfo.setLocalName(localName);

      _addProps(entityUri, entityInfo, ontModel, dtProps);
      entities.add(entityInfo);
    }
   
View Full Code Here

TOP

Related Classes of org.mmisw.orrclient.gwt.client.rpc.IndividualInfo

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.