Interface AnalogFilterType.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
AnalogFilterCharacteristicsSequence.Item,AnalogFilterType.SimpleHolder
- Enclosing class:
- AnalogFilterType
public static interface AnalogFilterType.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Analog Filter Type Code Sequence" (seeAnalogFilterType)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classAnalogFilterType.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static AnalogFilterType.Holder.Builderbuilder()static AnalogFilterType.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsAnalogFilterType()default AnalogFilterTypeensureAnalogFilterType()Adds a new Analog Filter Type Code Sequence (seeAnalogFilterType) with initial capacity 1 (seeensureAnalogFilterType(int)) if it does not already exist.default AnalogFilterTypeensureAnalogFilterType(int initialCapacity)Adds a new Analog Filter Type Code Sequence (seeAnalogFilterType) if it does not already exist.default AnalogFilterTypegetAnalogFilterType()default AnalogFilterTypenewAnalogFilterType(int initialCapacity)Adds a new Analog Filter Type Code Sequence.default voidremoveAnalogFilterType()Removes the Analog Filter Type Code Sequence (seeAnalogFilterTypestatic AnalogFilterType.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static AnalogFilterType.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Analog Filter Type Code Sequence (seeAnalogFilterType)- Returns:
- a wrapper object implementing the
AnalogFilterType.Holderinterface.
-
builder
static AnalogFilterType.Holder.Builder builder()
- Returns:
- a
AnalogFilterType.Holder.Builderto create Analog Filter Type Code Sequence Items with a fluent API.
-
builder
static AnalogFilterType.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theAnalogFilterType.Holder.Builder.- Returns:
- a
AnalogFilterType.Holder.Builderto create Analog Filter Type Code Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getAnalogFilterType
default AnalogFilterType getAnalogFilterType()
- Returns:
- the Analog Filter Type Code Sequence (see
AnalogFilterType)
-
newAnalogFilterType
default AnalogFilterType newAnalogFilterType(int initialCapacity)
Adds a new Analog Filter Type Code Sequence. (seeAnalogFilterType)- Parameters:
initialCapacity- the initial capacity for the new Analog Filter Type Code Sequence- Returns:
- the newly created AnalogFilterType.
-
ensureAnalogFilterType
default AnalogFilterType ensureAnalogFilterType(int initialCapacity)
Adds a new Analog Filter Type Code Sequence (seeAnalogFilterType) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Analog Filter Type Code Sequence is created.- Returns:
- either the already existing Analog Filter Type Code Sequence (see
AnalogFilterType) or a new one with capacityinitialCapacity.
-
ensureAnalogFilterType
default AnalogFilterType ensureAnalogFilterType()
Adds a new Analog Filter Type Code Sequence (seeAnalogFilterType) with initial capacity 1 (seeensureAnalogFilterType(int)) if it does not already exist.- Returns:
- either the already existing Analog Filter Type Code Sequence (see
AnalogFilterType) or a new one with capacity 1.
-
containsAnalogFilterType
default boolean containsAnalogFilterType()
- Returns:
- whether it contains the Analog Filter Type Code Sequence (see
AnalogFilterType)
-
removeAnalogFilterType
default void removeAnalogFilterType()
Removes the Analog Filter Type Code Sequence (seeAnalogFilterType
-
-