1 15 package org.apache.hivemind.schema.rules; 16 17 import org.apache.hivemind.Location; 18 import org.apache.hivemind.internal.Module; 19 import org.apache.hivemind.schema.Translator; 20 import org.apache.hivemind.util.IdUtils; 21 22 28 public class IdListTranslator implements Translator 29 { 30 31 public Object translate( 32 Module contributingModule, 33 Class propertyType, 34 String inputValue, 35 Location location) 36 { 37 if (inputValue == null) 38 return null; 39 40 return IdUtils.qualifyList(contributingModule.getModuleId(), inputValue); 41 } 42 43 } 44 | Popular Tags |