set(entity,FLAG1);

is that what you mean?