Package org.cyclos.impl.utils
Interface RestBeanPropertyMapping
-
public interface RestBeanPropertyMappingProvides a mapping between the regular model properties and properties in REST models
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidregister(Property<?,?> property, String restProperty)Registers a property mapping<B extends Bean>
voidregister(Property<?,? super B> property, Function<B,String> mapper)Registers a property mapping via a function, allowing dynamic handling<B extends Bean>
StringrestProperty(Property<?,? super B> property, B bean)Returns the REST property
-