Class Time

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

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

      This is the value of the Content Item.

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


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

      Time value for this name-value Item.

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


    • Nested Class Summary

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

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

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Time copy()
      Returns a new Time which wraps a copy of the Attributes wrapped in this Time.
      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

      • Time

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

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

      • copy

        public Time copy()
        Returns a new Time which wraps a copy of the Attributes wrapped in this Time. (see Attributes(Attributes)
        Returns:
        a new Time which wraps a copy of the Attributes wrapped in this Time.
      • 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