Package pro.taskana.task.rest.models
Class TaskRepresentationModel.CustomAttribute
- java.lang.Object
-
- pro.taskana.task.rest.models.TaskRepresentationModel.CustomAttribute
-
- Enclosing class:
- TaskRepresentationModel
public static class TaskRepresentationModel.CustomAttribute extends Object
A CustomAttribute is a user customized attribute which is saved as a Map and can be retreived from eitherTask.getCustomAttributeMap()orTask.getCallbackInfo().
-
-
Constructor Summary
Constructors Constructor Description CustomAttribute()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetKey()StringgetValue()static TaskRepresentationModel.CustomAttributeof(String key, String value)static TaskRepresentationModel.CustomAttributeof(Map.Entry<String,String> entry)voidsetKey(String key)voidsetValue(String value)
-
-
-
Method Detail
-
of
public static TaskRepresentationModel.CustomAttribute of(Map.Entry<String,String> entry)
-
of
public static TaskRepresentationModel.CustomAttribute of(String key, String value)
-
getKey
public String getKey()
-
setKey
public void setKey(String key)
-
getValue
public String getValue()
-
setValue
public void setValue(String value)
-
-