Class Index | File Index

Classes


Class baja.OrdQueryList


Extends BaseBajaObj.
ORD Query List.

Used to hold a list of OrdQueries.
Defined in: ord.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
 
add(query)
Add an ORD Query to the List
 
get(index)
Return the query object at the specified index.
 
Returns a Cursor for use with the ORD Query List.
<private>  
Does the list contain an unknown ORD scheme?
 
Is the list empty?
<private>  
Normalize the ORD Query List.
 
remove(index)
Remove the entry at the specified index and return it.
 
set(index, query)
Set an ORD query object at the given index.
 
size()
Return the size of the query list.
 
toString(length)
Return String representation of the ORD Query List.
Methods borrowed from class BaseBajaObj:
equals, valueOf
Class Detail
baja.OrdQueryList(queries)
Parameters:
{Array} queries Optional
an array of ORD queries.
See:
OrdQuery
Method Detail
add(query)
Add an ORD Query to the List
Parameters:
query

get(index)
Return the query object at the specified index.
Parameters:
{Number|String} index
or scheme name.
Returns:
query (or null if can't be found).

{OrdQueryListCursor} getCursor()
Returns a Cursor for use with the ORD Query List.
Returns:
{OrdQueryListCursor} the Cursor for the ORD Query List.

<private> {Boolean} hasUnknown()
Does the list contain an unknown ORD scheme?
Returns:
{Boolean}

{Boolean} isEmpty()
Is the list empty?
Returns:
{Boolean}

<private> {baja.OrdQueryList} normalize()
Normalize the ORD Query List.
Returns:
{baja.OrdQueryList} returns itself.

remove(index)
Remove the entry at the specified index and return it.
Parameters:
{Number} index
Returns:
query

set(index, query)
Set an ORD query object at the given index.
Parameters:
{Number} index
query

{Number} size()
Return the size of the query list.
Returns:
{Number} size of the list.

{String} toString(length)
Return String representation of the ORD Query List.
Parameters:
length
Returns:
{String}

Documentation generated by JsDoc Toolkit 2.3.2