Package org.cyclos.entities.banking
Class DRateCreationValueForTransferType
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.BaseEntity
-
- org.cyclos.entities.banking.DRateCreationValueForTransferType
-
- All Implemented Interfaces:
Cloneable,HasNetwork,ProcessableForProxying,IEntity
@Entity public class DRateCreationValueForTransferType extends BaseEntity
This entity stores the history of the dRateCreationValue field of TransferType.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description DRateCreationValueForTransferType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigDecimalgetCreationValue()DategetEndDate()NetworkgetNetwork()Returns the network this entity belongs toDategetStartDate()TransferTypegetTransferType()booleanisActual()Returns true if this is the actual version.voidsetCreationValue(BigDecimal creationValue)voidsetEndDate(Date endDate)voidsetStartDate(Date startDate)voidsetTransferType(TransferType transferType)-
Methods inherited from class org.cyclos.entities.BaseEntity
getDataTranslationType, getVersion
-
Methods inherited from class org.cyclos.entities.NetworkedEntity
isGlobal
-
Methods inherited from class org.cyclos.entities.SimpleEntity
equals, getId, hashCode, id, ids, isPersistent, isTransient, register, setId, toShortString, toString, uniqueIds, uniqueIds
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.entities.ProcessableForProxying
getProxyClass
-
-
-
-
Method Detail
-
getCreationValue
public BigDecimal getCreationValue()
-
getEndDate
public Date getEndDate()
-
getNetwork
public Network getNetwork()
Description copied from interface:HasNetworkReturns the network this entity belongs to- See Also:
HasNetwork.getNetwork()
-
getStartDate
public Date getStartDate()
-
getTransferType
public TransferType getTransferType()
-
isActual
public boolean isActual()
Returns true if this is the actual version. This entity is stored as a history log, so all old versions are kept. Only the actual version has an endDate which is null.
-
setCreationValue
public void setCreationValue(BigDecimal creationValue)
-
setEndDate
public void setEndDate(Date endDate)
-
setStartDate
public void setStartDate(Date startDate)
-
setTransferType
public void setTransferType(TransferType transferType)
-
-