Class ContentTemplateSequence.Item
java.lang.Object
org.dcm4che.typeddicom.AbstractAttributesWrapper
org.dcm4che.typeddicom.AbstractSequenceItemWrapper
org.dcm4che.typeddicom.dataelements.ContentTemplateSequence.Item
- All Implemented Interfaces:
AttributesWrapper,MappingResource.Holder,MappingResourceUID.Holder,TemplateIdentifier.Holder
- Enclosing class:
- ContentTemplateSequence
public static class ContentTemplateSequence.Item
extends AbstractSequenceItemWrapper
implements MappingResource.Holder, MappingResourceUID.Holder, TemplateIdentifier.Holder
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.dcm4che.typeddicom.AbstractSequenceItemWrapper
toStringMethods inherited from class org.dcm4che.typeddicom.AbstractAttributesWrapper
equals, getAttributes, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.dcm4che.typeddicom.AttributesWrapper
copy, getAttributes, isEmptyMethods inherited from interface org.dcm4che.typeddicom.dataelements.MappingResource.Holder
containsMappingResource, getMappingResource, removeMappingResourceMethods inherited from interface org.dcm4che.typeddicom.dataelements.MappingResourceUID.Holder
containsMappingResourceUID, getMappingResourceUID, removeMappingResourceUIDMethods inherited from interface org.dcm4che.typeddicom.dataelements.TemplateIdentifier.Holder
containsTemplateIdentifier, getTemplateIdentifier, removeTemplateIdentifier
-
Constructor Details
-
Item
public Item(org.dcm4che3.data.Attributes attributes) Creates a new Content Template Sequence Item object which wraps the providedattributes.- Parameters:
attributes- TheAttributesobject to be wrapped.
-
Item
public Item()Creates a new Content Template Sequence Item object which wraps a new and emptyAttributesobject.
-
-
Method Details
-
builder
- Returns:
- a
ContentTemplateSequence.Item.Builderto create Content Template Sequence Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theContentTemplateSequence.Item.Builder.- Returns:
- a
ContentTemplateSequence.Item.Builderto create Content Template Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
copy
Returns a new Content Template Sequence Item which wraps a copy of the Attributes wrapped in this Content Template Sequence. (seeAttributes(Attributes)- Returns:
- a new Content Template Sequence Item which wraps a copy of the Attributes wrapped in this Content Template Sequence.
-