public class AssociateRQ extends AssociateRQOrAC
| Constructor and Description |
|---|
AssociateRQ()
Instantiates Associate RQ.
|
AssociateRQ(IPairedCollection<java.lang.Byte,RQPresContext> objRQPresContextCollection,
java.lang.String strCalledAETitle,
java.lang.String strCallingAETitle)
Instantiates Associate RQ with objRQPresContextCollection.
|
AssociateRQ(IPairedCollection<java.lang.Byte,RQPresContext> objRQPresContextCollection,
java.lang.String calledEntityTitle,
java.lang.String callingEntityTitle,
short protocolversion,
RQUserInfo objRQUserInfo)
Instantiates Associate RQ with parameters given.
|
AssociateRQ(ISingleCollection<IDataSet> objDataSetCollection,
java.lang.String strCalledAETitle,
java.lang.String strCallingAETitle)
Instantiates Associate RQ with RQPresentation Context Collection populated from DataSet Collection.
|
AssociateRQ(ISingleCollection<IDataSet> objDataSetCollection,
java.lang.String calledEntityTitle,
java.lang.String callingEntityTitle,
short protocolversion,
RQUserInfo objRQUserInfo)
Instantiates Associate RQ with parameters given.
|
| Modifier and Type | Method and Description |
|---|---|
AssociateRQPDU |
getAssociateRQPDU()
Initializes the AssociateRQ PDU
|
EnumPDUType |
getPDUType()
Retrieves the PDU Type.
|
IPairedCollection<java.lang.Byte,RQPresContext> |
getRQPresContextCollection()
Retrieves the collection of RQ Presentation Context.
|
RQUserInfo |
getRQUserInfo()
Retrieves the DICOM Application Entity user information
|
void |
setAssociateRQPDU(AssociateRQPDU objAssociateRQPDU)
Initializes the AssociateRQ according to the passed AssociateRQPDU
|
void |
setRQPresContextCollection(IPairedCollection<java.lang.Byte,RQPresContext> objRQPresContextCollection)
Sets the collection of RQ Presentation Context.
|
void |
setRQUserInfo(RQUserInfo objRQUserInfo)
Sets the DICOM Application Entity user information
|
boolean |
validate()
Validates Association Request primitive for mandatory attributes
|
getAppContextName, getCalledEntityTitle, getCallingEntityTitle, getProtocolversion, setAppContextName, setAssocRQorACPDU, setCalledEntityTitle, setCallingEntityTitle, setProtocolversionpublic AssociateRQ()
public AssociateRQ(ISingleCollection<IDataSet> objDataSetCollection, java.lang.String strCalledAETitle, java.lang.String strCallingAETitle)
objDataSetCollection - DataSetCollection to populate RQ Presentation Context collection.public AssociateRQ(IPairedCollection<java.lang.Byte,RQPresContext> objRQPresContextCollection, java.lang.String strCalledAETitle, java.lang.String strCallingAETitle)
objRQPresContextCollection - object of RQ Presentation Context Collection.arrenumServiceType - array of EnumServiceType for which default association needs to be populated.strXMLFile - strXSDFile - public AssociateRQ(ISingleCollection<IDataSet> objDataSetCollection, java.lang.String calledEntityTitle, java.lang.String callingEntityTitle, short protocolversion, RQUserInfo objRQUserInfo)
objDataSetCollection - DataSetCollection to populate RQ Presentation Context collection.calledEntityTitle - String value of Called AE Title.callingEntityTitle - String value of Calling AE Title.protocolversion - short value of Protocol Version.objRQUserInfo - object of USer Info.public AssociateRQ(IPairedCollection<java.lang.Byte,RQPresContext> objRQPresContextCollection, java.lang.String calledEntityTitle, java.lang.String callingEntityTitle, short protocolversion, RQUserInfo objRQUserInfo)
objRQPresContextCollection - calledEntityTitle - String value of Called AE Title.callingEntityTitle - String value of Calling AE Title.protocolversion - short value of Protocol Version.objRQUserInfo - object of User Info.public EnumPDUType getPDUType()
public IPairedCollection<java.lang.Byte,RQPresContext> getRQPresContextCollection()
public void setRQPresContextCollection(IPairedCollection<java.lang.Byte,RQPresContext> objRQPresContextCollection)
objRQPresContextCollection - collection of RQ Presentation Context.public RQUserInfo getRQUserInfo()
public void setRQUserInfo(RQUserInfo objRQUserInfo)
objRQUserInfo - instance of RQUserInfopublic void setAssociateRQPDU(AssociateRQPDU objAssociateRQPDU)
objAssociateRQPDU - instance of AssociateRQPDUpublic AssociateRQPDU getAssociateRQPDU()
public boolean validate()
throws InvalidAssociationPrimitiveException
validate in interface IDIMSEAssociationvalidate in class AssociateRQOrACInvalidAssociationPrimitiveException - if validation fails