gloop object that accepts any type of given java object
Fields inherited from class | Fields |
---|---|
class GloopObject |
DEFAULT_NAMESPACE |
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 = 0 ) 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) |
Methods inherited from class | Name |
---|---|
class GloopObject |
asJson, asJson, asJson, asType, asXml, asXml, asYaml, asYaml, asYaml, call, clone, clone, commentsString, convertValue, each, eachWithIndex, escapeGloopDocParameter, find, fromGloopDoc, fromJson, fromJson, fromJson, fromXml, fromXml, fromXml, fromYaml, fromYaml, fromYaml, getAlias, getAt, getFilename, getFormattedValue, getGloopDocString, getGloopDocType, getNamespaceUri, getPathName, getRawDefaultValue, getRawValue, getType, getTypeClass, getValue, getValue, iconName, isEmpty, isNullValue, iterator, leftShift, marshall, minus, parseVal, plus, putAt, rightShift, setArray, setName, setNamespaceUri, setTypeClass, setValue, size, throwClassCastException, toString, toolTipText, treeString, treeSuffix, validate, validateValue |
clone object class name
makes sure we return strings
we add the typeClass to gloop doc if it's not java.lang.Object
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
Groovy Documentation