Package org.alfresco.repo.forms.script
Class ScriptFieldDefinition
java.lang.Object
org.mozilla.javascript.ScriptableObject
org.alfresco.repo.forms.script.ScriptFieldDefinition
- All Implemented Interfaces:
Serializable,org.mozilla.javascript.ConstProperties,org.mozilla.javascript.debug.DebuggableObject,org.mozilla.javascript.Scriptable,org.mozilla.javascript.SymbolScriptable
public class ScriptFieldDefinition
extends org.mozilla.javascript.ScriptableObject
FieldDefinition JavaScript Object. This object acts as a wrapper for the Java object
FieldDefinition and all of its subclasses also.- Author:
- Neil McErlean
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.mozilla.javascript.ScriptableObject
org.mozilla.javascript.ScriptableObject.KeyComparator -
Field Summary
Fields inherited from class org.mozilla.javascript.ScriptableObject
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONSTFields inherited from interface org.mozilla.javascript.Scriptable
NOT_FOUND -
Method Summary
Methods inherited from class org.mozilla.javascript.ScriptableObject
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, ensureSymbolScriptable, equivalentValues, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGeneratorFunctionPrototype, getGetterOrSetter, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasInstance, hasProperty, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, put, putConst, putConstProperty, putProperty, putProperty, putProperty, querySlot, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setAttributes, setCommonDescriptorProperties, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, size
-
Method Details
-
get
This method retrieves a named property value in the normal (Mozilla JS) way. If the named property is not found, an attempt is made to discover a Java accessor method appropriate to the named property e.g. getFoo() or isFoo() for a property named 'foo'. If such an accessor method is found, it is invoked and the value is returned. (If there are both a getFoo() and an isFoo() method, then the getFoo() method is invoked.)- Specified by:
getin interfaceorg.mozilla.javascript.Scriptable- Overrides:
getin classorg.mozilla.javascript.ScriptableObject- Parameters:
name- the named propertystart- the object in which the lookup began- Returns:
- the property value if found, else NOT_FOUND.
- See Also:
-
Scriptable.get(String, Scriptable)
-
getClassName
- Specified by:
getClassNamein interfaceorg.mozilla.javascript.Scriptable- Specified by:
getClassNamein classorg.mozilla.javascript.ScriptableObject- See Also:
-
Scriptable.getClassName()
-
has
- Specified by:
hasin interfaceorg.mozilla.javascript.Scriptable- Overrides:
hasin classorg.mozilla.javascript.ScriptableObject- See Also:
-
Scriptable.has(String, Scriptable)
-