Class AmountType
- java.lang.Object
-
- eu.europa.data.europass.model.credentials_.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 Summary
Constructors Constructor Description AmountType()Default constructor
Note: automatically created by ph-jaxb22-plugin -Xph-value-extenderAmountType(BigDecimal valueParam)Constructor for value of type BigDecimal
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AmountTypeclone()Created by ph-jaxb22-plugin -Xph-cloneable2voidcloneTo(AmountType ret)This method clones all values fromthisto the passed object.booleanequals(Object o)Created by ph-jaxb22-plugin -Xph-equalshashcodeStringgetUnit()Gets the value of the unit property.BigDecimalgetValue()Gets the value of the value property.inthashCode()Created by ph-jaxb22-plugin -Xph-equalshashcodevoidsetUnit(String value)Sets the value of the unit property.voidsetValue(BigDecimal value)Sets the value of the value property.StringtoString()Created by ph-jaxb22-plugin -Xph-tostring
-
-
-
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 benull.
-
-
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 isBigDecimal
-
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 isString
-
equals
public boolean equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
-
hashCode
public int hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
-
toString
public String toString()
Created by ph-jaxb22-plugin -Xph-tostring
-
cloneTo
public void cloneTo(@Nonnull AmountType ret)This method clones all values fromthisto 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 benull.
-
clone
@Nonnull @ReturnsMutableCopy public AmountType clone()
Created by ph-jaxb22-plugin -Xph-cloneable2
-
-