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 Value
get(String propertyName)
ArrayValue
getArrayVal(String propertyName)
BooleanValue
getBooleanVal(String propertyName)
DoubleValue
getDoubleVal(String propertyName)
IntValue
getIntVal(String propertyName)
LongValue
getLongVal(String propertyName)
NilValue
getNilVal(String propertyName)
ObjectValue
getObjectVal(String propertyName)
Set<String>
getPropertyNames()
StringValue
getStringVal(String propertyName)
boolean
has(String propertyName)
ObjectValue
ignoreExtra()
ObjectValue
ignoreExtra(boolean val)
boolean
isIgnoreExtra()
ObjectValue
put(String propertyName)
ObjectValue
put(String propertyName, boolean propertyValue)
ObjectValue
put(String propertyName, double propertyValue)
ObjectValue
put(String propertyName, int propertyValue)
ObjectValue
put(String propertyName, long propertyValue)
ObjectValue
put(String propertyName, String propertyValue)
ObjectValue
put(String propertyName, Value propertyValue)
ObjectValue
remove(String propertyName)
jakarta.json.JsonObject
toJsonObject()
-
-
-
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)
-
-