@Entity
public abstract class RateParameters
extends org.cyclos.entities.BaseEntity
| Modifier and Type | Field and Description |
|---|---|
protected java.math.BigDecimal |
creationValue
For most rate types the creation value is zero by definition, and it cannot be changed.
|
| Constructor and Description |
|---|
RateParameters() |
| Modifier and Type | Method and Description |
|---|---|
java.math.BigDecimal |
getCreationValue() |
Currency |
getCurrency() |
java.util.Date |
getEndDate() |
Network |
getNetwork() |
java.util.Date |
getStartDate() |
boolean |
isActual()
Returns if this RateParameters is the actual version.
|
boolean |
isMarkedForResetting()
reads the markedForResetting flag.
If a rate is disabled, all accounts must be reset, that is: all rates connected to accounts must be set to null. |
boolean |
isShowToUser() |
void |
setCurrency(Currency currency) |
void |
setEndDate(java.util.Date endDate) |
void |
setMarkedForResetting(boolean markedForResetting)
|
void |
setShowToUser(boolean showToUser) |
void |
setStartDate(java.util.Date startDate) |
getDataTranslationType, getVersion, isGlobal, isPersistent, isTransientprotected java.math.BigDecimal creationValue
public java.math.BigDecimal getCreationValue()
public Currency getCurrency()
public java.util.Date getEndDate()
public Network getNetwork()
getNetwork in class org.cyclos.entities.BaseEntityBaseEntity.getNetwork()public java.util.Date getStartDate()
public boolean isActual()
public boolean isMarkedForResetting()
public boolean isShowToUser()
public void setCurrency(Currency currency)
public void setEndDate(java.util.Date endDate)
public void setMarkedForResetting(boolean markedForResetting)
markedForResetting - public void setShowToUser(boolean showToUser)
public void setStartDate(java.util.Date startDate)