@groovy.transform.CompileStatic class GloopObjectObject extends GloopObject<java.lang.Object>
gloop object that accepts any type of given java object
Type | Name and description |
---|---|
java.lang.String |
objectClassName |
Constructor and description |
---|
GloopObjectObject
() |
GloopObjectObject
(java.lang.String name) |
GloopObjectObject
(java.lang.String name, java.lang.Object value) |
GloopObjectObject
(java.lang.String name, java.lang.Object value, java.lang.Class clazz) |
Type Params | Return Type | Name and description |
---|---|---|
|
java.lang.Object |
clone() clone object class name |
|
java.lang.Object |
getFormattedValue(java.lang.String type) makes sure we return strings |
|
java.lang.String |
getGloopDocString(int indent) we add the typeClass to gloop doc if it's not java.lang.Object |
|
java.lang.String |
getType() needs to always be object, otherwise it will return the typeclass simple name and break the json marshaller |
|
java.lang.Class |
getTypeClass() |
|
java.lang.Object |
parseVal(java.lang.Object val) let the converter make sure the given value is allowed and can be converted to typeClass |
|
void |
setObjectClassName(java.lang.String className) |
|
protected void |
setTypeClass(java.lang.Class typeClass) |
clone object class name
makes sure we return strings @return
we add the typeClass to gloop doc if it's not java.lang.Object @return
needs to always be object, otherwise it will return the typeclass simple name and break the json marshaller
let the converter make sure the given value is allowed and can be converted to typeClass @return
Groovy Documentation