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