Package org.cyclos.entities.banking
Class TransferStatus
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.BaseEntity
-
- org.cyclos.entities.NamedEntity
-
- org.cyclos.entities.ConfigurationEntity
-
- org.cyclos.entities.banking.TransferStatus
-
- All Implemented Interfaces:
Cloneable,Comparable<NamedEntity>,ProcessableForDataTranslation,IEntity,IInternalNamedEntity,INamedEntity
@Entity public class TransferStatus extends ConfigurationEntity
Mostly a conciliation status for a given transfer, but could be used more generally. The status define a workflow, each status having a list of the possible new statuses.
-
-
Constructor Summary
Constructors Constructor Description TransferStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataTranslationTypegetDataTranslationType()If this entity allows data translation, should return the translation typeTransferStatusFlowgetFlow()NetworkgetNetwork()Returns the network this entity belongs toSet<TransferStatus>getPossibleNext()voidsetFlow(TransferStatusFlow flow)voidsetPossibleNext(Set<TransferStatus> possibleNext)-
Methods inherited from class org.cyclos.entities.ConfigurationEntity
getDescription, getInternalName, setDescription, setInternalName, toShortString, toString
-
Methods inherited from class org.cyclos.entities.NamedEntity
compareTo, getName, getNames, setName
-
Methods inherited from class org.cyclos.entities.BaseEntity
getVersion
-
Methods inherited from class org.cyclos.entities.NetworkedEntity
isGlobal
-
Methods inherited from class org.cyclos.entities.SimpleEntity
clone, equals, getId, getId, getIds, getUniqueIds, getUniqueIds, hashCode, isPersistent, isTransient
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.model.IInternalNamedEntity
matches
-
-
-
-
Method Detail
-
getDataTranslationType
public DataTranslationType getDataTranslationType()
Description copied from class:BaseEntityIf this entity allows data translation, should return the translation type- Overrides:
getDataTranslationTypein classBaseEntity- Returns:
-
getFlow
public TransferStatusFlow getFlow()
-
getNetwork
public Network getNetwork()
Description copied from class:NetworkedEntityReturns the network this entity belongs to- Specified by:
getNetworkin classNetworkedEntity
-
getPossibleNext
public Set<TransferStatus> getPossibleNext()
-
setFlow
public void setFlow(TransferStatusFlow flow)
-
setPossibleNext
public void setPossibleNext(Set<TransferStatus> possibleNext)
-
-