public class RQPresContext
extends java.lang.Object
| Constructor and Description |
|---|
RQPresContext()
Instantiates request presentation context.
|
RQPresContext(java.lang.String strAbstractSyntaxName,
ISingleCollection<java.lang.String> strTransferSyntax)
Instantiates RQ Presentation context according to parameters given.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addTransferSyntax(java.lang.String strTransferSyntax) |
java.lang.String |
getAbstractSyntaxName()
Retrieves the Abstract Syntax Name.
|
RQPresContextItem |
getItem()
Initializes the RQPresContext Item.
|
ISingleCollection<java.lang.String> |
getTSCollection()
Retrieves the collection of Transfer Syntax Name.
|
boolean |
isSubSet(RQPresContext objTempRQPesContext)
This function checks whether the presentation context provided by user is subset of RQ presentation context.
|
void |
populate(RQPresContextItem objRQPresContextItem)
Initializes the RQPresContext according to given RQPresContext Item.
|
void |
setAbstractSyntaxName(java.lang.String strAbstractSyntaxName)
Sets the Abstract Syntax Name.
|
void |
setTSCollection(ISingleCollection<java.lang.String> collection)
Sets the collection of Transfer Syntax Name.
|
int |
validate()
Validates the RQPresContext for mandatory attributes.
|
int |
validate(ISingleCollection<java.lang.String> objTSCollection)
Validates the RQPresContext for mandatory attributes and Default TS.
|
public RQPresContext()
public RQPresContext(java.lang.String strAbstractSyntaxName,
ISingleCollection<java.lang.String> strTransferSyntax)
bPresContextId - byte value of The Presentation context ID for Request Presentation Context.strAbstractSyntaxName - string value of abstract syntax name.strTransferSyntax - Transfer syntax collection supported for abstract syntax name.public java.lang.String getAbstractSyntaxName()
public void setAbstractSyntaxName(java.lang.String strAbstractSyntaxName)
strAbstractSyntaxName - value of Abstract Syntax Name.public ISingleCollection<java.lang.String> getTSCollection()
public void setTSCollection(ISingleCollection<java.lang.String> collection)
collection - - collection of Transfer Syntax Name.public void addTransferSyntax(java.lang.String strTransferSyntax)
public void populate(RQPresContextItem objRQPresContextItem)
objRQPresContextItem - instance of RQPresContext Item.public RQPresContextItem getItem()
public boolean isSubSet(RQPresContext objTempRQPesContext)
objTempRQPesContext - object of RQ presentation context given by user.public int validate(ISingleCollection<java.lang.String> objTSCollection)
public int validate()