Package org.cyclos.entities.banking
Class TransactionAuthorization
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.banking.TransactionAuthorization
-
- All Implemented Interfaces:
Cloneable,HasNetwork,ProcessableForDataTranslation,IEntity
@Entity public class TransactionAuthorization extends NetworkedEntity
Represents an authorization for a given transaction
-
-
Constructor Summary
Constructors Constructor Description TransactionAuthorization()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthorizationActiongetAction()BasicUsergetBy()StringgetComments()DategetDate()AuthorizationLevelgetLevel()IntegergetLevelNumber()NetworkgetNetwork()Returns the network this entity belongs toBasePaymentgetTransaction()TransactionAuthorizationTypegetType()voidsetAction(AuthorizationAction action)voidsetBy(BasicUser by)voidsetComments(String comments)voidsetDate(Date date)voidsetLevel(AuthorizationLevel level)voidsetTransaction(BasePayment transaction)voidsetType(TransactionAuthorizationType type)-
Methods inherited from class org.cyclos.entities.NetworkedEntity
isGlobal
-
Methods inherited from class org.cyclos.entities.SimpleEntity
clone, equals, getId, hashCode, id, ids, isPersistent, isTransient, setId, toShortString, toString, uniqueIds, uniqueIds
-
-
-
-
Method Detail
-
getAction
public AuthorizationAction getAction()
-
getBy
public BasicUser getBy()
-
getComments
public String getComments()
-
getDate
public Date getDate()
-
getLevel
public AuthorizationLevel getLevel()
-
getLevelNumber
public Integer getLevelNumber()
-
getNetwork
public Network getNetwork()
Description copied from interface:HasNetworkReturns the network this entity belongs to
-
getTransaction
public BasePayment getTransaction()
-
getType
public TransactionAuthorizationType getType()
-
setAction
public void setAction(AuthorizationAction action)
-
setBy
public void setBy(BasicUser by)
-
setComments
public void setComments(String comments)
-
setDate
public void setDate(Date date)
-
setLevel
public void setLevel(AuthorizationLevel level)
-
setTransaction
public void setTransaction(BasePayment transaction)
-
setType
public void setType(TransactionAuthorizationType type)
-
-