Package com.vidispine.generated
Class AmountType
- java.lang.Object
-
- com.vidispine.generated.AmountType
-
- All Implemented Interfaces:
Serializable
,Cloneable
,org.jvnet.jaxb2_commons.lang.CopyTo2
,org.jvnet.jaxb2_commons.lang.Equals2
,org.jvnet.jaxb2_commons.lang.HashCode2
public class AmountType extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2
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" type="{http://www.w3.org/2001/XMLSchema}string" /> </extension> </simpleContent> </complexType>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AmountType.PropInfo
-
Field Summary
Fields Modifier and Type Field Description protected String
unit
protected BigDecimal
value
-
Constructor Summary
Constructors Constructor Description AmountType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
Object
copyTo(Object target)
Object
copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
Object
createNewInstance()
boolean
equals(Object object)
boolean
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
String
getUnit()
Gets the value of the unit property.BigDecimal
getValue()
Gets the value of the value property.int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
boolean
isSetUnit()
boolean
isSetValue()
void
setUnit(String value)
Sets the value of the unit property.void
setValue(BigDecimal value)
Sets the value of the value property.AmountType
visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
AmountType
withUnit(String value)
AmountType
withValue(BigDecimal value)
-
-
-
Field Detail
-
value
protected BigDecimal value
-
unit
protected String unit
-
-
Method Detail
-
getValue
public BigDecimal getValue()
Gets the value of the value property.- Returns:
- possible object is
BigDecimal
-
setValue
public void setValue(BigDecimal value)
Sets the value of the value property.- Parameters:
value
- allowed object isBigDecimal
-
isSetValue
public boolean isSetValue()
-
getUnit
public String getUnit()
Gets the value of the unit property.- Returns:
- possible object is
String
-
setUnit
public void setUnit(String value)
Sets the value of the unit property.- Parameters:
value
- allowed object isString
-
isSetUnit
public boolean isSetUnit()
-
copyTo
public Object copyTo(Object target)
- Specified by:
copyTo
in interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
copyTo
public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
- Specified by:
copyTo
in interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
createNewInstance
public Object createNewInstance()
- Specified by:
createNewInstance
in interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
withValue
public AmountType withValue(BigDecimal value)
-
withUnit
public AmountType withUnit(String value)
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
- Specified by:
equals
in interfaceorg.jvnet.jaxb2_commons.lang.Equals2
-
visit
public AmountType visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
- Specified by:
hashCode
in interfaceorg.jvnet.jaxb2_commons.lang.HashCode2
-
-