public EnumSet<QueryOption> getQueryOptionsFor(String cuid) { return QueryOption.toOptions(ac.getExtNegotiationFor(cuid)); } }
public EnumSet<QueryOption> getQueryOptionsFor(String cuid) { return QueryOption.toOptions(ac.getExtNegotiationFor(cuid)); } }
private boolean relational(Association as, Attributes rq) { String cuid = rq.getString(Tag.AffectedSOPClassUID); ExtendedNegotiation extNeg = as.getAAssociateAC().getExtNegotiationFor(cuid); return QueryOption.toOptions(extNeg).contains(QueryOption.RELATIONAL); } }
private boolean relational(Association as, Attributes rq) { String cuid = rq.getString(Tag.AffectedSOPClassUID); ExtendedNegotiation extNeg = as.getAAssociateAC().getExtNegotiationFor(cuid); return QueryOption.toOptions(extNeg).contains(QueryOption.RELATIONAL); } }
private boolean relational(Association as, Attributes rq) { String cuid = rq.getString(Tag.AffectedSOPClassUID); ExtendedNegotiation extNeg = as.getAAssociateAC().getExtNegotiationFor(cuid); return QueryOption.toOptions(extNeg).contains(QueryOption.RELATIONAL); }
private boolean relational(Association as, Attributes rq) { String cuid = rq.getString(Tag.AffectedSOPClassUID); ExtendedNegotiation extNeg = as.getAAssociateAC().getExtNegotiationFor(cuid); return QueryOption.toOptions(extNeg).contains(QueryOption.RELATIONAL); } }
private boolean relational(Association as, Attributes rq) { String cuid = rq.getString(Tag.AffectedSOPClassUID); ExtendedNegotiation extNeg = as.getAAssociateAC().getExtNegotiationFor(cuid); return QueryOption.toOptions(extNeg).contains(QueryOption.RELATIONAL); } }
private boolean relational(Association as, Attributes rq) { String cuid = rq.getString(Tag.AffectedSOPClassUID); ExtendedNegotiation extNeg = as.getAAssociateAC().getExtNegotiationFor(cuid); return QueryOption.toOptions(extNeg).contains(QueryOption.RELATIONAL); }
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; }
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; }