Package org.dcm4che.typeddicom
Interface AttributesWrapper
-
- All Known Subinterfaces:
Builder<SELF,T>,BytesDataElementWrapper,DataElementWrapper,DateDataElementMultiWrapper,DateDataElementWrapper,DoubleDataElementMultiWrapper,DoubleDataElementWrapper,FloatDataElementMultiWrapper,FloatDataElementWrapper,IntDataElementMultiWrapper,IntDataElementWrapper,StringDataElementMultiWrapper,StringDataElementWrapper
- All Known Implementing Classes:
AbstractAttributesWrapper,AbstractDataElementWrapper,AbstractInformationObjectDefinition,AbstractSequenceItemWrapper,UniversalAttributesWrapper,UniversalAttributesWrapper.UniversalBuilder,UniversalDataElementWrapper
public interface AttributesWrapper
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default <T extends AttributesWrapper>
Tcopy(java.lang.Class<T> wrapperClass)Returns a new Attributes wrapper instance which wraps a copy of the attributes contained in this Attributes wrapper.org.dcm4che3.data.AttributesgetAttributes()Get the wrapped Attributes.default booleanisEmpty()See alsoAttributes.isEmpty().static <T extends AttributesWrapper>
Twrap(org.dcm4che3.data.Attributes attributes, java.lang.Class<T> wrapperClass)
-
-
-
Method Detail
-
wrap
static <T extends AttributesWrapper> T wrap(org.dcm4che3.data.Attributes attributes, java.lang.Class<T> wrapperClass)
-
getAttributes
org.dcm4che3.data.Attributes getAttributes()
Get the wrapped Attributes.- Returns:
- the wrapped Attributes object.
-
copy
default <T extends AttributesWrapper> T copy(java.lang.Class<T> wrapperClass)
Returns a new Attributes wrapper instance which wraps a copy of the attributes contained in this Attributes wrapper. (seeAttributes(Attributes)- Type Parameters:
T- the Type of the class to wrap new Attributes object in.- Parameters:
wrapperClass- the class to wrap the new Attributes object in.- Returns:
- a new instance of an Attributes wrapper implementation which wraps a copy of the attributes contained in this Attributes wrapper.
-
isEmpty
default boolean isEmpty()
See alsoAttributes.isEmpty().- Returns:
trueif the wrapped attributes are empty,falseotherwise.
-
-