Interface SecondaryInspectionMethodSequence.Holder
- All Superinterfaces:
AttributesWrapper
- Enclosing class:
- SecondaryInspectionMethodSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Secondary Inspection Method Sequence" (see
SecondaryInspectionMethodSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanAdds a new Secondary Inspection Method Sequence (seeSecondaryInspectionMethodSequence) with initial capacity 1 (seeensureSecondaryInspectionMethodSequence(int)) if it does not already exist.ensureSecondaryInspectionMethodSequence(int initialCapacity) Adds a new Secondary Inspection Method Sequence (seeSecondaryInspectionMethodSequence) if it does not already exist.newSecondaryInspectionMethodSequence(int initialCapacity) Adds a new Secondary Inspection Method Sequence.default voidRemoves the Secondary Inspection Method Sequence (seeSecondaryInspectionMethodSequencewrap(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 Secondary Inspection Method Sequence (seeSecondaryInspectionMethodSequence)- Returns:
- A wrapper object implementing the
SecondaryInspectionMethodSequence.Holderinterface.
-
getSecondaryInspectionMethodSequence
- Returns:
- the Secondary Inspection Method Sequence (see
SecondaryInspectionMethodSequence)
-
newSecondaryInspectionMethodSequence
Adds a new Secondary Inspection Method Sequence. (seeSecondaryInspectionMethodSequence)- Parameters:
initialCapacity- the initial capacity for the new Secondary Inspection Method Sequence
-
ensureSecondaryInspectionMethodSequence
default SecondaryInspectionMethodSequence ensureSecondaryInspectionMethodSequence(int initialCapacity) Adds a new Secondary Inspection Method Sequence (seeSecondaryInspectionMethodSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Secondary Inspection Method Sequence is created.- Returns:
- Either the already existing Secondary Inspection Method Sequence (see
SecondaryInspectionMethodSequence) or a new one with capacityinitialCapacity.
-
ensureSecondaryInspectionMethodSequence
Adds a new Secondary Inspection Method Sequence (seeSecondaryInspectionMethodSequence) with initial capacity 1 (seeensureSecondaryInspectionMethodSequence(int)) if it does not already exist.- Returns:
- Either the already existing Secondary Inspection Method Sequence (see
SecondaryInspectionMethodSequence) or a new one with capacity 1.
-
containsSecondaryInspectionMethodSequence
default boolean containsSecondaryInspectionMethodSequence()- Returns:
- Whether it contains the Secondary Inspection Method Sequence (see
SecondaryInspectionMethodSequence)
-
removeSecondaryInspectionMethodSequence
default void removeSecondaryInspectionMethodSequence()Removes the Secondary Inspection Method Sequence (seeSecondaryInspectionMethodSequence
-