Class baja.OrdScheme
Extends
baja.Singleton.
ORD Scheme.
An ORD is made up of a series of ORD Queries separated by the '|' character.
Each ORD Query has an ORD Scheme name (i.e. 'slot') and a body (i.e. '/Drivers/ModbusNetwork').
Defined in: ord.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
- Fields borrowed from class baja.Object:
- equivalent, getIcon
| Method Attributes | Method Name and Description |
|---|---|
| <static> |
baja.OrdScheme.lookup(schemeName)
Return the ORD Scheme for the given scheme name.
|
|
parse(schemeName, body)
Return an ORD Query for the scheme.
|
|
|
resolve(target, query, cursor, options)
All extended ORD Schemes must implement this method so an ORD can be resolved!
|
Method Detail
<static>
{baja.OrdScheme}
baja.OrdScheme.lookup(schemeName)
Return the ORD Scheme for the given scheme name.
- Parameters:
- schemeName
- Returns:
- {baja.OrdScheme}
{OrdQuery}
parse(schemeName, body)
Return an ORD Query for the scheme.
- Parameters:
- schemeName
- body
- Returns:
- {OrdQuery}
resolve(target, query, cursor, options)
All extended ORD Schemes must implement this method so an ORD can be resolved!
- Parameters:
- {ORDTarget} target
- the current ORD Target
- {Object} query
- the ORD Query used in resolving the ORD
- cursor
- the ORD Query List cursor used for helping to asynchronously resolve the ORD
- {Object} options
- options used for resolving an ORD