Interface ProposedStudySequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Subinterfaces:
BasicFilmSessionRelationshipModule
- All Known Implementing Classes:
BasicFilmSessionRelationshipModule.SimpleWrapper,FilmSessionIOD
- Enclosing class:
- ProposedStudySequence
public static interface ProposedStudySequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Proposed Study Sequence" (seeProposedStudySequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classProposedStudySequence.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static ProposedStudySequence.Holder.Builderbuilder()static ProposedStudySequence.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsProposedStudySequence()default ProposedStudySequenceensureProposedStudySequence()Adds a new Proposed Study Sequence (seeProposedStudySequence) with initial capacity 1 (seeensureProposedStudySequence(int)) if it does not already exist.default ProposedStudySequenceensureProposedStudySequence(int initialCapacity)Adds a new Proposed Study Sequence (seeProposedStudySequence) if it does not already exist.default ProposedStudySequencegetProposedStudySequence()default ProposedStudySequencenewProposedStudySequence(int initialCapacity)Adds a new Proposed Study Sequence.default voidremoveProposedStudySequence()Removes the Proposed Study Sequence (seeProposedStudySequencestatic ProposedStudySequence.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static ProposedStudySequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Proposed Study Sequence (seeProposedStudySequence)- Returns:
- a wrapper object implementing the
ProposedStudySequence.Holderinterface.
-
builder
static ProposedStudySequence.Holder.Builder builder()
- Returns:
- a
ProposedStudySequence.Holder.Builderto create Proposed Study Sequence Items with a fluent API.
-
builder
static ProposedStudySequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theProposedStudySequence.Holder.Builder.- Returns:
- a
ProposedStudySequence.Holder.Builderto create Proposed Study Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getProposedStudySequence
default ProposedStudySequence getProposedStudySequence()
- Returns:
- the Proposed Study Sequence (see
ProposedStudySequence)
-
newProposedStudySequence
default ProposedStudySequence newProposedStudySequence(int initialCapacity)
Adds a new Proposed Study Sequence. (seeProposedStudySequence)- Parameters:
initialCapacity- the initial capacity for the new Proposed Study Sequence- Returns:
- the newly created ProposedStudySequence.
-
ensureProposedStudySequence
default ProposedStudySequence ensureProposedStudySequence(int initialCapacity)
Adds a new Proposed Study Sequence (seeProposedStudySequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Proposed Study Sequence is created.- Returns:
- either the already existing Proposed Study Sequence (see
ProposedStudySequence) or a new one with capacityinitialCapacity.
-
ensureProposedStudySequence
default ProposedStudySequence ensureProposedStudySequence()
Adds a new Proposed Study Sequence (seeProposedStudySequence) with initial capacity 1 (seeensureProposedStudySequence(int)) if it does not already exist.- Returns:
- either the already existing Proposed Study Sequence (see
ProposedStudySequence) or a new one with capacity 1.
-
containsProposedStudySequence
default boolean containsProposedStudySequence()
- Returns:
- whether it contains the Proposed Study Sequence (see
ProposedStudySequence)
-
removeProposedStudySequence
default void removeProposedStudySequence()
Removes the Proposed Study Sequence (seeProposedStudySequence
-
-