org.zeroexchange.model.mcredit
Class CreditLine
java.lang.Object
org.zeroexchange.model.Persistent
org.zeroexchange.model.IntegerPKPersistent
org.zeroexchange.model.mcredit.CreditLine
- All Implemented Interfaces:
- Serializable, Cloneable, Identifiable<Integer>
@Entity
public class CreditLine
- extends IntegerPKPersistent
- implements Cloneable
User's credit line.
- Author:
- black
- See Also:
- Serialized Form
FIELD_CREDITOR
public static final String FIELD_CREDITOR
- See Also:
- Constant Field Values
FIELD_DEBTOR
public static final String FIELD_DEBTOR
- See Also:
- Constant Field Values
CreditLine
public CreditLine()
getVersion
public Integer getVersion()
setVersion
public void setVersion(Integer version)
getCreditor
public User getCreditor()
setCreditor
public void setCreditor(User creditor)
getDebtor
public User getDebtor()
setDebtor
public void setDebtor(User debtor)
getMaxCreditValue
public BigDecimal getMaxCreditValue()
setMaxCreditValue
public void setMaxCreditValue(BigDecimal maxCreditValue)
getCurrentCredit
public BigDecimal getCurrentCredit()
setCurrentCredit
public void setCurrentCredit(BigDecimal currentCredit)
clone
public Object clone()
throws CloneNotSupportedException
-
- Overrides:
clone
in class Object
- Throws:
CloneNotSupportedException
Copyright © 2013. All Rights Reserved.