Interface PersonIdentificationCodeSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
AsserterIdentificationSequence.Item,AssessmentRequesterSequence.Item,AuthorIdentificationSequence.Item,AuthorObserverSequence.Item,ConsultingPhysicianIdentificationSequence.Item,ContentCreatorIdentificationCodeSequence.Item,EquipmentAdministratorSequence.Item,IntendedRecipientsOfResultsIdentificationSequence.Item,InterlockResolutionUserSequence.Item,OperatorIdentificationSequence.Item,ParticipantSequence.Item,PerformingPhysicianIdentificationSequence.Item,PhysiciansOfRecordIdentificationSequence.Item,PhysiciansReadingStudyIdentificationSequence.Item,ReferringPhysicianIdentificationSequence.Item,RequestingPhysicianIdentificationSequence.Item,ScheduledPerformingPhysicianIdentificationSequence.Item
- Enclosing class:
- PersonIdentificationCodeSequence
public static interface PersonIdentificationCodeSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Person Identification Code Sequence" (seePersonIdentificationCodeSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPersonIdentificationCodeSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static PersonIdentificationCodeSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Person Identification Code Sequence (seePersonIdentificationCodeSequence)- Returns:
- a wrapper object implementing the
PersonIdentificationCodeSequence.Holderinterface.
-
builder
static PersonIdentificationCodeSequence.Holder.Builder builder()
- Returns:
- a
PersonIdentificationCodeSequence.Holder.Builderto create Person Identification Code Sequence Items with a fluent API.
-
builder
static PersonIdentificationCodeSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by thePersonIdentificationCodeSequence.Holder.Builder.- Returns:
- a
PersonIdentificationCodeSequence.Holder.Builderto create Person Identification Code Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getPersonIdentificationCodeSequence
default PersonIdentificationCodeSequence getPersonIdentificationCodeSequence()
- Returns:
- the Person Identification Code Sequence (see
PersonIdentificationCodeSequence)
-
newPersonIdentificationCodeSequence
default PersonIdentificationCodeSequence newPersonIdentificationCodeSequence(int initialCapacity)
Adds a new Person Identification Code Sequence. (seePersonIdentificationCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Person Identification Code Sequence- Returns:
- the newly created PersonIdentificationCodeSequence.
-
ensurePersonIdentificationCodeSequence
default PersonIdentificationCodeSequence ensurePersonIdentificationCodeSequence(int initialCapacity)
Adds a new Person Identification Code Sequence (seePersonIdentificationCodeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Person Identification Code Sequence is created.- Returns:
- either the already existing Person Identification Code Sequence (see
PersonIdentificationCodeSequence) or a new one with capacityinitialCapacity.
-
ensurePersonIdentificationCodeSequence
default PersonIdentificationCodeSequence ensurePersonIdentificationCodeSequence()
Adds a new Person Identification Code Sequence (seePersonIdentificationCodeSequence) with initial capacity 1 (seeensurePersonIdentificationCodeSequence(int)) if it does not already exist.- Returns:
- either the already existing Person Identification Code Sequence (see
PersonIdentificationCodeSequence) or a new one with capacity 1.
-
containsPersonIdentificationCodeSequence
default boolean containsPersonIdentificationCodeSequence()
- Returns:
- whether it contains the Person Identification Code Sequence (see
PersonIdentificationCodeSequence)
-
removePersonIdentificationCodeSequence
default void removePersonIdentificationCodeSequence()
Removes the Person Identification Code Sequence (seePersonIdentificationCodeSequence
-
-