Interface MatingFeatureDegreeOfFreedomSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
MatingFeatureDegreeOfFreedomSequence.SimpleHolder,MatingFeatureSequence.Item
- Enclosing class:
- MatingFeatureDegreeOfFreedomSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Mating Feature Degree of Freedom Sequence" (see
MatingFeatureDegreeOfFreedomSequence)-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleanAdds a new Mating Feature Degree of Freedom Sequence (seeMatingFeatureDegreeOfFreedomSequence) with initial capacity 1 (seeensureMatingFeatureDegreeOfFreedomSequence(int)) if it does not already exist.ensureMatingFeatureDegreeOfFreedomSequence(int initialCapacity) Adds a new Mating Feature Degree of Freedom Sequence (seeMatingFeatureDegreeOfFreedomSequence) if it does not already exist.newMatingFeatureDegreeOfFreedomSequence(int initialCapacity) Adds a new Mating Feature Degree of Freedom Sequence.default voidRemoves the Mating Feature Degree of Freedom Sequence (seeMatingFeatureDegreeOfFreedomSequencewrap(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 Mating Feature Degree of Freedom Sequence (seeMatingFeatureDegreeOfFreedomSequence)- Returns:
- A wrapper object implementing the
MatingFeatureDegreeOfFreedomSequence.Holderinterface.
-
builder
- Returns:
- a
MatingFeatureDegreeOfFreedomSequence.Holder.Builderto create Mating Feature Degree of Freedom Sequence Items with a fluent API.
-
builder
static MatingFeatureDegreeOfFreedomSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theMatingFeatureDegreeOfFreedomSequence.Holder.Builder.- Returns:
- a
MatingFeatureDegreeOfFreedomSequence.Holder.Builderto create Mating Feature Degree of Freedom Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getMatingFeatureDegreeOfFreedomSequence
- Returns:
- the Mating Feature Degree of Freedom Sequence (see
MatingFeatureDegreeOfFreedomSequence)
-
newMatingFeatureDegreeOfFreedomSequence
default MatingFeatureDegreeOfFreedomSequence newMatingFeatureDegreeOfFreedomSequence(int initialCapacity) Adds a new Mating Feature Degree of Freedom Sequence. (seeMatingFeatureDegreeOfFreedomSequence)- Parameters:
initialCapacity- the initial capacity for the new Mating Feature Degree of Freedom Sequence
-
ensureMatingFeatureDegreeOfFreedomSequence
default MatingFeatureDegreeOfFreedomSequence ensureMatingFeatureDegreeOfFreedomSequence(int initialCapacity) Adds a new Mating Feature Degree of Freedom Sequence (seeMatingFeatureDegreeOfFreedomSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Mating Feature Degree of Freedom Sequence is created.- Returns:
- Either the already existing Mating Feature Degree of Freedom Sequence (see
MatingFeatureDegreeOfFreedomSequence) or a new one with capacityinitialCapacity.
-
ensureMatingFeatureDegreeOfFreedomSequence
Adds a new Mating Feature Degree of Freedom Sequence (seeMatingFeatureDegreeOfFreedomSequence) with initial capacity 1 (seeensureMatingFeatureDegreeOfFreedomSequence(int)) if it does not already exist.- Returns:
- Either the already existing Mating Feature Degree of Freedom Sequence (see
MatingFeatureDegreeOfFreedomSequence) or a new one with capacity 1.
-
containsMatingFeatureDegreeOfFreedomSequence
default boolean containsMatingFeatureDegreeOfFreedomSequence()- Returns:
- Whether it contains the Mating Feature Degree of Freedom Sequence (see
MatingFeatureDegreeOfFreedomSequence)
-
removeMatingFeatureDegreeOfFreedomSequence
default void removeMatingFeatureDegreeOfFreedomSequence()Removes the Mating Feature Degree of Freedom Sequence (seeMatingFeatureDegreeOfFreedomSequence
-