Interface PlaneOrientationSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
CurrentFrameFunctionalGroupsSequence.Item,PerFrameFunctionalGroupsSequence.Item,SelectedFrameFunctionalGroupsSequence.Item,SharedFunctionalGroupsSequence.Item
- Enclosing class:
- PlaneOrientationSequence
public static interface PlaneOrientationSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Plane Orientation Sequence" (seePlaneOrientationSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPlaneOrientationSequence.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static PlaneOrientationSequence.Holder.Builderbuilder()static PlaneOrientationSequence.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsPlaneOrientationSequence()default PlaneOrientationSequenceensurePlaneOrientationSequence()Adds a new Plane Orientation Sequence (seePlaneOrientationSequence) with initial capacity 1 (seeensurePlaneOrientationSequence(int)) if it does not already exist.default PlaneOrientationSequenceensurePlaneOrientationSequence(int initialCapacity)Adds a new Plane Orientation Sequence (seePlaneOrientationSequence) if it does not already exist.default PlaneOrientationSequencegetPlaneOrientationSequence()default PlaneOrientationSequencenewPlaneOrientationSequence(int initialCapacity)Adds a new Plane Orientation Sequence.default voidremovePlaneOrientationSequence()Removes the Plane Orientation Sequence (seePlaneOrientationSequencestatic PlaneOrientationSequence.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static PlaneOrientationSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Plane Orientation Sequence (seePlaneOrientationSequence)- Returns:
- a wrapper object implementing the
PlaneOrientationSequence.Holderinterface.
-
builder
static PlaneOrientationSequence.Holder.Builder builder()
- Returns:
- a
PlaneOrientationSequence.Holder.Builderto create Plane Orientation Sequence Items with a fluent API.
-
builder
static PlaneOrientationSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by thePlaneOrientationSequence.Holder.Builder.- Returns:
- a
PlaneOrientationSequence.Holder.Builderto create Plane Orientation Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getPlaneOrientationSequence
default PlaneOrientationSequence getPlaneOrientationSequence()
- Returns:
- the Plane Orientation Sequence (see
PlaneOrientationSequence)
-
newPlaneOrientationSequence
default PlaneOrientationSequence newPlaneOrientationSequence(int initialCapacity)
Adds a new Plane Orientation Sequence. (seePlaneOrientationSequence)- Parameters:
initialCapacity- the initial capacity for the new Plane Orientation Sequence- Returns:
- the newly created PlaneOrientationSequence.
-
ensurePlaneOrientationSequence
default PlaneOrientationSequence ensurePlaneOrientationSequence(int initialCapacity)
Adds a new Plane Orientation Sequence (seePlaneOrientationSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Plane Orientation Sequence is created.- Returns:
- either the already existing Plane Orientation Sequence (see
PlaneOrientationSequence) or a new one with capacityinitialCapacity.
-
ensurePlaneOrientationSequence
default PlaneOrientationSequence ensurePlaneOrientationSequence()
Adds a new Plane Orientation Sequence (seePlaneOrientationSequence) with initial capacity 1 (seeensurePlaneOrientationSequence(int)) if it does not already exist.- Returns:
- either the already existing Plane Orientation Sequence (see
PlaneOrientationSequence) or a new one with capacity 1.
-
containsPlaneOrientationSequence
default boolean containsPlaneOrientationSequence()
- Returns:
- whether it contains the Plane Orientation Sequence (see
PlaneOrientationSequence)
-
removePlaneOrientationSequence
default void removePlaneOrientationSequence()
Removes the Plane Orientation Sequence (seePlaneOrientationSequence
-
-