Interface ReferencedPresentationStateSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
EnhancedCTImageModule,EnhancedMRImageModule,MRSpectroscopyModule
- All Known Implementing Classes:
EnhancedCTImageIOD,EnhancedMRColorImageIOD,EnhancedMRImageIOD,LegacyConvertedEnhancedCTImageIOD,LegacyConvertedEnhancedMRImageIOD,MRSpectroscopyIOD,ReferencedImageSequence.Item,StructuredDisplayImageBoxSequence.Item
- Enclosing class:
- ReferencedPresentationStateSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Referenced Presentation State Sequence" (see
ReferencedPresentationStateSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanAdds a new Referenced Presentation State Sequence (seeReferencedPresentationStateSequence) with initial capacity 1 (seeensureReferencedPresentationStateSequence(int)) if it does not already exist.ensureReferencedPresentationStateSequence(int initialCapacity) Adds a new Referenced Presentation State Sequence (seeReferencedPresentationStateSequence) if it does not already exist.newReferencedPresentationStateSequence(int initialCapacity) Adds a new Referenced Presentation State Sequence.default voidRemoves the Referenced Presentation State Sequence (seeReferencedPresentationStateSequencewrap(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 Referenced Presentation State Sequence (seeReferencedPresentationStateSequence)- Returns:
- A wrapper object implementing the
ReferencedPresentationStateSequence.Holderinterface.
-
getReferencedPresentationStateSequence
- Returns:
- the Referenced Presentation State Sequence (see
ReferencedPresentationStateSequence)
-
newReferencedPresentationStateSequence
default ReferencedPresentationStateSequence newReferencedPresentationStateSequence(int initialCapacity) Adds a new Referenced Presentation State Sequence. (seeReferencedPresentationStateSequence)- Parameters:
initialCapacity- the initial capacity for the new Referenced Presentation State Sequence
-
ensureReferencedPresentationStateSequence
default ReferencedPresentationStateSequence ensureReferencedPresentationStateSequence(int initialCapacity) Adds a new Referenced Presentation State Sequence (seeReferencedPresentationStateSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Referenced Presentation State Sequence is created.- Returns:
- Either the already existing Referenced Presentation State Sequence (see
ReferencedPresentationStateSequence) or a new one with capacityinitialCapacity.
-
ensureReferencedPresentationStateSequence
Adds a new Referenced Presentation State Sequence (seeReferencedPresentationStateSequence) with initial capacity 1 (seeensureReferencedPresentationStateSequence(int)) if it does not already exist.- Returns:
- Either the already existing Referenced Presentation State Sequence (see
ReferencedPresentationStateSequence) or a new one with capacity 1.
-
containsReferencedPresentationStateSequence
default boolean containsReferencedPresentationStateSequence()- Returns:
- Whether it contains the Referenced Presentation State Sequence (see
ReferencedPresentationStateSequence)
-
removeReferencedPresentationStateSequence
default void removeReferencedPresentationStateSequence()Removes the Referenced Presentation State Sequence (seeReferencedPresentationStateSequence
-