Tabnine Logo
IdEObjectImpl.getQueryInterface
Code IndexAdd Tabnine to your IDE (free)

How to use
getQueryInterface
method
in
org.bimserver.emf.IdEObjectImpl

Best Java code snippets using org.bimserver.emf.IdEObjectImpl.getQueryInterface (Showing top 1 results out of 315)

origin: opensourceBIM/BIMserver

@SuppressWarnings("unused")
public IdEObject lazyLoad(IdEObject idEObject) throws BimserverDatabaseException {
  if (DEVELOPER_DEBUG) {
    LOGGER.info("Lazy loading " + idEObject.eClass().getName() + " " + idEObject.getOid());
  }
  IfcModelInterface model = ((IdEObjectImpl)idEObject).getModel();
  if (model == null) {
    Map<Integer, Long> pidToRoid = new HashMap<Integer, Long>();
    model = createModel(getMetaDataManager().getPackageMetaData(idEObject.eClass().getEPackage().getName()), pidToRoid);
  }
  idEObject = get(idEObject, idEObject.getOid(), model, ((IdEObjectImpl) idEObject).getQueryInterface(), new TodoList());
  if (idEObject != null) {
    if (DEVELOPER_DEBUG && idEObject.getRid() > 100000 || idEObject.getRid() < -100000) {
      LOGGER.debug("Improbable rid " + idEObject.getRid() + " - " + idEObject);
    }
  }
  return idEObject;
}
org.bimserver.emfIdEObjectImplgetQueryInterface

Popular methods of IdEObjectImpl

  • setLoadingState
  • setOid
  • getLoadingState
  • getModel
  • isLoadedOrLoading
  • setModel
  • eClass
  • eGet
  • eSet
  • getOid
  • load
  • setExpressId
  • load,
  • setExpressId,
  • setPid,
  • useInverses,
  • eAdapters,
  • getRid,
  • hasModel,
  • setLoaded,
  • setQueryInterface

Popular in Java

  • Making http post requests using okhttp
  • getSharedPreferences (Context)
  • putExtra (Intent)
  • scheduleAtFixedRate (Timer)
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • JPanel (javax.swing)
  • Join (org.hibernate.mapping)
  • Top 12 Jupyter Notebook extensions
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