Interface RelationshipType.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
ContentSequence.Item,RelationshipType.SimpleHolder
- Enclosing class:
- RelationshipType
A class implementing this interface can hold attributes which contain the DICOM tag "Relationship Type" (see
RelationshipType)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault RelationshipTypedefault voidRemoves the Relationship Type (seeRelationshipTypestatic RelationshipType.Holderwrap(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 Type (seeRelationshipType)- Returns:
- A wrapper object implementing the
RelationshipType.Holderinterface.
-
builder
- Returns:
- a
RelationshipType.Holder.Builderto create Relationship Type Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theRelationshipType.Holder.Builder.- Returns:
- a
RelationshipType.Holder.Builderto create Relationship Type Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getRelationshipType
- Returns:
- the Relationship Type (see
RelationshipType)
-
containsRelationshipType
default boolean containsRelationshipType()- Returns:
- Whether it contains the Relationship Type (see
RelationshipType)
-
removeRelationshipType
default void removeRelationshipType()Removes the Relationship Type (seeRelationshipType
-