public class SCUSCPRoleSelectionItem extends AssociationItem
| Constructor and Description |
|---|
SCUSCPRoleSelectionItem()
Instantiates a new SCU/SCP role selection item.
|
SCUSCPRoleSelectionItem(EnumSCUSCPRole enumSCUSCPRole)
Instantiates a new SCU/SCP role selection item.
|
| Modifier and Type | Method and Description |
|---|---|
short |
getItemLength()
Gets the item length.
|
EnumSCUSCPRole |
getRole()
Gets the role.
|
java.lang.String |
getSOPclassuid()
Gets the the SOP Class UID or Meta SOP Class UID which may be used to identify the
corresponding Abstract Syntax for which this Sub-Item pertains.
|
short |
getUIDlength()
Gets UID Length .
|
void |
parse(IDicomStream objIDicomStream)
Parses SCU/SCP Role Selection Item.
|
void |
serialize(IDicomStream objIDicomStream)
This method writes the Data Value to the given Stream.
|
void |
setRole(EnumSCUSCPRole EnumSCUSCPRole)
Sets the role.
|
void |
setSOPclassuid(java.lang.String strSOPclassuid)
Sets SOP Class UID or Meta SOP Class UID which may be used to identify the
corresponding Abstract Syntax for which this Sub-Item pertains.
|
void |
setUIDlength(short shUIDlength)
Sets the UID Length.
|
getItemType, setItemTypepublic SCUSCPRoleSelectionItem()
public SCUSCPRoleSelectionItem(EnumSCUSCPRole enumSCUSCPRole)
enumSCUSCPRole - enum value representing the role i.e. SCU Role, SCP Role or both SCU and SCP role.public EnumSCUSCPRole getRole()
public void setRole(EnumSCUSCPRole EnumSCUSCPRole)
EnumSCUSCPRole - enum value representing the role i.e. SCU Role, SCP Role or both SCU and SCP role.public short getUIDlength()
public void setUIDlength(short shUIDlength)
shUIDlength - short value of UID Length.public java.lang.String getSOPclassuid()
public void setSOPclassuid(java.lang.String strSOPclassuid)
strSOPclassuid - String value of SOP Class UID or Meta SOP Class UID .public short getItemLength()
AssociationItemgetItemLength in class AssociationItempublic void parse(IDicomStream objIDicomStream) throws java.io.IOException, ParseException
parse in class AssociationItemobjIDicomStream - The stream containing Dicom Data.java.io.IOException - Signals that an I/O exception has occurred.ParseException - Signals that Parse exception has occurred.public void serialize(IDicomStream objIDicomStream) throws java.io.IOException, SerializeException
serialize in class AssociationItemobjIDicomStream - object of the stream onto which the SCU/SCP Role Selection Item is to be written.java.io.IOException - Signals that an I/O exception has occurred.SerializeException - Signals that Serialize exception has occurred.