<abstract> new Typed(modelManager, ns, type)
Create an instance.
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. |
Methods
-
addArrayValue(propName, value)
-
Adds a value to an array property on this Resource
Parameters:
Name Type Description propName
string the name of the field
value
string the value of the property
-
getFullyQualifiedType()
-
Get the fully-qualified type name of the instance (including namespace).
Returns:
The fully-qualified type name of this object
- Type
- string
-
getNamespace()
-
Get the namespace of the instance.
Returns:
The namespace of this object
- Type
- string
-
getType()
-
Get the type of the instance (a short name, not including namespace).
Returns:
The type of this object
- Type
- string
-
setPropertyValue(propName, value)
-
Sets a property on this Resource
Parameters:
Name Type Description propName
string the name of the field
value
string the value of the property