Interface PerformedStationNameCodeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
UnifiedProcedureStepPerformedProcedureSequence.Item
- Enclosing class:
- PerformedStationNameCodeSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Performed Station Name Code Sequence" (see
PerformedStationNameCodeSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault PerformedStationNameCodeSequenceAdds a new Performed Station Name Code Sequence (seePerformedStationNameCodeSequence) with initial capacity 1 (seeensurePerformedStationNameCodeSequence(int)) if it does not already exist.default PerformedStationNameCodeSequenceensurePerformedStationNameCodeSequence(int initialCapacity) Adds a new Performed Station Name Code Sequence (seePerformedStationNameCodeSequence) if it does not already exist.default PerformedStationNameCodeSequencedefault PerformedStationNameCodeSequencenewPerformedStationNameCodeSequence(int initialCapacity) Adds a new Performed Station Name Code Sequence.default voidRemoves the Performed Station Name Code Sequence (seePerformedStationNameCodeSequencewrap(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 Performed Station Name Code Sequence (seePerformedStationNameCodeSequence)- Returns:
- A wrapper object implementing the
PerformedStationNameCodeSequence.Holderinterface.
-
getPerformedStationNameCodeSequence
- Returns:
- the Performed Station Name Code Sequence (see
PerformedStationNameCodeSequence)
-
newPerformedStationNameCodeSequence
Adds a new Performed Station Name Code Sequence. (seePerformedStationNameCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Performed Station Name Code Sequence
-
ensurePerformedStationNameCodeSequence
default PerformedStationNameCodeSequence ensurePerformedStationNameCodeSequence(int initialCapacity) Adds a new Performed Station Name Code Sequence (seePerformedStationNameCodeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Performed Station Name Code Sequence is created.- Returns:
- Either the already existing Performed Station Name Code Sequence (see
PerformedStationNameCodeSequence) or a new one with capacityinitialCapacity.
-
ensurePerformedStationNameCodeSequence
Adds a new Performed Station Name Code Sequence (seePerformedStationNameCodeSequence) with initial capacity 1 (seeensurePerformedStationNameCodeSequence(int)) if it does not already exist.- Returns:
- Either the already existing Performed Station Name Code Sequence (see
PerformedStationNameCodeSequence) or a new one with capacity 1.
-
containsPerformedStationNameCodeSequence
default boolean containsPerformedStationNameCodeSequence()- Returns:
- Whether it contains the Performed Station Name Code Sequence (see
PerformedStationNameCodeSequence)
-
removePerformedStationNameCodeSequence
default void removePerformedStationNameCodeSequence()Removes the Performed Station Name Code Sequence (seePerformedStationNameCodeSequence
-