Interface BreedRegistryCodeSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
BreedRegistrationSequence.Item
- Enclosing class:
- BreedRegistryCodeSequence
public static interface BreedRegistryCodeSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Breed Registry Code Sequence" (seeBreedRegistryCodeSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classBreedRegistryCodeSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static BreedRegistryCodeSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Breed Registry Code Sequence (seeBreedRegistryCodeSequence)- Returns:
- a wrapper object implementing the
BreedRegistryCodeSequence.Holderinterface.
-
builder
static BreedRegistryCodeSequence.Holder.Builder builder()
- Returns:
- a
BreedRegistryCodeSequence.Holder.Builderto create Breed Registry Code Sequence Items with a fluent API.
-
builder
static BreedRegistryCodeSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theBreedRegistryCodeSequence.Holder.Builder.- Returns:
- a
BreedRegistryCodeSequence.Holder.Builderto create Breed Registry Code Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getBreedRegistryCodeSequence
default BreedRegistryCodeSequence getBreedRegistryCodeSequence()
- Returns:
- the Breed Registry Code Sequence (see
BreedRegistryCodeSequence)
-
newBreedRegistryCodeSequence
default BreedRegistryCodeSequence newBreedRegistryCodeSequence(int initialCapacity)
Adds a new Breed Registry Code Sequence. (seeBreedRegistryCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Breed Registry Code Sequence- Returns:
- the newly created BreedRegistryCodeSequence.
-
ensureBreedRegistryCodeSequence
default BreedRegistryCodeSequence ensureBreedRegistryCodeSequence(int initialCapacity)
Adds a new Breed Registry Code Sequence (seeBreedRegistryCodeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Breed Registry Code Sequence is created.- Returns:
- either the already existing Breed Registry Code Sequence (see
BreedRegistryCodeSequence) or a new one with capacityinitialCapacity.
-
ensureBreedRegistryCodeSequence
default BreedRegistryCodeSequence ensureBreedRegistryCodeSequence()
Adds a new Breed Registry Code Sequence (seeBreedRegistryCodeSequence) with initial capacity 1 (seeensureBreedRegistryCodeSequence(int)) if it does not already exist.- Returns:
- either the already existing Breed Registry Code Sequence (see
BreedRegistryCodeSequence) or a new one with capacity 1.
-
containsBreedRegistryCodeSequence
default boolean containsBreedRegistryCodeSequence()
- Returns:
- whether it contains the Breed Registry Code Sequence (see
BreedRegistryCodeSequence)
-
removeBreedRegistryCodeSequence
default void removeBreedRegistryCodeSequence()
Removes the Breed Registry Code Sequence (seeBreedRegistryCodeSequence
-
-