public SourceType getTypeWritable() {
   return SourceType.values()[typeWritable.get()];
 }