public class JSJavaField extends DefaultScriptObject
EMPTY_ARRAY, UNDEFINED
Constructor and Description |
---|
JSJavaField(Field f,
JSJavaFactory fac) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.Object |
get(java.lang.String name)
Get the value of the named property.
|
java.lang.Object[] |
getIds() |
boolean |
has(java.lang.String name)
Returns whether the named property exists or not.
|
int |
hashCode() |
void |
put(java.lang.String name,
java.lang.Object value)
Set the value of the named property.
|
java.lang.String |
toString() |
public JSJavaField(Field f, JSJavaFactory fac)
public java.lang.Object get(java.lang.String name)
ScriptObject
get
in interface ScriptObject
get
in class DefaultScriptObject
public java.lang.Object[] getIds()
getIds
in interface ScriptObject
getIds
in class DefaultScriptObject
public boolean has(java.lang.String name)
ScriptObject
has
in interface ScriptObject
has
in class DefaultScriptObject
public void put(java.lang.String name, java.lang.Object value)
ScriptObject
put
in interface ScriptObject
put
in class DefaultScriptObject
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.