Assignments
A collection of assignments.
Instance
Read Only
Number length
The number of objects in the collection.
Methods
Assignment add( File filePath, String versionComments, Boolean forceSave, Object withProperties )
Creates a new assignment.
Parameters
Type Name Description 
Number count()
Displays the number of elements in the Assignment.
Assignment item( Mixed index )
Returns the Assignment with the specified index or name.
Parameters
Type Name Description 
Assignment itemByName( String name )
Returns the Assignment with the specified name.
Parameters
Type Name Description 
Assignment itemByID( Number id )
Returns the Assignment with the specified ID.
Parameters
Type Name Description 
Assignment itemByRange( Mixed from, Mixed to )
Returns the Assignments within the specified range.
Parameters
Type Name Description 
Assignment firstItem()
Returns the first Assignment in the collection.
Assignment lastItem()
Returns the last Assignment in the collection.
Assignment middleItem()
Returns the middle Assignment in the collection.
Assignment previousItem( Assignment obj )
Returns the Assignment with the index previous to the specified index.
Parameters
Type Name Description 
Assignment nextItem( Assignment obj )
Returns the Assignment whose index follows the specified Assignment in the collection.
Parameters
Type Name Description 
Assignment anyItem()
Returns any Assignment in the collection.
Assignment everyItem()
Returns every Assignment in the collection.
String toSource()
Generates a string which, if executed, will return the Assignment.
Assignment []( Number index )
Returns the Assignment with the specified index.
Parameters
Type Name Description