Class Operation
- java.lang.Object
-
- io.getlime.security.powerauth.lib.mtoken.model.entity.Operation
-
public class Operation extends Object
Model class representing an operation to be authorized.- Author:
- Petr Dvorak, petr@wultra.com
-
-
Constructor Summary
Constructors Constructor Description Operation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AllowedSignatureTypegetAllowedSignatureType()Get allowed signature type.StringgetData()Get unstructured operation data.FormDatagetFormData()Get operation form data.StringgetId()Get operation ID.StringgetName()Get operation name.DategetOperationCreated()Get timestamp when operation was created.DategetOperationExpires()Get timestamp when operation expires.voidsetAllowedSignatureType(AllowedSignatureType allowedSignatureType)Set allowed signature type.voidsetData(String data)Set unstructured operation data.voidsetFormData(FormData formData)Set operation form data.voidsetId(String id)Set operation ID.voidsetName(String name)Set operation name.voidsetOperationCreated(Date operationCreated)Set timestamp when operation was created.voidsetOperationExpires(Date operationExpires)Set timestamp when operation expires.
-
-
-
Method Detail
-
getId
public String getId()
Get operation ID.- Returns:
- Operation ID.
-
setId
public void setId(String id)
Set operation ID.- Parameters:
id- Operation ID.
-
getName
public String getName()
Get operation name.- Returns:
- Operation name.
-
setName
public void setName(String name)
Set operation name.- Parameters:
name- Operation name.
-
getData
public String getData()
Get unstructured operation data.- Returns:
- Operation data.
-
setData
public void setData(String data)
Set unstructured operation data.- Parameters:
data- Operation data.
-
getOperationCreated
public Date getOperationCreated()
Get timestamp when operation was created.- Returns:
- Timestamp when operation was created.
-
setOperationCreated
public void setOperationCreated(Date operationCreated)
Set timestamp when operation was created.- Parameters:
operationCreated- Timestamp when opereration was created.
-
getOperationExpires
public Date getOperationExpires()
Get timestamp when operation expires.- Returns:
- Timestamp when operation expires.
-
setOperationExpires
public void setOperationExpires(Date operationExpires)
Set timestamp when operation expires.- Parameters:
operationExpires- Timestamp when operation expires.
-
getAllowedSignatureType
public AllowedSignatureType getAllowedSignatureType()
Get allowed signature type.- Returns:
- Allowed signature type.
-
setAllowedSignatureType
public void setAllowedSignatureType(AllowedSignatureType allowedSignatureType)
Set allowed signature type.- Parameters:
allowedSignatureType- Allowed signature type.
-
getFormData
public FormData getFormData()
Get operation form data.- Returns:
- Operation form data.
-
setFormData
public void setFormData(FormData formData)
Set operation form data.- Parameters:
formData- Operation form data.
-
-