@Test public void testDoRegisterFields() { provider.doRegisterFields(); Arrays.stream(SUPPORTED_TYPES).forEach(type -> { assertTrue(provider.supports(type)); }); }
@Override protected void doRegisterFields() { registerPropertyType(String.class); registerPropertyType(Integer.class); registerPropertyType(int.class); registerPropertyType(Long.class); registerPropertyType(long.class); registerPropertyType(BigInteger.class); registerPropertyType(Double.class); registerPropertyType(double.class); registerPropertyType(Float.class); registerPropertyType(float.class); registerPropertyType(BigDecimal.class); registerPropertyType(Short.class); registerPropertyType(short.class); registerPropertyType(Byte.class); registerPropertyType(byte.class); registerPropertyType(Character.class); registerPropertyType(char.class); }
ListBoxFieldProvider extends SelectorFieldProvider<ListBoxBaseDefinition> { @Override protected void doRegisterFields() { registerPropertyType(String.class); registerPropertyType(Integer.class); registerPropertyType(int.class); registerPropertyType(Long.class); registerPropertyType(long.class); registerPropertyType(BigInteger.class); registerPropertyType(Double.class); registerPropertyType(double.class); registerPropertyType(Float.class); registerPropertyType(float.class); registerPropertyType(BigDecimal.class); registerPropertyType(Short.class); registerPropertyType(short.class); registerPropertyType(Byte.class); registerPropertyType(byte.class); registerPropertyType(Character.class); registerPropertyType(char.class); } }
ListBoxFieldProvider extends SelectorFieldProvider<ListBoxBaseDefinition> { @Override protected void doRegisterFields() { registerPropertyType(String.class); registerPropertyType(Integer.class); registerPropertyType(int.class); registerPropertyType(Long.class); registerPropertyType(long.class); registerPropertyType(BigInteger.class); registerPropertyType(Double.class); registerPropertyType(double.class); registerPropertyType(Float.class); registerPropertyType(float.class); registerPropertyType(BigDecimal.class); registerPropertyType(Short.class); registerPropertyType(short.class); registerPropertyType(Byte.class); registerPropertyType(byte.class); registerPropertyType(Character.class); registerPropertyType(char.class); }  }
ListBoxFieldProvider extends SelectorFieldProvider<ListBoxBaseDefinition> { @Override protected void doRegisterFields() { registerPropertyType(String.class); registerPropertyType(Integer.class); registerPropertyType(int.class); registerPropertyType(Long.class); registerPropertyType(long.class); registerPropertyType(BigInteger.class); registerPropertyType(Double.class); registerPropertyType(double.class); registerPropertyType(Float.class); registerPropertyType(float.class); registerPropertyType(BigDecimal.class); registerPropertyType(Short.class); registerPropertyType(short.class); registerPropertyType(Byte.class); registerPropertyType(byte.class); registerPropertyType(Character.class); registerPropertyType(char.class); }  @Override Class<ListBoxFieldType> getFieldType(); @Override String getFieldTypeName(); @Override int getPriority(); @Override ListBoxBaseDefinition getDefaultField(); @Override ListBoxBaseDefinition createFieldByType(TypeInfo typeInfo); @Override boolean supports(Class clazz); @Override boolean isSupported(TypeInfo typeInfo); }
ListBoxFieldProvider extends SelectorFieldProvider<ListBoxBaseDefinition> { @Override protected void doRegisterFields() { registerPropertyType(String.class); registerPropertyType(Integer.class); registerPropertyType(int.class); registerPropertyType(Long.class); registerPropertyType(long.class); registerPropertyType(BigInteger.class); registerPropertyType(Double.class); registerPropertyType(double.class); registerPropertyType(Float.class); registerPropertyType(float.class); registerPropertyType(BigDecimal.class); registerPropertyType(Short.class); registerPropertyType(short.class); registerPropertyType(Byte.class); registerPropertyType(byte.class); registerPropertyType(Character.class); registerPropertyType(char.class); }  @Override Class<ListBoxFieldType> getFieldType(); @Override String getFieldTypeName(); @Override int getPriority(); @Override ListBoxBaseDefinition getDefaultField(); @Override ListBoxBaseDefinition createFieldByType(TypeInfo typeInfo); @Override boolean supports(Class clazz); @Override boolean isSupported(TypeInfo typeInfo);  }