Package org.dcm4che.typeddicom
Class AbstractAttributesWrapper
- java.lang.Object
-
- org.dcm4che.typeddicom.AbstractAttributesWrapper
-
- All Implemented Interfaces:
AttributesWrapper
- Direct Known Subclasses:
AbstractDataElementWrapper,AbstractInformationObjectDefinition,AbstractSequenceItemWrapper,UniversalAttributesWrapper,UniversalAttributesWrapper.UniversalBuilder
public abstract class AbstractAttributesWrapper extends java.lang.Object implements AttributesWrapper
This abstract class wraps dcm4che Attributes and provides accessors to it. It also implementsequals(java.lang.Object)andhashCode()which delegates to the wrapped Attributes and a toString() method which uses reflection to provide a nice representation of the set and known Attributes.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractAttributesWrapper()protectedAbstractAttributesWrapper(org.dcm4che3.data.Attributes attributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)org.dcm4che3.data.AttributesgetAttributes()Get the wrapped Attributes.inthashCode()java.lang.StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.dcm4che.typeddicom.AttributesWrapper
copy, getKnownAttributeTags, getUnknownAttributeTags, isEmpty
-
-
-
-
Method Detail
-
getAttributes
public org.dcm4che3.data.Attributes getAttributes()
Description copied from interface:AttributesWrapperGet the wrapped Attributes.- Specified by:
getAttributesin interfaceAttributesWrapper- Returns:
- the wrapped Attributes object.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-