Interface HangingProtocolUserIdentificationCodeSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Subinterfaces:
HangingProtocolDefinitionModule
- All Known Implementing Classes:
HangingProtocolIOD,HangingProtocolUserIdentificationCodeSequence.SimpleHolder
- Enclosing class:
- HangingProtocolUserIdentificationCodeSequence
public static interface HangingProtocolUserIdentificationCodeSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Hanging Protocol User Identification Code Sequence" (seeHangingProtocolUserIdentificationCodeSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classHangingProtocolUserIdentificationCodeSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static HangingProtocolUserIdentificationCodeSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Hanging Protocol User Identification Code Sequence (seeHangingProtocolUserIdentificationCodeSequence)- Returns:
- a wrapper object implementing the
HangingProtocolUserIdentificationCodeSequence.Holderinterface.
-
builder
static HangingProtocolUserIdentificationCodeSequence.Holder.Builder builder()
- Returns:
- a
HangingProtocolUserIdentificationCodeSequence.Holder.Builderto create Hanging Protocol User Identification Code Sequence Items with a fluent API.
-
builder
static HangingProtocolUserIdentificationCodeSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theHangingProtocolUserIdentificationCodeSequence.Holder.Builder.- Returns:
- a
HangingProtocolUserIdentificationCodeSequence.Holder.Builderto create Hanging Protocol User Identification Code Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getHangingProtocolUserIdentificationCodeSequence
default HangingProtocolUserIdentificationCodeSequence getHangingProtocolUserIdentificationCodeSequence()
- Returns:
- the Hanging Protocol User Identification Code Sequence (see
HangingProtocolUserIdentificationCodeSequence)
-
newHangingProtocolUserIdentificationCodeSequence
default HangingProtocolUserIdentificationCodeSequence newHangingProtocolUserIdentificationCodeSequence(int initialCapacity)
Adds a new Hanging Protocol User Identification Code Sequence. (seeHangingProtocolUserIdentificationCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Hanging Protocol User Identification Code Sequence- Returns:
- the newly created HangingProtocolUserIdentificationCodeSequence.
-
ensureHangingProtocolUserIdentificationCodeSequence
default HangingProtocolUserIdentificationCodeSequence ensureHangingProtocolUserIdentificationCodeSequence(int initialCapacity)
Adds a new Hanging Protocol User Identification Code Sequence (seeHangingProtocolUserIdentificationCodeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Hanging Protocol User Identification Code Sequence is created.- Returns:
- either the already existing Hanging Protocol User Identification Code Sequence (see
HangingProtocolUserIdentificationCodeSequence) or a new one with capacityinitialCapacity.
-
ensureHangingProtocolUserIdentificationCodeSequence
default HangingProtocolUserIdentificationCodeSequence ensureHangingProtocolUserIdentificationCodeSequence()
Adds a new Hanging Protocol User Identification Code Sequence (seeHangingProtocolUserIdentificationCodeSequence) with initial capacity 1 (seeensureHangingProtocolUserIdentificationCodeSequence(int)) if it does not already exist.- Returns:
- either the already existing Hanging Protocol User Identification Code Sequence (see
HangingProtocolUserIdentificationCodeSequence) or a new one with capacity 1.
-
containsHangingProtocolUserIdentificationCodeSequence
default boolean containsHangingProtocolUserIdentificationCodeSequence()
- Returns:
- whether it contains the Hanging Protocol User Identification Code Sequence (see
HangingProtocolUserIdentificationCodeSequence)
-
removeHangingProtocolUserIdentificationCodeSequence
default void removeHangingProtocolUserIdentificationCodeSequence()
Removes the Hanging Protocol User Identification Code Sequence (seeHangingProtocolUserIdentificationCodeSequence
-
-