Package com.authlete.common.dto
Class TaggedValue
- java.lang.Object
-
- com.authlete.common.dto.TaggedValue
-
- All Implemented Interfaces:
Serializable
public class TaggedValue extends Object implements Serializable
A string value with a language tag- Author:
- Takahiko Kawasaki
- See Also:
- Language tag, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TaggedValue()The default constructor.TaggedValue(String tag, String value)Constructor with a tag and a value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetTag()Get the tag.StringgetValue()Get the value.TaggedValuesetTag(String tag)Set the tag.TaggedValuesetValue(String value)Set the value.
-
-
-
Method Detail
-
getTag
public String getTag()
Get the tag.- Returns:
- The tag.
-
setTag
public TaggedValue setTag(String tag)
Set the tag.- Parameters:
tag-- Returns:
thisobject.
-
getValue
public String getValue()
Get the value.- Returns:
- The value.
-
setValue
public TaggedValue setValue(String value)
Set the value.- Parameters:
value-- Returns:
thisobject.
-
-