Interface RegistrationTypeCodeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
DeformableRegistrationSequence.Item,MatrixRegistrationSequence.Item
- Enclosing class:
- RegistrationTypeCodeSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Registration Type Code Sequence" (see
RegistrationTypeCodeSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault RegistrationTypeCodeSequenceAdds a new Registration Type Code Sequence (seeRegistrationTypeCodeSequence) with initial capacity 1 (seeensureRegistrationTypeCodeSequence(int)) if it does not already exist.default RegistrationTypeCodeSequenceensureRegistrationTypeCodeSequence(int initialCapacity) Adds a new Registration Type Code Sequence (seeRegistrationTypeCodeSequence) if it does not already exist.default RegistrationTypeCodeSequencedefault RegistrationTypeCodeSequencenewRegistrationTypeCodeSequence(int initialCapacity) Adds a new Registration Type Code Sequence.default voidRemoves the Registration Type Code Sequence (seeRegistrationTypeCodeSequencewrap(org.dcm4che3.data.Attributes attributes) Methods inherited from interface org.dcm4che.typeddicom.AttributesWrapper
copy, getAttributes, isEmpty
-
Method Details
-
wrap
- Parameters:
attributes- An attributes object containing the Registration Type Code Sequence (seeRegistrationTypeCodeSequence)- Returns:
- A wrapper object implementing the
RegistrationTypeCodeSequence.Holderinterface.
-
getRegistrationTypeCodeSequence
- Returns:
- the Registration Type Code Sequence (see
RegistrationTypeCodeSequence)
-
newRegistrationTypeCodeSequence
Adds a new Registration Type Code Sequence. (seeRegistrationTypeCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Registration Type Code Sequence
-
ensureRegistrationTypeCodeSequence
Adds a new Registration Type Code Sequence (seeRegistrationTypeCodeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Registration Type Code Sequence is created.- Returns:
- Either the already existing Registration Type Code Sequence (see
RegistrationTypeCodeSequence) or a new one with capacityinitialCapacity.
-
ensureRegistrationTypeCodeSequence
Adds a new Registration Type Code Sequence (seeRegistrationTypeCodeSequence) with initial capacity 1 (seeensureRegistrationTypeCodeSequence(int)) if it does not already exist.- Returns:
- Either the already existing Registration Type Code Sequence (see
RegistrationTypeCodeSequence) or a new one with capacity 1.
-
containsRegistrationTypeCodeSequence
default boolean containsRegistrationTypeCodeSequence()- Returns:
- Whether it contains the Registration Type Code Sequence (see
RegistrationTypeCodeSequence)
-
removeRegistrationTypeCodeSequence
default void removeRegistrationTypeCodeSequence()Removes the Registration Type Code Sequence (seeRegistrationTypeCodeSequence
-