Overview | Package | Class | Tree | Deprecated | Index | Help
| bea Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## theory.smart.axiom.units
Interface Price

All Known Implementing Classes:
  PriceImpl

public interface Price
extends Belonging

Represents the price of something. It has a value and a currency.

                      value
     [Price] <*>------> [double]

                      currency
     [Price] <*>------> [String]

See Also:
  `PriceHome`, `PriceImpl`

Method Summary
`java.lang.String` | `getCurrency()` Get the value of currency
`double` | `getValue()` Get the value of value
`void` | `setCurrency(java.lang.String currency)` Set the value of currency
`void` | `setValue(double value)` Set the value of value

Methods inherited from interface theory.smart.foundation.Belonging
`equals, value`

Methods inherited from interface com.sun.java.util.collections.Comparable
`compareTo`

Method Detail

### getValue

    public double getValue()

  Get the value of value
  Returns:
    value.

### setValue

    public void setValue(double value)

  Set the value of value
  Parameters:
    `values` - value to be added

### getCurrency

    public java.lang.String getCurrency()

  Get the value of currency
  Returns:
    currency.

### setCurrency

    public void setCurrency(java.lang.String currency)

  Set the value of currency
  Parameters:
    `currencies` - currency to be added

Overview | Package | Class | Tree | Deprecated | Index | Help
| bea Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

© Copyright 2000 bea Systems, Inc. All rights reserved.