|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ITypeSet
A base interface for a set of types. The types can be vehicle types or person types, but never a mixture
| Field Summary |
|---|
| Fields inherited from interface com.azalient.api.a.tables.IRecord |
|---|
DELETED, KEY_SEP, KEY_SEP_CHAR |
| Method Summary | |
|---|---|
void |
add(IType type)
Add the given type to the set |
boolean |
contains(IType type)
Returns true if this TypeSet contains the given type |
int |
count()
Returns a count of the number of types in this typeset |
boolean |
logical()
Returns true if this is a "logical" type set. |
void |
logical(boolean b)
Set this to be a logical set. |
TripMode |
mode()
The trip mode of this type set |
void |
remove(IType type)
Remove the given type from the set |
boolean |
standard()
Returns true if this type set is one of the standard sets that is always create, like "All People" or "All Vehicles". |
IType |
type(int index)
Returns the type at the given index in this set. |
| 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 |
|---|
boolean contains(IType type)
int count()
IType type(int index)
void add(IType type)
void remove(IType type)
TripMode mode()
boolean logical()
void logical(boolean b)
logical()
boolean standard()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||