Package org.glassfish.admin.rest.testing
Class ObjectValue
- java.lang.Object
-
- org.glassfish.admin.rest.testing.Value
-
- org.glassfish.admin.rest.testing.ObjectValue
-
public class ObjectValue extends Value
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Valueget(String propertyName)ArrayValuegetArrayVal(String propertyName)BooleanValuegetBooleanVal(String propertyName)DoubleValuegetDoubleVal(String propertyName)IntValuegetIntVal(String propertyName)LongValuegetLongVal(String propertyName)NilValuegetNilVal(String propertyName)ObjectValuegetObjectVal(String propertyName)Set<String>getPropertyNames()StringValuegetStringVal(String propertyName)booleanhas(String propertyName)ObjectValueignoreExtra()ObjectValueignoreExtra(boolean val)booleanisIgnoreExtra()ObjectValueput(String propertyName)ObjectValueput(String propertyName, boolean propertyValue)ObjectValueput(String propertyName, double propertyValue)ObjectValueput(String propertyName, int propertyValue)ObjectValueput(String propertyName, long propertyValue)ObjectValueput(String propertyName, String propertyValue)ObjectValueput(String propertyName, Value propertyValue)ObjectValueremove(String propertyName)org.codehaus.jettison.json.JSONObjecttoJSONObject()
-
-
-
Method Detail
-
isIgnoreExtra
public boolean isIgnoreExtra()
-
ignoreExtra
public ObjectValue ignoreExtra(boolean val)
-
ignoreExtra
public ObjectValue ignoreExtra()
-
put
public ObjectValue put(String propertyName, Value propertyValue)
-
put
public ObjectValue put(String propertyName, String propertyValue)
-
put
public ObjectValue put(String propertyName, long propertyValue)
-
put
public ObjectValue put(String propertyName, int propertyValue)
-
put
public ObjectValue put(String propertyName, double propertyValue)
-
put
public ObjectValue put(String propertyName, boolean propertyValue)
-
put
public ObjectValue put(String propertyName)
-
remove
public ObjectValue remove(String propertyName)
-
has
public boolean has(String propertyName)
-
getObjectVal
public ObjectValue getObjectVal(String propertyName)
-
getArrayVal
public ArrayValue getArrayVal(String propertyName)
-
getStringVal
public StringValue getStringVal(String propertyName)
-
getDoubleVal
public DoubleValue getDoubleVal(String propertyName)
-
getBooleanVal
public BooleanValue getBooleanVal(String propertyName)
-
-