Interface RelationshipTypeCodeSequenceTrial.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- Enclosing class:
- RelationshipTypeCodeSequenceTrial
public static interface RelationshipTypeCodeSequenceTrial.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Relationship Type Code Sequence (Trial)" (seeRelationshipTypeCodeSequenceTrial)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classRelationshipTypeCodeSequenceTrial.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static RelationshipTypeCodeSequenceTrial.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Relationship Type Code Sequence (Trial) (seeRelationshipTypeCodeSequenceTrial)- Returns:
- a wrapper object implementing the
RelationshipTypeCodeSequenceTrial.Holderinterface.
-
builder
static RelationshipTypeCodeSequenceTrial.Holder.Builder builder()
- Returns:
- a
RelationshipTypeCodeSequenceTrial.Holder.Builderto create Relationship Type Code Sequence (Trial) Items with a fluent API.
-
builder
static RelationshipTypeCodeSequenceTrial.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theRelationshipTypeCodeSequenceTrial.Holder.Builder.- Returns:
- a
RelationshipTypeCodeSequenceTrial.Holder.Builderto create Relationship Type Code Sequence (Trial) Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getRelationshipTypeCodeSequenceTrial
default RelationshipTypeCodeSequenceTrial getRelationshipTypeCodeSequenceTrial()
- Returns:
- the Relationship Type Code Sequence (Trial) (see
RelationshipTypeCodeSequenceTrial)
-
newRelationshipTypeCodeSequenceTrial
default RelationshipTypeCodeSequenceTrial newRelationshipTypeCodeSequenceTrial(int initialCapacity)
Adds a new Relationship Type Code Sequence (Trial). (seeRelationshipTypeCodeSequenceTrial)- Parameters:
initialCapacity- the initial capacity for the new Relationship Type Code Sequence (Trial)- Returns:
- the newly created RelationshipTypeCodeSequenceTrial.
-
ensureRelationshipTypeCodeSequenceTrial
default RelationshipTypeCodeSequenceTrial ensureRelationshipTypeCodeSequenceTrial(int initialCapacity)
Adds a new Relationship Type Code Sequence (Trial) (seeRelationshipTypeCodeSequenceTrial) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Relationship Type Code Sequence (Trial) is created.- Returns:
- either the already existing Relationship Type Code Sequence (Trial) (see
RelationshipTypeCodeSequenceTrial) or a new one with capacityinitialCapacity.
-
ensureRelationshipTypeCodeSequenceTrial
default RelationshipTypeCodeSequenceTrial ensureRelationshipTypeCodeSequenceTrial()
Adds a new Relationship Type Code Sequence (Trial) (seeRelationshipTypeCodeSequenceTrial) with initial capacity 1 (seeensureRelationshipTypeCodeSequenceTrial(int)) if it does not already exist.- Returns:
- either the already existing Relationship Type Code Sequence (Trial) (see
RelationshipTypeCodeSequenceTrial) or a new one with capacity 1.
-
containsRelationshipTypeCodeSequenceTrial
default boolean containsRelationshipTypeCodeSequenceTrial()
- Returns:
- whether it contains the Relationship Type Code Sequence (Trial) (see
RelationshipTypeCodeSequenceTrial)
-
removeRelationshipTypeCodeSequenceTrial
default void removeRelationshipTypeCodeSequenceTrial()
Removes the Relationship Type Code Sequence (Trial) (seeRelationshipTypeCodeSequenceTrial
-
-