com.azalient.api.b.parameters
Interface IMob

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

public interface IMob
extends StoreRecordRW

A Mob is a group of behaviours (MOB = Mix Of Behaviours)


Field Summary
static IMob[] ZERO
          A static zero-length array, created for convenience, and to save memory
 
Fields inherited from interface com.azalient.api.a.tables.IRecord
DELETED, KEY_SEP, KEY_SEP_CHAR
 
Method Summary
 void add(IBehaviour b)
          Add the given behaviour to the mob.
 boolean contains(IBehaviour b)
          Returns true if the given behaviour is included in this mob
 void remove(IBehaviour b)
          Remove the given behaviour from the mob.
 int size()
          Returns the number of behaviours in the mob
 
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
 

Field Detail

ZERO

static final IMob[] ZERO
A static zero-length array, created for convenience, and to save memory

Method Detail

size

int size()
Returns the number of behaviours in the mob


contains

boolean contains(IBehaviour b)
Returns true if the given behaviour is included in this mob


add

void add(IBehaviour b)
Add the given behaviour to the mob.


remove

void remove(IBehaviour b)
Remove the given behaviour from the mob.