Class FormObjects
java.lang.Object
org.openforis.collect.designer.form.FormObjects
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T,F extends FormObject<T>>
FfromObject(T obj, Class<F> formObjectType) static <T,F extends FormObject<T>>
FfromObject(T obj, Class<F> formObjectType, String language) static <T,F extends FormObject<T>>
List<F> fromObjects(List<T> objects, Class<F> formObjectType) static <T,F extends FormObject<T>>
List<F> fromObjects(List<T> objects, Class<F> formObjectType, String language) static <T,F extends FormObject<T>>
List<T> static <T,F extends FormObject<T>>
List<T>
-
Constructor Details
-
FormObjects
public FormObjects()
-
-
Method Details
-
fromObject
-
fromObject
public static <T,F extends FormObject<T>> F fromObject(T obj, Class<F> formObjectType, String language) -
fromObjects
public static <T,F extends FormObject<T>> List<F> fromObjects(List<T> objects, Class<F> formObjectType) -
fromObjects
public static <T,F extends FormObject<T>> List<F> fromObjects(List<T> objects, Class<F> formObjectType, String language) -
toObjects
public static <T,F extends FormObject<T>> List<T> toObjects(List<F> formObjects, Class<T> objectType) -
toObjects
public static <T,F extends FormObject<T>> List<T> toObjects(List<F> formObjects, Class<T> objectType, String language)
-