Samples function

Accessor and Replacement Functions for "gendata" Objects