new Relationship(modelManager, ns, type, id)
Create an asset. Use the Factory to create instances.
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 Identifiable
Extends
- Identifiable
Methods
-
isRelationship()
-
Determine if this identifiable is a relationship.
Returns:
True if this identifiable is a relationship,
false if not.- Type
- boolean
-
toString()
-
Returns the string representation of this class
Returns:
the string representation of the class
- Type
- String