public void addProducerType(AttributeType type){
  if (!producerTypes.contains(type)) {
    producerTypes.add(type);
  }
}

public void addProducerType ( AttributeType type ) { if ( ! producerTypes . contains ( type ) ) { producerTypes . add ( type ) ; } }
add a new type of producer .
