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

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


      // This is a submission of a *new version* of an existing ontology.
      // We need to check the shortName+orgAbbreviation combination as any changes here
      // would imply a *new* ontology, not a new version.
      //

      BaseOntologyInfo baseOntologyInfo = createOntologyInfo.getBaseOntologyInfo();
      assert baseOntologyInfo instanceof RegisteredOntologyInfo;
      RegisteredOntologyInfo roi = (RegisteredOntologyInfo) baseOntologyInfo;

      String originalOrgAbbreviation = roi.getAuthority();
      String originalShortName = roi.getShortName();
View Full Code Here


      // This is a submission of a *new version* of an existing ontology.
      // We need to check the shortName+orgAbbreviation combination as any changes here
      // would imply a *new* ontology, not a new version.
      //

      BaseOntologyInfo baseOntologyInfo = createOntologyInfo.getBaseOntologyInfo();
      assert baseOntologyInfo instanceof RegisteredOntologyInfo;
      RegisteredOntologyInfo roi = (RegisteredOntologyInfo) baseOntologyInfo;

      String originalOrgAbbreviation = roi.getAuthority();
      String originalShortName = roi.getShortName();
View Full Code Here

                    }
                    if (withUriParam != null) {
                        data.put("Resolve with", withUriParam);
                    }
                    data.put("Registered by",  loginResult.getUserName());
                    BaseOntologyInfo baseOntologyInfo = createOntologyInfo.getBaseOntologyInfo();
                    if (baseOntologyInfo != null) {
                        String displayLabel = baseOntologyInfo.getDisplayLabel();
                        if (displayLabel != null) {
                            data.put("DisplayLabel", baseOntologyInfo.getDisplayLabel());
                        }
                        long size = baseOntologyInfo.getSize();
                        if (size > 0) {
                            data.put("Size", String.valueOf(size));
                        }
                    }
                    Thread t = new Thread() {
View Full Code Here

      String graphId
  ) {
   
    RegisterOntologyResult registerOntologyResult = new RegisterOntologyResult();
   
    BaseOntologyInfo baseOntologyInfo = createOntologyInfo.getBaseOntologyInfo();
    if ( ! (baseOntologyInfo instanceof TempOntologyInfo ) ) {
      String error = "Unexpected: baseOntologyInfo is not TempOntologyInfo. It is " +baseOntologyInfo.getClass().getName();
      log.info(error);
      registerOntologyResult.setError(error);
      return registerOntologyResult;
    }
   
View Full Code Here

TOP

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

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.