## Uses of Interface
com.holonplatform.core.i18n.Localizable

- Packages that use Localizable
  Package | Description
  --- | ---
  com.holonplatform.core |
  com.holonplatform.core.beans |
  com.holonplatform.core.i18n |
  com.holonplatform.core.property |
  com.holonplatform.core.query |

- - ### Uses of Localizable in com.holonplatform.core

    Classes in com.holonplatform.core that implement Localizable
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `Validator.ValidationException` Exception used to notify validation errors using `Validator.validate(Object)`.
    `static class` | `Validator.ValidationMessage` Validation messages for common validators

    Methods in com.holonplatform.core that return types with arguments of type Localizable
    Modifier and Type | Method and Description
    --- | ---
    `List<Localizable>` | Validator.ValidationException.`getValidationMessages()` Get all the validation error messages carried by this validation exception.

    Methods in com.holonplatform.core with parameters of type Localizable
    Modifier and Type | Method and Description
    --- | ---
    `static <T> Validator<T>` | Validator.`create(Predicate<T> predicate, Localizable message)` Create a `Validator` which uses given `Predicate` to perform value validation and the given localizable `message` as invalid value message when the predicate condition is not satisfied.
    `static <T extends Number> Validator<T>` | Validator.`digits(int integral, int fractional, Localizable message)` Build a validator that checks that given `Number` value is a number within accepted range, using given `Localizable` message as validation error message.
    `static <T extends CharSequence> Validator<T>` | Validator.`email(Localizable message)` Build a validator that checks that the value is a valid e-mail address using RFC822 format rules, and uses given `Localizable` message as validation error message.
    `static <T extends Date> Validator<T>` | Validator.`future(boolean includeTime, Localizable message)` Build a validator that checks that given `Date` value is in the future, using given `Localizable` message as validation error message.
    `static <T extends Comparable<T>> Validator<T>` | Validator.`greaterOrEqual(T compareTo, Localizable message)` Build a validator that checks that a value is greater than or equal to given `compareTo` value, and uses given `Localizable` message as validation error message.
    `static <T extends Comparable<T>> Validator<T>` | Validator.`greaterThan(T compareTo, Localizable message)` Build a validator that checks that a value is greater than given `compareTo` value, and uses given `Localizable` message as validation error message.
    `static <T> Validator<T>` | Validator.`in(Localizable message, T... values)` Build a validator that checks that given value is not `null` and equals to one of the given values, using given `Localizable` message as validation error.
    `static <T> Validator<T>` | Validator.`isNull(Localizable message)` Build a validator that checks that given value is `null` and uses given `Localizable` `message` as validation error message.
    `static <T extends Comparable<T>> Validator<T>` | Validator.`lessOrEqual(T compareTo, Localizable message)` Build a validator that checks that a value is less than or equal to given `compareTo` value, and uses given `Localizable` message as validation error message.
    `static <T extends Comparable<T>> Validator<T>` | Validator.`lessThan(T compareTo, Localizable message)` Build a validator that checks that a value is less than given `compareTo` value, and uses given `Localizable` message as validation error message.
    `static <T> Validator<T>` | Validator.`max(double max, Localizable message)` Build a validator that checks that given value is lower than or equal to `max` value, and uses given `Localizable` `message` as validation error message.
    `static <T> Validator<T>` | Validator.`min(double min, Localizable message)` Build a validator that checks that given value is greater than or equal to `min` value, and uses given `Localizable` `message` as validation error message.
    `static <T extends CharSequence> Validator<T>` | Validator.`notBlank(Localizable message)` Build a validator that checks that given value is not `null` nor empty, trimming spaces, and uses given `Localizable` `message` as validation error message.
    `static <T> Validator<T>` | Validator.`notEmpty(Localizable message)` Build a validator that checks that given value is not `null` nor empty, and uses given `Localizable` `message` as validation error message.
    `static <T> Validator<T>` | Validator.`notIn(Localizable message, T... values)` Build a validator that checks that given value not equals to any of the given values, using given `Localizable` message as validation error.
    `static <T extends Number> Validator<T>` | Validator.`notNegative(Localizable message)` Build a validator that checks that given `Number` value is not negative, using given `Localizable` message as validation error message.
    `static <T> Validator<T>` | Validator.`notNull(Localizable message)` Build a validator that checks that given value is not `null` and uses given `Localizable` `message` as validation error message.
    `static <T extends Date> Validator<T>` | Validator.`past(boolean includeTime, Localizable message)` Build a validator that checks that given `Date` value is in the past, using given `Localizable` message as validation error message.
    `static <T extends CharSequence> Validator<T>` | Validator.`pattern(String regex, Localizable message, Validator.PatternFlag... flags)` Build a validator that checks that given value matches a regular expression, and uses given `Localizable` `message` as validation error message.

    Constructors in com.holonplatform.core with parameters of type Localizable
    Constructor and Description
    `ValidationException(Localizable message)` Constructor with `Localizable` message

  - ### Uses of Localizable in com.holonplatform.core.beans

    Subinterfaces of Localizable in com.holonplatform.core.beans
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `BeanProperty<T>` Represents a Java Bean property as a `PathProperty`, providing additional configuration informations and methods.
    `static interface` | `BeanProperty.Builder<T>` BeanProperty builder.

  - ### Uses of Localizable in com.holonplatform.core.i18n

    Methods in com.holonplatform.core.i18n that return Localizable
    Modifier and Type | Method and Description
    --- | ---
    `Localizable` | Localizable.LocalizableBuilder.`build()` Build the Localizable

    Methods in com.holonplatform.core.i18n that return types with arguments of type Localizable
    Modifier and Type | Method and Description
    --- | ---
    `Optional<Localizable>` | LocalizationContext.`getDefaultBooleanLocalization(boolean value)` Gets the default `Localizable` message to use to localize a boolean value

    Methods in com.holonplatform.core.i18n with parameters of type Localizable
    Modifier and Type | Method and Description
    --- | ---
    `default String` | LocalizationContext.`getMessage(Localizable localizable)` Get the localized message for given `Localizable`.
    `String` | LocalizationContext.`getMessage(Localizable localizable, boolean lenient)` Get a possibly localized message if the `LocalizationContext` is localized.
    `void` | LocalizationContext.`setDefaultBooleanLocalization(boolean value, Localizable message)` Sets the default `Localizable` message to use to localize a boolean value
    `static String` | LocalizationContext.`translate(Localizable localizable)` Try to translate given `localizable` using the `LocalizationContext` available as `Context` resource through `LocalizationContext.getCurrent()`.
    `static String` | LocalizationContext.`translate(Localizable localizable, boolean lenient)` Try to translate given `localizable` using the `LocalizationContext` available as `Context` resource through `LocalizationContext.getCurrent()`.
    `LocalizationContext.Builder` | LocalizationContext.Builder.`withDefaultBooleanLocalization(boolean value, Localizable message)` Sets the default `Localizable` message to use to localize a boolean value

  - ### Uses of Localizable in com.holonplatform.core.property

    Subinterfaces of Localizable in com.holonplatform.core.property
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `PathProperty<T>` A `Property` bound to a `Path`, using `Path.getName()` as property name.
    `static interface` | `PathProperty.PathPropertyBuilder<T>` `PathProperty` builder.
    `interface` | `Property<T>` Property is the base interface to represent a generic data attribute.
    `interface` | `VirtualProperty<T>` A virtual `Property` which relies on a `PropertyValueProvider` to provide its value, and it is not directly connected with a data model attribute.
    `static interface` | `VirtualProperty.Builder<T,B extends VirtualProperty.Builder<T,B>>` Base interface for `VirtualProperty` building.

    Methods in com.holonplatform.core.property with parameters of type Localizable
    Modifier and Type | Method and Description
    --- | ---
    `B` | Property.Builder.`localization(Localizable localizable)` Set the property localization using given `Localizable` definition.

  - ### Uses of Localizable in com.holonplatform.core.query

    Subinterfaces of Localizable in com.holonplatform.core.query
    Modifier and Type | Interface and Description
    --- | ---
    `static interface` | `FunctionExpression.FunctionExpressionProperty<T>` A `FunctionExpression` implemented as a `Property`.
    `static interface` | `FunctionExpression.PathFunctionExpressionProperty<P,T>` A `FunctionExpression.PathFunctionExpression` implemented as a `VirtualProperty`.

Copyright © 2017 The Holon Platform. All rights reserved.