org.dcm4che.srom
Interface Template


public interface Template

The Template interface represents a DICOM SR Template.

A Template for SR Documents defines a set of constraints on the relationships and content (Value Types, Codes, etc.) of Content Items that reference such a Template. Specific Templates for SR Documents are defined either by the DICOM Standard or by users of the Standard for particular purposes.

Version:
1.0
Author:
gunter.zeilinger@tiani.com
See Also:
"DICOM Part 3: Information Object Definitions, 9 TEMPLATE IDENTIFICATION MACRO"

Method Summary
 boolean equals(java.lang.Object obj)
          Compares two Templates for equality.
 java.lang.String getMappingResource()
          Returns the value of field Mapping Resource.
 java.lang.String getTemplateIdentifier()
          Returns the value of field Template Identifier.
 java.util.Date getTemplateLocalVersion()
          Returns the value of field Template Local Version.
 java.util.Date getTemplateVersion()
          Returns the value of field Template Version.
 void toDataset(Dataset ds)
           
 

Method Detail

getTemplateIdentifier

java.lang.String getTemplateIdentifier()
Returns the value of field Template Identifier.
DICOM Tag: (0040,DB00)
Tag Name: Template Identifier
Template identifier.

Returns:
the value of field Template Identifier.

getMappingResource

java.lang.String getMappingResource()
Returns the value of field Mapping Resource.
DICOM Tag: (0008,0105)
Tag Name: Mapping Resource
Mapping Resource that defines the template.

Returns:
the value of field Mapping Resource.
See Also:
"DICOM Part 3: Information Object Definitions, 8.4 MAPPING RESOURCE"

getTemplateVersion

java.util.Date getTemplateVersion()
Returns the value of field Template Version.
DICOM Tag: (0040,DB06)
Tag Name: Template Version
Version of the Template. Required if the Template Identifier (0040,DB00) and Mapping Resource (0008,0105) are not sufficient to identify the template unambiguously.

Returns:
the value of field Template Version.

getTemplateLocalVersion

java.util.Date getTemplateLocalVersion()
Returns the value of field Template Local Version.
DICOM Tag: (0040,DB07)
Tag Name: Template Local Version
Local version number assigned to a template that contains private extensions. Required if the value of Template Extension Flag (0040,DB0B) is "Y".

Returns:
the value of field Template Local Version.

equals

boolean equals(java.lang.Object obj)
Compares two Templates for equality.

Overrides:
equals in class java.lang.Object
Parameters:
obj - the Template object to compare this object for equality with.
Returns:
true if obj has the same values as this Template object false otherwise.

toDataset

void toDataset(Dataset ds)