public class ManufacturedSize
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
mAvailable |
protected java.lang.String |
mSize |
| Constructor and Description |
|---|
ManufacturedSize() |
ManufacturedSize(java.lang.String size,
boolean available) |
| Modifier and Type | Method and Description |
|---|---|
ManufacturedSize |
setAvailable(boolean available) |
ManufacturedSize |
setSize(java.lang.String size)
Set the size code of the manufactured size.
|
org.json.JSONObject |
toJSON()
Converts the instance into a single JSONObject.
|
public ManufacturedSize()
public ManufacturedSize(java.lang.String size,
boolean available)
public ManufacturedSize setSize(java.lang.String size)
size - Size code stringpublic ManufacturedSize setAvailable(boolean available)
public org.json.JSONObject toJSON()
throws org.json.JSONException
org.json.JSONException