new Resource(modelManager, ns, type, id)
This constructor should not be called directly.
Note: Only to be called by framework code. Applications should
retrieve instances from Factory
Parameters:
Name | Type | Description |
---|---|---|
modelManager |
ModelManager | The ModelManager for this instance |
ns |
string | The namespace this instance. |
type |
string | The type this instance. |
id |
string | The identifier of this instance. |
- Source:
- See:
-
See Resource
Extends
- Identifiable
Methods
-
isResource()
-
Determine if this identifiable is a resource.
Returns:
True if this identifiable is a resource,
false if not.- Type
- boolean
-
toString()
-
Returns the string representation of this class
Returns:
the string representation of the class
- Type
- String