public class MCsopClass
extends java.lang.Object
Instances of this class are created and managed by the toolkit. Use one of the static methods to obtain an instance of this class.
Static methods and instances of this class can be used by multiple threads concurrently.
Modifier and Type | Field and Description |
---|---|
java.lang.String |
ServiceName
The name of this DICOM service.
|
int |
ServiceNumber
Number assigned to this service.
|
java.lang.String |
SOPClassUID |
Modifier and Type | Method and Description |
---|---|
MCsopClass[] |
getBaseClasses()
Gets the list containing all base SOP classes of this DICOM meta SOP class.
|
MCcommand[] |
getCommands()
Gets the list of commands supported by this service.
|
static MCsopClass |
getSopClass(java.lang.String sop)
Gets the SOP class instance for the specified SOP Class UID or service name.
|
static MCsopClass |
getSopClassByNumber(int serviceNumber)
Gets the SOP class instance for the specified service number.
|
boolean |
isBaseClass()
Tells whether this is a base SOP class, as opposed to a meta SOP Class.
|
boolean |
isMetaClass()
Tells whether this is a meta SOP class, as opposed to a base SOP Class.
|
java.lang.String |
toString() |
public final java.lang.String SOPClassUID
public final java.lang.String ServiceName
public final int ServiceNumber
public MCsopClass[] getBaseClasses()
null
if this is not a meta SOP class.public MCcommand[] getCommands()
public boolean isBaseClass()
true
if this is a base SOP class.public boolean isMetaClass()
true
if this is a meta SOP class.public static MCsopClass getSopClassByNumber(int serviceNumber)
Service numbers are specified in the mergecom.srv configuration file.
serviceNumber
- The number of the service to get.null
if there is no such service configured.public static MCsopClass getSopClass(java.lang.String sop)
sop
- The SOP class UID or the service name of the requested instance.null
if there is no such service configured.public java.lang.String toString()
toString
in class java.lang.Object