Class Attribute
- java.lang.Object
-
- io.getlime.security.powerauth.lib.mtoken.model.entity.attributes.Attribute
-
- Direct Known Subclasses:
AmountAttribute,HeadingAttribute,KeyValueAttribute,NoteAttribute,PartyAttribute
public class Attribute extends Object
Base class for generic attribute of mobile token form data.- Author:
- Petr Dvorak, petr@wultra.com
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAttribute.TypeAttribute type.
-
Constructor Summary
Constructors Constructor Description Attribute()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId()Get attribute ID.StringgetLabel()Get attribute label.Attribute.TypegetType()Get attribute type.voidsetId(String id)Set attribute ID.voidsetLabel(String label)Set attribute label.voidsetType(Attribute.Type type)Set attribute type.
-
-
-
Field Detail
-
type
protected Attribute.Type type
-
id
protected String id
-
label
protected String label
-
-
Method Detail
-
getType
public Attribute.Type getType()
Get attribute type.- Returns:
- Attribute type.
-
setType
public void setType(Attribute.Type type)
Set attribute type.- Parameters:
type- Attribute type.
-
getId
public String getId()
Get attribute ID.- Returns:
- Attribute ID.
-
setId
public void setId(String id)
Set attribute ID.- Parameters:
id- Attribute ID.
-
getLabel
public String getLabel()
Get attribute label.- Returns:
- Attribute label.
-
setLabel
public void setLabel(String label)
Set attribute label.- Parameters:
label- Attribute label.
-
-