Class DateTimeValueType

  • All Implemented Interfaces:
    com.helger.commons.lang.IExplicitlyCloneable, Serializable, Cloneable

    @CodingStyleguideUnaware
    public class DateTimeValueType
    extends ValueType
    A specialized ValueType that may be used as a container for a dateTime value.

    Java class for DateTimeValueType complex type.

    The following schema fragment specifies the expected content contained within this class.

    
     <complexType name="DateTimeValueType">
       <complexContent>
         <extension base="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}ValueType">
           <sequence>
             <element name="Value" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
           </sequence>
         </extension>
       </complexContent>
     </complexType>
     

    This class was annotated by ph-jaxb-plugin -Xph-annotate

    This class contains methods created by ph-jaxb-plugin -Xph-equalshashcode

    This class contains methods created by ph-jaxb-plugin -Xph-tostring

    This class contains methods created by ph-jaxb-plugin -Xph-cloneable2

    This class contains methods created by ph-jaxb-plugin -Xph-value-extender

    This class contains methods created by ph-jaxb-plugin -Xph-offset-dt-extension

    See Also:
    Serialized Form
    • Constructor Detail

      • DateTimeValueType

        public DateTimeValueType()
        Default constructor
        Note: automatically created by ph-jaxb-plugin -Xph-value-extender
      • DateTimeValueType

        public DateTimeValueType​(@Nullable
                                 com.helger.commons.datetime.XMLOffsetDateTime valueParam)
        Constructor for value of type XMLOffsetDateTime
        Note: automatically created by ph-jaxb-plugin -Xph-value-extender
        Parameters:
        valueParam - The value to be set. May be null.
      • DateTimeValueType

        public DateTimeValueType​(@Nullable
                                 LocalDateTime valueParam)
        Constructor for value of type LocalDateTime
        Note: automatically created by ph-jaxb-plugin -Xph-value-extender
        Parameters:
        valueParam - The value to be set. May be null.
    • Method Detail

      • getValue

        @Nullable
        public com.helger.commons.datetime.XMLOffsetDateTime getValue()
        Gets the value of the value property.
        Returns:
        possible object is String
      • setValue

        public void setValue​(@Nullable
                             com.helger.commons.datetime.XMLOffsetDateTime value)
        Sets the value of the value property.
        Parameters:
        value - allowed object is String
      • equals

        public boolean equals​(Object o)
        Created by ph-jaxb-plugin -Xph-equalshashcode
        Overrides:
        equals in class ValueType
      • hashCode

        public int hashCode()
        Created by ph-jaxb-plugin -Xph-equalshashcode
        Overrides:
        hashCode in class ValueType
      • toString

        public String toString()
        Created by ph-jaxb-plugin -Xph-tostring
        Overrides:
        toString in class ValueType
      • cloneTo

        public void cloneTo​(@Nonnull
                            DateTimeValueType ret)
        This method clones all values from this to the passed object. All data in the parameter object is overwritten!Created by ph-jaxb-plugin -Xph-cloneable2
        Parameters:
        ret - The target object to clone to. May not be null.
      • clone

        @Nonnull
        @ReturnsMutableCopy
        public DateTimeValueType clone()
        Created by ph-jaxb-plugin -Xph-cloneable2
        Specified by:
        clone in interface com.helger.commons.lang.IExplicitlyCloneable
        Specified by:
        clone in class ValueType
        Returns:
        The cloned object. Never null.
      • getValueLocal

        @Nullable
        public LocalDateTime getValueLocal()
        Created by ph-jaxb-plugin -Xph-offset-dt-extension
        Returns:
        The LocalDateTime representation of value. May be null.
      • setValue

        public void setValue​(@Nullable
                             LocalDateTime aValue)
        Created by ph-jaxb-plugin -Xph-offset-dt-extension
        Parameters:
        aValue - The LocalDateTime to set. May be null.