Class AmountType

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

    @CodingStyleguideUnaware
    public class AmountType
    extends Object
    implements com.helger.commons.lang.IExplicitlyCloneable

    Java class for AmountType complex type.

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

     <complexType name="AmountType">
       <simpleContent>
         <extension base="<http://www.w3.org/2001/XMLSchema>decimal">
           <attribute name="unit" use="required" type="{http://data.europa.eu/europass/model/credentials#}CurrencyEnumType" />
         </extension>
       </simpleContent>
     </complexType>
     

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

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

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

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

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

    • Constructor Detail

      • AmountType

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

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

      • getValue

        @Nullable
        public BigDecimal getValue()
        Gets the value of the value property.
        Returns:
        possible object is BigDecimal
      • setValue

        public void setValue​(@Nullable
                             BigDecimal value)
        Sets the value of the value property.
        Parameters:
        value - allowed object is BigDecimal
      • getUnit

        @Nullable
        public String getUnit()
        Gets the value of the unit property.
        Returns:
        possible object is String
      • setUnit

        public void setUnit​(@Nullable
                            String value)
        Sets the value of the unit property.
        Parameters:
        value - allowed object is String
      • equals

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

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

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

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

        @Nonnull
        @ReturnsMutableCopy
        public AmountType clone()
        Created by ph-jaxb22-plugin -Xph-cloneable2
        Specified by:
        clone in interface com.helger.commons.lang.IExplicitlyCloneable
        Overrides:
        clone in class Object
        Returns:
        The cloned object. Never null.