com.azalient.api.b.demand
Interface IPlaceIndex

All Superinterfaces:
IRecord, RecordR, RecordRW, RecordW, SortableData, StoreRecordRW

public interface IPlaceIndex
extends StoreRecordRW

A place index is used to store an index for a place as it is used in a demand source - a matrix or volume. A demand source may not use all places as origins or destinations, so each source has its own index for a place


Field Summary
 
Fields inherited from interface com.azalient.api.a.tables.IRecord
DELETED, KEY_SEP, KEY_SEP_CHAR
 
Method Summary
 int index()
          The index of this place in this source.
 IPlace place()
          The place to which this index applies
 PlaceEnd placeEnd()
          Is this place used for an origin, a destination, or both
 void reIndex(int i)
          This is called to re-index all places used by this source
 ISource source()
          The demand source - matrix or volume
 
Methods inherited from interface com.azalient.api.file.StoreRecordRW
canRename, rename, store
 
Methods inherited from interface com.azalient.api.file.RecordR
extraSet, finished, isApplicable, isEditable, set
 
Methods inherited from interface com.azalient.api.a.tables.IRecord
name
 
Methods inherited from interface com.azalient.api.file.RecordW
extraCols, extraGet, extraGetB, extraGetD, extraGetI, extraGetS, extraGetT, get, isVolatile
 

Method Detail

source

ISource source()
The demand source - matrix or volume


place

IPlace place()
The place to which this index applies


index

int index()
The index of this place in this source. May not be the same as this place's model-wide index.


placeEnd

PlaceEnd placeEnd()
Is this place used for an origin, a destination, or both


reIndex

void reIndex(int i)
This is called to re-index all places used by this source

Internal - Not recommended for use. Public as a side-effect of implementation method