Package org.luwrain.io.json
Class DesktopItem
- java.lang.Object
-
- org.luwrain.io.json.DesktopItem
-
public class DesktopItem extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static Type
LIST_TYPE
static String
TYPE_UNIREF
-
Constructor Summary
Constructors Constructor Description DesktopItem()
DesktopItem(String type, String value)
DesktopItem(UniRefInfo uniRefInfo)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DesktopItem[]
fromJson(String s)
String
getType()
String
getTypeNotNull()
UniRefInfo
getUniRefInfo(Luwrain luwrain)
String
getValue()
String
getValueNotNull()
void
setType(String type)
void
setValue(String value)
static String
toJson(DesktopItem[] items)
-
-
-
Field Detail
-
TYPE_UNIREF
public static final String TYPE_UNIREF
- See Also:
- Constant Field Values
-
LIST_TYPE
public static final Type LIST_TYPE
-
-
Constructor Detail
-
DesktopItem
public DesktopItem()
-
DesktopItem
public DesktopItem(UniRefInfo uniRefInfo)
-
-
Method Detail
-
getUniRefInfo
public UniRefInfo getUniRefInfo(Luwrain luwrain)
-
getType
public String getType()
-
getTypeNotNull
public String getTypeNotNull()
-
setType
public void setType(String type)
-
getValue
public String getValue()
-
getValueNotNull
public String getValueNotNull()
-
setValue
public void setValue(String value)
-
toJson
public static String toJson(DesktopItem[] items)
-
fromJson
public static DesktopItem[] fromJson(String s)
-
-