Class: Object
Oracle® Fusion Middleware Oracle JavaScript Extension Toolkit (JET)
12c (12.1.4)
E54107-01
Constructor
new Object()
- Source:
Methods
-
<static> compareValues()
-
Compares 2 values using strict equality except for the case of
1) Specific API invocation for Array [order matters], Date, and Object
- Source:
-
<static> copyPropertiesForClass(targetClass, source)
-
Copies properties from the source object to the prototype of the target class
Only properties 'owned' by the source object will be copied, i.e. the properties
from the source object's prototype chain will not be included.
To copy properties from another class with methods defined on the prototype, pass
otherClass.prototype as the source.
Parameters:
Name |
Type |
Description |
targetClass |
Function
|
the function whose prototype will be used a
copy target |
source |
Object
|
object whose properties will be copied |
- Source:
-
<static> createCallback()
-
Creates a function instance that will callback the passed in function
with the given "obj". This is extremely useful for creating callbacks
- Source:
-
<static> createInitializedObject()
-
Convenience function for creating an Object initialized with key values pairs
as alternating parameters. All off the even parameters must be keys
represented as Strings, with the odd parameters, their values.
- Source:
-
<static> createSubclass()
-
Creates a subclass of a baseClass
- Source:
-
<static> ensureClassInitialization(clazz)
-
Ensures that a class is initialized. Although class initialization occurs
by default the first time that an instance of a class is created, classes that
use static factory methods to create their instances may
still need to ensure that their class has been initialized when the factory
method is called.
Parameters:
Name |
Type |
Description |
clazz |
Function
|
The class to ensure initialization of |
- Source:
-
<static> exportPrototypeSymbol(name, valueMapping)
-
Calls to this method are added by the Closure Compiler pass during JET's build process.
It should never be called by the Application code
The method delegates to goog.exportProperty() for exporting a symbol with Closure compiler,
while recoreding a map of the renamed names to an original names and a map of original names to the renamed names
Parameters:
Name |
Type |
Description |
name |
string
|
name of the property ('CCCC.prototype.FFFF' is expected) |
valueMapping |
Object
|
a name-value pair, where tke key is the renamed name (renamed FFFF), and the value is the refernce to the member function
whose name was exported |
- Source:
-
<static> getTypeName(clazz) → {String}
-
Returns the type name for a class derived from oj.Object
Parameters:
Name |
Type |
Description |
clazz |
Function!
|
null
|
Class to get the name of |
- Source:
Returns:
name of the Class
-
Type
-
String
-
adopt()
-
Adopt the properties of another object as our own
- Source:
-
clone()
-
Returns a clone of this object. The default implementation is a shallow
copy. Subclassers can override this method to implement a deep copy.
- Source:
-
equals()
-
Indicates whether some other oj.Object is "equal to" this one.
Method is equivalent to java ".equals()" method.
- Source:
-
getClass()
-
- Source:
-
getTypeName() → {String}
-
Returns the type name for this instance
- Source:
Returns:
name of the Class
-
Type
-
String
-
Init()
-
Initializes the instance. Subclasses of oj.Object must call
their superclass' Init
- Source:
-
toDebugString()
-
- Source:
-
toString()
-
- Source: