code: private void populateField(FieldContainer container, FieldType target, FieldType... types)
     {
        for (FieldType type : types)
        {
           Object value = container.getCachedValue(type);
           if (value != null)
           {
              container.set(target, value);
              break;
           }
        }
     }
docs: Populates a field based on baseline and actual values.
  
  @param container field container
  @param target target field
  @param types fields to test for not-null values