Class Date

  • All Implemented Interfaces:
    org.dcm4che.typeddicom.AttributesWrapper, org.dcm4che.typeddicom.DataElementWrapper, org.dcm4che.typeddicom.valuerepresentations.BytesDataElementWrapper, org.dcm4che.typeddicom.valuerepresentations.DateDataElementWrapper, DateWrapper, org.dcm4che.typeddicom.valuerepresentations.StringDataElementWrapper

    public class Date
    extends org.dcm4che.typeddicom.AbstractDataElementWrapper
    implements DateWrapper
    Name: Date
    Keyword: Date
    Tag: (0040,A121)
    Value Representation: Date
    Value Multiplicity: 1
    • Described in the contexts: as follows:
      Attribute Name: Date
      Type: 1C
      Attribute Description:

      This is the value of the Content Item.

      Required if Value Type (0040,A040) is DATE.


    • Described in the contexts: as follows:
      Attribute Name: Date
      Type: 1C
      Attribute Description:

      Date value for this name-value Item.

      Required if Value Type (0040,A040) is DATE.


    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static interface  Date.Builder<SELF extends Date.Builder<SELF,​T>,​T extends Date.Holder>  
      static interface  Date.Holder
      A class implementing this interface can hold attributes which contain the DICOM tag "Date" (see Date)
      • Nested classes/interfaces inherited from interface org.dcm4che.typeddicom.valuerepresentations.DateWrapper

        DateWrapper.Setter<B extends org.dcm4che.typeddicom.Builder<B,​? extends org.dcm4che.typeddicom.AttributesWrapper>,​D extends DateWrapper>
    • Constructor Summary

      Constructors 
      Constructor Description
      Date()
      Creates a new Date object which wraps a new and empty Attributes object.
      Date​(org.dcm4che3.data.Attributes attributes)
      Creates a new Date object which wraps the provided attributes.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Date copy()
      Returns a new Date which wraps a copy of the Attributes wrapped in this Date.
      java.lang.String getPrivateCreator()  
      int getTag()  
      • Methods inherited from class org.dcm4che.typeddicom.AbstractDataElementWrapper

        equals, exists, getValue, hashCode, toString
      • Methods inherited from class org.dcm4che.typeddicom.AbstractAttributesWrapper

        getAttributes
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.dcm4che.typeddicom.AttributesWrapper

        copy, getAttributes, isEmpty
      • Methods inherited from interface org.dcm4che.typeddicom.valuerepresentations.BytesDataElementWrapper

        getBytes, getSafeBytes, setBytes
      • Methods inherited from interface org.dcm4che.typeddicom.DataElementWrapper

        exists, getValue
      • Methods inherited from interface org.dcm4che.typeddicom.valuerepresentations.DateDataElementWrapper

        getDate, getDate, getDate, setDate, setDate
      • Methods inherited from interface org.dcm4che.typeddicom.valuerepresentations.StringDataElementWrapper

        getString, setString
    • Constructor Detail

      • Date

        public Date​(org.dcm4che3.data.Attributes attributes)
        Creates a new Date object which wraps the provided attributes.
        Parameters:
        attributes - the Attributes object to be wrapped.
      • Date

        public Date()
        Creates a new Date object which wraps a new and empty Attributes object.
    • Method Detail

      • copy

        public Date copy()
        Returns a new Date which wraps a copy of the Attributes wrapped in this Date. (see Attributes(Attributes)
        Returns:
        a new Date which wraps a copy of the Attributes wrapped in this Date.
      • getPrivateCreator

        public java.lang.String getPrivateCreator()
        Specified by:
        getPrivateCreator in interface org.dcm4che.typeddicom.DataElementWrapper
      • getTag

        public int getTag()
        Specified by:
        getTag in interface org.dcm4che.typeddicom.DataElementWrapper