Codota Logo
QueryOption.toExtendedNegotiationInformation
Code IndexAdd Codota to your IDE (free)

How to use
toExtendedNegotiationInformation
method
in
org.dcm4che3.net.QueryOption

Best Java code snippets using org.dcm4che3.net.QueryOption.toExtendedNegotiationInformation (Showing top 5 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew LinkedList()
  • Codota IconCollections.emptyList()
  • Codota Iconnew ArrayList()
  • Smart code suggestions by Codota
}
origin: usnistgov/iheos-toolkit2

public final void setInformationModel(InformationModel model, String[] tss,
    boolean relational) {
  this.model = model;
  rq.addPresentationContext(new PresentationContext(1, model.cuid, tss));
  if (relational)
    rq.addExtendedNegotiation(new ExtendedNegotiation(model.cuid, 
        QueryOption.toExtendedNegotiationInformation(EnumSet.of(QueryOption.RELATIONAL))));
  if (model.level != null)
    addLevel(model.level);
}
origin: dcm4che/dcm4che

public final void setInformationModel(InformationModel model, String[] tss,
    EnumSet<QueryOption> queryOptions) {
  this.model = model;
  rq.addPresentationContext(new PresentationContext(1, model.cuid, tss));
  if (!queryOptions.isEmpty()) {
    model.adjustQueryOptions(queryOptions);
    rq.addExtendedNegotiation(new ExtendedNegotiation(model.cuid, 
        QueryOption.toExtendedNegotiationInformation(queryOptions)));
  }
  if (model.level != null)
    addLevel(model.level);
}
origin: org.dcm4che.tool/dcm4che-tool-findscu

public final void setInformationModel(InformationModel model, String[] tss,
    EnumSet<QueryOption> queryOptions) {
  this.model = model;
  rq.addPresentationContext(new PresentationContext(1, model.cuid, tss));
  if (!queryOptions.isEmpty()) {
    model.adjustQueryOptions(queryOptions);
    rq.addExtendedNegotiation(new ExtendedNegotiation(model.cuid, 
        QueryOption.toExtendedNegotiationInformation(queryOptions)));
  }
  if (model.level != null)
    addLevel(model.level);
}
origin: dcm4che/dcm4che

private byte[] negotiate(ExtendedNegotiation exneg, TransferCapability tc) {
  if (exneg == null)
    return null;
  StorageOptions storageOptions = tc.getStorageOptions();
  if (storageOptions != null)
    return storageOptions.toExtendedNegotiationInformation();
  EnumSet<QueryOption> queryOptions = tc.getQueryOptions();
  if (queryOptions != null) {
    EnumSet<QueryOption> commonOpts = QueryOption.toOptions(exneg);
    commonOpts.retainAll(queryOptions);
    return QueryOption.toExtendedNegotiationInformation(commonOpts);
  }
  return null;
}
origin: org.dcm4che/dcm4che-net

private byte[] negotiate(ExtendedNegotiation exneg, TransferCapability tc) {
  if (exneg == null)
    return null;
  StorageOptions storageOptions = tc.getStorageOptions();
  if (storageOptions != null)
    return storageOptions.toExtendedNegotiationInformation();
  EnumSet<QueryOption> queryOptions = tc.getQueryOptions();
  if (queryOptions != null) {
    EnumSet<QueryOption> commonOpts = QueryOption.toOptions(exneg);
    commonOpts.retainAll(queryOptions);
    return QueryOption.toExtendedNegotiationInformation(commonOpts);
  }
  return null;
}
org.dcm4che3.netQueryOptiontoExtendedNegotiationInformation

Popular methods of QueryOption

  • toOptions
  • ordinal
  • toOption

Popular in Java

  • Finding current android device location
  • setContentView (Activity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getSharedPreferences (Context)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • FileOutputStream (java.io)
    A file output stream is an output stream for writing data to aFile or to a FileDescriptor. Whether
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now