Class UserWithBalanceVO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityVO
-
- org.cyclos.model.users.users.BasicUserVO
-
- org.cyclos.model.users.users.UserVO
-
- org.cyclos.model.users.users.UserWithFieldsVO
-
- org.cyclos.model.banking.accounts.UserWithBalanceVO
-
- All Implemented Interfaces:
Serializable,AccountOwner,InternalAccountOwner,IEntity,IUser,IUserWithFieldsVO,HasDisplay
public class UserWithBalanceVO extends UserWithFieldsVO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BasicProperty<BigDecimal,UserWithBalanceVO>BALANCEstatic BasicProperty<BalanceLevel,UserWithBalanceVO>BALANCE_LEVELstatic StringCLASS_NAMEstatic BasicProperty<DateTime,UserWithBalanceVO>NEGATIVE_SINCE-
Fields inherited from class org.cyclos.model.users.users.UserWithFieldsVO
ACCOUNT_NUMBER, ADDRESS, CUSTOM_VALUES, EMAIL, GROUP, GROUP_SET, MAIN_BROKER, NAME, PHONE, USERNAME
-
Fields inherited from class org.cyclos.model.users.users.BasicUserVO
DISPLAY, LOCATOR, SHORT_DISPLAY
-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description UserWithBalanceVO()UserWithBalanceVO(Long id)UserWithBalanceVO(Property<T,? super UserWithBalanceVO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()BigDecimalgetBalance()BalanceLevelgetBalanceLevel()DateTimegetNegativeSince()voidsetBalance(BigDecimal balance)voidsetBalanceLevel(BalanceLevel balanceLevel)voidsetNegativeSince(DateTime negativeSince)-
Methods inherited from class org.cyclos.model.users.users.UserWithFieldsVO
getAccountNumber, getAddress, getCustomValues, getEmail, getGroup, getGroupSet, getMainBroker, getName, getPhone, getUsername, setAccountNumber, setAddress, setCustomValues, setEmail, setGroup, setGroupSet, setMainBroker, setName, setPhone, setUsername
-
Methods inherited from class org.cyclos.model.users.users.UserVO
getImage, getRole, setImage, setRole
-
Methods inherited from class org.cyclos.model.users.users.BasicUserVO
getDisplay, getLocator, getShortDisplay, setDisplay, setLocator, setShortDisplay, toString
-
Methods inherited from class org.cyclos.model.EntityVO
equals, getId, getIds, getUniqueIds
-
Methods inherited from class org.cyclos.model.EntityModel
getId, hashCode, setId
-
Methods inherited from class org.cyclos.model.Bean
addPropertyChangeListener, addPropertyChangeListener, attributeNames, changes, clearAttributes, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, property, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, set, set, setAttribute, setWithPropagationId
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.model.users.users.IUserWithFieldsVO
getDisplay, getShortDisplay, setDisplay, setShortDisplay
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
BALANCE
public static final BasicProperty<BigDecimal,UserWithBalanceVO> BALANCE
-
BALANCE_LEVEL
public static final BasicProperty<BalanceLevel,UserWithBalanceVO> BALANCE_LEVEL
-
NEGATIVE_SINCE
public static final BasicProperty<DateTime,UserWithBalanceVO> NEGATIVE_SINCE
-
-
Constructor Detail
-
UserWithBalanceVO
public UserWithBalanceVO()
-
UserWithBalanceVO
public UserWithBalanceVO(Long id)
-
UserWithBalanceVO
public UserWithBalanceVO(Property<T,? super UserWithBalanceVO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classUserWithFieldsVO
-
getBalance
public BigDecimal getBalance()
-
setBalance
public void setBalance(BigDecimal balance)
-
getBalanceLevel
public BalanceLevel getBalanceLevel()
-
setBalanceLevel
public void setBalanceLevel(BalanceLevel balanceLevel)
-
getNegativeSince
public DateTime getNegativeSince()
-
setNegativeSince
public void setNegativeSince(DateTime negativeSince)
-
className
public String className()
- Overrides:
classNamein classUserWithFieldsVO
-
-