Interface RelationshipSequenceTrial.Holder
- All Superinterfaces:
AttributesWrapper
- Enclosing class:
- RelationshipSequenceTrial
A class implementing this interface can hold attributes which contain the DICOM tag "Relationship Sequence (Trial)" (see
RelationshipSequenceTrial)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault RelationshipSequenceTrialAdds a new Relationship Sequence (Trial) (seeRelationshipSequenceTrial) with initial capacity 1 (seeensureRelationshipSequenceTrial(int)) if it does not already exist.default RelationshipSequenceTrialensureRelationshipSequenceTrial(int initialCapacity) Adds a new Relationship Sequence (Trial) (seeRelationshipSequenceTrial) if it does not already exist.default RelationshipSequenceTrialdefault RelationshipSequenceTrialnewRelationshipSequenceTrial(int initialCapacity) Adds a new Relationship Sequence (Trial).default voidRemoves the Relationship Sequence (Trial) (seeRelationshipSequenceTrialwrap(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 Relationship Sequence (Trial) (seeRelationshipSequenceTrial)- Returns:
- A wrapper object implementing the
RelationshipSequenceTrial.Holderinterface.
-
getRelationshipSequenceTrial
- Returns:
- the Relationship Sequence (Trial) (see
RelationshipSequenceTrial)
-
newRelationshipSequenceTrial
Adds a new Relationship Sequence (Trial). (seeRelationshipSequenceTrial)- Parameters:
initialCapacity- the initial capacity for the new Relationship Sequence (Trial)
-
ensureRelationshipSequenceTrial
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
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
-