Interface ProtocolElementName.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
AcquisitionProtocolElementSequence.Item,ProtocolElementName.SimpleHolder,ReconstructionProtocolElementSequence.Item,StorageProtocolElementSequence.Item
- Enclosing class:
- ProtocolElementName
A class implementing this interface can hold attributes which contain the DICOM tag "Protocol Element Name" (see
ProtocolElementName)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault ProtocolElementNamedefault voidRemoves the Protocol Element Name (seeProtocolElementNamestatic ProtocolElementName.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 Protocol Element Name (seeProtocolElementName)- Returns:
- A wrapper object implementing the
ProtocolElementName.Holderinterface.
-
builder
- Returns:
- a
ProtocolElementName.Holder.Builderto create Protocol Element Name Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theProtocolElementName.Holder.Builder.- Returns:
- a
ProtocolElementName.Holder.Builderto create Protocol Element Name Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getProtocolElementName
- Returns:
- the Protocol Element Name (see
ProtocolElementName)
-
containsProtocolElementName
default boolean containsProtocolElementName()- Returns:
- Whether it contains the Protocol Element Name (see
ProtocolElementName)
-
removeProtocolElementName
default void removeProtocolElementName()Removes the Protocol Element Name (seeProtocolElementName
-