DescribedMoneyImpl Class

com.beasys.commerce.axiom.units
DescribedMoneyImpl Class

public class DescribedMoneyImpl

    extends PriceImpl
    implements DescribedMoney

Related Topics

DescribedMoney
DescribedMoneyHome


Hierarchy
Object
  BelongingImpl
    MoneyImpl
      PriceImpl
        DescribedMoneyImpl
All Implemented Interfaces

Belonging, BusinessSmartComponent, Cloneable, Comparable, DescribedMoney, Money, Price, RelationalReference, Serializable

Field Summary

public String
description
  • Containment: By Value
  • Multiplicity: 1:1
   
Fields from  com.beasys.commerce.axiom.units.MoneyImpl
currency, value
 
Fields from  com.beasys.commerce.foundation.BelongingImpl
__classIdentifier, __containingBelonging, __containingEntity, __mapKey, __sequenceNumber, _isDirty
 

Constructor Summary

DescribedMoneyImpl()

 

Method Summary

public int
compareTo(Object o)
Compare this belonging to another
public String
getDescription()
Get the value of description
public String
interfaceName()
interfaceName() returns the unqualified name of the interface from the UML model
public void
setByValue(Belonging value)
It is possible to call set-by-value with a superclass.
public void
setDescription(String description)
Set the value of description
public Belonging
value()
value() is a more typesafe implementation of clone()
 
Methods from  com.beasys.commerce.axiom.units.MoneyImpl
compareTo, getCurrency, getValue, interfaceName, setByValue, setCurrency, setValue, value
 
Methods from  com.beasys.commerce.foundation.BelongingImpl
clearRelationalBinding, clearRelationalBinding, clearRelationalBinding, clearRelationalBinding, clone, compareTo, doRelationalBinding, doRelationalBinding, doRelationalBindingOnElement, doRelationalBindingOnElement, doRelationalBindingOnElement, doRelationalBindingOnSingleton, doRelationalBindingOnSingleton, doRelationalBindingOnSingleton, doRelationalBindingWithMapKey, doRelationalBindingWithMapKey, doRelationalBindingWithMapKey, enumerateRelationalBinding, enumerateRelationalBinding, equals, get__classIdentifier, get__containingBelonging, get__containingEntity, get__containingEntityReference, get__mapKey, get__sequenceNumber, getPersistenceHelperPlugin, hashCode, set__classIdentifier, set__containingBelonging, set__containingEntity, set__containingEntityReference, set__mapKey, setByValue, toString
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   
Methods from interface com.beasys.commerce.foundation.Belonging
clone, equals, interfaceName, setByValue, value
 
Methods from interface java.lang.Comparable
compareTo
 
Methods from interface com.beasys.commerce.axiom.units.DescribedMoney
getDescription, setDescription
 
Methods from interface com.beasys.commerce.axiom.units.Money
getCurrency, getValue, setCurrency, setValue
 
Methods from interface com.beasys.commerce.foundation.RelationalReference
get__classIdentifier, get__containingBelonging, get__containingEntity, get__mapKey, get__sequenceNumber, set__containingBelonging, set__containingEntity, set__mapKey
 

Field Detail

description

public String description

 

Constructor Detail

DescribedMoneyImpl

public DescribedMoneyImpl()
 

Method Detail

compareTo(Object) Method

public int compareTo(Object o)
Compare this belonging to another

Overrides
PriceImpl.compareTo(Object)

Parameters

o
target object for comparision

Returns

0 objects are equal

getDescription() Method

public String getDescription()
Get the value of description

Returns

description.

interfaceName() Method

public String interfaceName()
interfaceName() returns the unqualified name of the interface from the UML model

Overrides
PriceImpl.interfaceName()

Returns

the unqualified name of the belonging interface from the UML model

setByValue(Belonging) Method

public void setByValue(Belonging value)
It is possible to call set-by-value with a superclass. If that is the case, only the fields in the superclass will be set in this instance. The remaining fields get the default values.

It is also possible to call set-by-value with a subclass. In this case, the specialized fields in the subclass will be ignored. The overridden fields in the subclass will be populated.

Overrides
PriceImpl.setByValue(Belonging)

Parameters

value
The Belonging to use for initialization.

setDescription(String) Method

public void setDescription(String description)
Set the value of description

Parameters

description
description to be added

value() Method

public Belonging value()
value() is a more typesafe implementation of clone()

Overrides
PriceImpl.value()

Returns

a clone of this instance