public class Purse extends Entity
| Modifier and Type | Field and Description |
|---|---|
protected Purse |
accountPurse |
static java.util.concurrent.locks.Lock |
GlobalLock |
log, staticLock, subObjectNamespacesInt, transientPropertyKeys, typelock, name| Constructor and Description |
|---|
Purse() |
Purse(OID objectOid) |
Purse(OID objectOid,
java.lang.String name) |
Purse(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Float |
balance(java.lang.Float balance,
java.lang.String currency) |
java.lang.Float |
balance(java.lang.String currency) |
Purse |
getAccountPurse() |
java.lang.Float |
updateBalance(java.lang.Float delta,
java.lang.String currency) |
addSubObjectNamespace, equals, equals, getLock, getNamespace, getOid, getPersistenceFlag, getProperty, getSubObjectNamespaces, getSubObjectNamespacesInt, getTransientDataRef, getType, hashCode, hasSubObjectNamespace, isDeleted, registerTransientPropertyKey, removeProperty, removeSubObjectNamespace, setDeleted, setNamespace, setOid, setPersistenceFlag, setProperty, setSubObjectNamespaces, setSubObjectNamespacesInt, setType, toBytes, toString, unregisterTransientPropertyKeygetBooleanProperty, getIntProperty, getName, getPropertyMap, getPropertyMapRef, getStringProperty, lock, modifyIntProperty, setName, setPropertyMap, setupTransient, unlockpublic static java.util.concurrent.locks.Lock GlobalLock
protected transient Purse accountPurse
public Purse()
public Purse(java.lang.String name)
public Purse(OID objectOid)
public Purse(OID objectOid, java.lang.String name)
public java.lang.Float balance(java.lang.String currency)
public java.lang.Float balance(java.lang.Float balance,
java.lang.String currency)
public java.lang.Float updateBalance(java.lang.Float delta,
java.lang.String currency)
public Purse getAccountPurse()