Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractComposedIdentity - Class in dev.orne.beans
-
Abstract implementation for
Identity
for identities composed of a multiple inner values. - AbstractComposedIdentity() - Constructor for class dev.orne.beans.AbstractComposedIdentity
-
Creates a new instance.
- AbstractDateTimeConverter - Class in dev.orne.beans.converters
-
Implementation of
Converter
that convertsLocalDate
instances to and fromString
using ISO-8601 asString
representation by default. - AbstractDateTimeConverter(DateTimeFormatter) - Constructor for class dev.orne.beans.converters.AbstractDateTimeConverter
-
Creates a new instance that throws a
ConversionException
if an error occurs. - AbstractDateTimeConverter(DateTimeFormatter, TemporalAccessor) - Constructor for class dev.orne.beans.converters.AbstractDateTimeConverter
-
Creates a new instance that returns a default value if an error occurs.
- AbstractIdentity - Class in dev.orne.beans
-
Base abstract implementation for
Identity
. - AbstractIdentity() - Constructor for class dev.orne.beans.AbstractIdentity
-
Creates a new instance.
- AbstractSimpleIdentity<T extends Serializable> - Class in dev.orne.beans
-
Abstract implementation for
Identity
for identities composed of a single inner value. - AbstractSimpleIdentity(AbstractSimpleIdentity<T>) - Constructor for class dev.orne.beans.AbstractSimpleIdentity
-
Copy constructor.
- AbstractSimpleIdentity(T) - Constructor for class dev.orne.beans.AbstractSimpleIdentity
-
Creates a new instance.
- addDirectAnnotation(Class<?>, Set<T>) - Method in class dev.orne.beans.BeanAnnotationFinder
-
Finds direct type level annotations of the supported annotation type in the specified type.
- addDirectAnnotationsList(Class<?>, Set<T>) - Method in class dev.orne.beans.BeanAnnotationFinder
-
Finds direct type level annotations of the supported annotation list type in the specified type, if configured.
- addInterfacesAnnotations(Class<?>, Set<T>, Set<Class<?>>) - Method in class dev.orne.beans.BeanAnnotationFinder
-
Finds type level annotations of the supported annotation type in the interfaces implemented by the specified type, if any.
- addParsers(DateTimeFormatter...) - Method in class dev.orne.beans.converters.AbstractDateTimeConverter
-
Adds specified parsers to the temporal value parsers.
- addParsers(Collection<DateTimeFormatter>) - Method in class dev.orne.beans.converters.AbstractDateTimeConverter
-
Adds specified parsers to the temporal value parsers.
- addSuperclassAnnotations(Class<?>, Set<T>, Set<Class<?>>) - Method in class dev.orne.beans.BeanAnnotationFinder
-
Finds type level annotations of the supported annotation type in the super class of the specified type, if any.
B
- BaseIdentityBean - Class in dev.orne.beans
-
Base implementation of
IdentityBean
. - BaseIdentityBean() - Constructor for class dev.orne.beans.BaseIdentityBean
-
Empty constructor.
- BaseIdentityBean(BaseIdentityBean) - Constructor for class dev.orne.beans.BaseIdentityBean
-
Copy constructor.
- BaseIdentityBeanGenerator - Class in dev.orne.beans.rnd
-
Generator of
IdentityBean
,WritableIdentityBean
andBaseIdentityBean
values. - BaseIdentityBeanGenerator() - Constructor for class dev.orne.beans.rnd.BaseIdentityBeanGenerator
-
Creates a new instance.
- BeanAnnotationFinder<T extends Annotation,
L extends Annotation> - Class in dev.orne.beans -
Type level annotation finder.
- BeanAnnotationFinder(Class<T>) - Constructor for class dev.orne.beans.BeanAnnotationFinder
-
Creates a new instance.
- BeanAnnotationFinder(Class<T>, Class<L>, BeanAnnotationFinder.AnnotationListExtractor<L, T>) - Constructor for class dev.orne.beans.BeanAnnotationFinder
-
Creates a new instance.
- BeanAnnotationFinder.AnnotationListExtractor<L extends Annotation,
T extends Annotation> - Interface in dev.orne.beans -
Functional interface for extractor of individual annotations from annotation list annotations.
- BeanAnnotationFinder.Cache - Interface in dev.orne.beans
-
Interface for type level annotations cache.
- BeanAnnotationFinder.CacheEntryKey<T extends Annotation> - Class in dev.orne.beans
-
Class level annotations cache entry.
- BeanAnnotationFinder.WeakHashMapCache - Class in dev.orne.beans
-
Implementation of
Cache
based onWeakHashMap
. - BeanReference - Annotation Type in dev.orne.beans
-
Defines a valid bean reference.
- BeanReference.List - Annotation Type in dev.orne.beans
-
Defines multiple valid bean references.
- BeanValidationUtils - Class in dev.orne.beans
-
Utility class for bean validations.
- BigIntegerIdentity - Class in dev.orne.beans
-
Implementation for
Identity
for identities composed of a single innerBigInteger
value. - BigIntegerIdentity(BigIntegerIdentity) - Constructor for class dev.orne.beans.BigIntegerIdentity
-
Copy constructor.
- BigIntegerIdentity(BigInteger) - Constructor for class dev.orne.beans.BigIntegerIdentity
-
Creates a new instance.
- BODY - Static variable in class dev.orne.beans.IdentityTokenFormatter
-
Regular expression for valid identity token bodies.
- BY_FULL_TEXT_PARSER - Static variable in class dev.orne.beans.converters.DayOfWeekConverter
-
The day of week by full text parser, for default locale.
- BY_FULL_TEXT_PARSER - Static variable in class dev.orne.beans.converters.MonthConverter
-
The month by full text parser, for default locale.
- BY_FULL_TEXT_PARSER - Static variable in class dev.orne.beans.converters.MonthDayConverter
-
The month-day by full text parser, for default locale.
- BY_FULL_TEXT_PARSER - Static variable in class dev.orne.beans.converters.YearMonthConverter
-
The month-day by full text parser, for default locale.
- BY_ID_PARSER - Static variable in class dev.orne.beans.converters.ZoneOffsetConverter
-
The zone offset by id parser.
- BY_NARROW_TEXT_PARSER - Static variable in class dev.orne.beans.converters.DayOfWeekConverter
-
The day of week by short text parser, for default locale.
- BY_NARROW_TEXT_PARSER - Static variable in class dev.orne.beans.converters.MonthConverter
-
The month by short text parser, for default locale.
- BY_NARROW_TEXT_PARSER - Static variable in class dev.orne.beans.converters.MonthDayConverter
-
The month-day by short text parser, for default locale.
- BY_NARROW_TEXT_PARSER - Static variable in class dev.orne.beans.converters.YearMonthConverter
-
The month-day by short text parser, for default locale.
- BY_SHORT_TEXT_PARSER - Static variable in class dev.orne.beans.converters.DayOfWeekConverter
-
The day of week by short text parser, for default locale.
- BY_SHORT_TEXT_PARSER - Static variable in class dev.orne.beans.converters.MonthConverter
-
The month by short text parser, for default locale.
- BY_SHORT_TEXT_PARSER - Static variable in class dev.orne.beans.converters.MonthDayConverter
-
The month-day by short text parser, for default locale.
- BY_SHORT_TEXT_PARSER - Static variable in class dev.orne.beans.converters.YearMonthConverter
-
The month-day by short text parser, for default locale.
- BY_VALUE_PARSER - Static variable in class dev.orne.beans.converters.DayOfWeekConverter
-
The day of week by value parser.
- BY_VALUE_PARSER - Static variable in class dev.orne.beans.converters.MonthConverter
-
The month by value parser.
- BY_VALUE_PARSER - Static variable in class dev.orne.beans.converters.YearConverter
-
The year by value parser.
C
- CacheEntryKey(Class<?>, Class<T>) - Constructor for class dev.orne.beans.BeanAnnotationFinder.CacheEntryKey
-
Creates a new instance.
- checkForRepeatedName(Map<String, Class<?>>, String, Class<?>) - Method in class dev.orne.beans.JacksonSpiTypeIdResolver
-
Checks the known sub-types for repeated IDs for different sub-type.
- contains(BeanAnnotationFinder.CacheEntryKey<?>) - Method in interface dev.orne.beans.BeanAnnotationFinder.Cache
-
Returns
true
if this instance contains an entry for the specified key. - contains(BeanAnnotationFinder.CacheEntryKey<?>) - Method in class dev.orne.beans.BeanAnnotationFinder.WeakHashMapCache
-
Returns
true
if this instance contains an entry for the specified key. - contains(Class<? extends Identity>) - Method in interface dev.orne.beans.IdentityResolver.Cache
-
Returns
true
if this instance contains an entry for the specified identity type. - contains(Class<? extends Identity>) - Method in class dev.orne.beans.IdentityResolver.WeakHashMapCache
-
Returns
true
if this instance contains an entry for the specified identity type. - convertIdentity(Object) - Method in class dev.orne.beans.converters.IdentityBeanConverter
-
Converts the value to a
Identity
instance. - convertToString(Object) - Method in class dev.orne.beans.converters.AbstractDateTimeConverter
- convertToString(Object) - Method in class dev.orne.beans.converters.DateConverter
- convertToString(Object) - Method in class dev.orne.beans.converters.DayOfWeekConverter
- convertToString(Object) - Method in class dev.orne.beans.converters.DurationConverter
- convertToString(Object) - Method in class dev.orne.beans.converters.EnumConverter
- convertToString(Object) - Method in class dev.orne.beans.converters.EnumTypedConverter
- convertToString(Object) - Method in class dev.orne.beans.converters.GregorianCalendarConverter
- convertToString(Object) - Method in class dev.orne.beans.converters.IdentityBeanConverter
- convertToString(Object) - Method in class dev.orne.beans.converters.IdentityConverter
- convertToString(Object) - Method in class dev.orne.beans.converters.LocaleConverter
- convertToString(Object) - Method in class dev.orne.beans.converters.MonthConverter
- convertToString(Object) - Method in class dev.orne.beans.converters.PeriodConverter
- convertToString(Object) - Method in class dev.orne.beans.converters.UriConverter
- convertToType(Class<T>, Object) - Method in class dev.orne.beans.converters.AbstractDateTimeConverter
- convertToType(Class<T>, Object) - Method in class dev.orne.beans.converters.DateConverter
- convertToType(Class<T>, Object) - Method in class dev.orne.beans.converters.DayOfWeekConverter
- convertToType(Class<T>, Object) - Method in class dev.orne.beans.converters.DurationConverter
- convertToType(Class<T>, Object) - Method in class dev.orne.beans.converters.EnumConverter
- convertToType(Class<T>, Object) - Method in class dev.orne.beans.converters.EnumTypedConverter
- convertToType(Class<T>, Object) - Method in class dev.orne.beans.converters.GregorianCalendarConverter
- convertToType(Class<T>, Object) - Method in class dev.orne.beans.converters.IdentityBeanConverter
- convertToType(Class<T>, Object) - Method in class dev.orne.beans.converters.IdentityConverter
- convertToType(Class<T>, Object) - Method in class dev.orne.beans.converters.LocaleConverter
- convertToType(Class<T>, Object) - Method in class dev.orne.beans.converters.MonthConverter
- convertToType(Class<T>, Object) - Method in class dev.orne.beans.converters.PeriodConverter
- convertToType(Class<T>, Object) - Method in class dev.orne.beans.converters.UriConverter
- convertToType(Class<T>, Object) - Method in class dev.orne.beans.converters.YearConverter
- createInstance(Class<T>, Object) - Method in class dev.orne.beans.converters.IdentityBeanConverter
-
Tries to create a new instance of the target type.
D
- DateConverter - Class in dev.orne.beans.converters
-
Implementation of
Converter
that convertsDate
instances to and fromString
using delegating in a instance ofInstantConverter
. - DateConverter() - Constructor for class dev.orne.beans.converters.DateConverter
-
Creates a new instance that throws a
ConversionException
if an error occurs. - DateConverter(Converter) - Constructor for class dev.orne.beans.converters.DateConverter
-
Creates a new instance that throws a
ConversionException
if an error occurs. - DateConverter(Converter, Date) - Constructor for class dev.orne.beans.converters.DateConverter
-
Creates a new instance that returns a default value if an error occurs.
- DateConverter(Date) - Constructor for class dev.orne.beans.converters.DateConverter
-
Creates a new instance that returns a default value if an error occurs.
- DayOfWeekConverter - Class in dev.orne.beans.converters
-
Implementation of
Converter
that convertsDayOfWeek
instances to and fromString
constant name asString
representation. - DayOfWeekConverter() - Constructor for class dev.orne.beans.converters.DayOfWeekConverter
-
Creates a new instance that throws a
ConversionException
if an error occurs. - DayOfWeekConverter(DateTimeFormatter) - Constructor for class dev.orne.beans.converters.DayOfWeekConverter
-
Creates a new instance that throws a
ConversionException
if an error occurs. - DayOfWeekConverter(DateTimeFormatter, DayOfWeek) - Constructor for class dev.orne.beans.converters.DayOfWeekConverter
-
Creates a new instance that returns a default value if an error occurs.
- DayOfWeekConverter(DayOfWeek) - Constructor for class dev.orne.beans.converters.DayOfWeekConverter
-
Creates a new instance that returns a default value if an error occurs.
- decodeBody(String) - Static method in class dev.orne.beans.IdentityTokenFormatter
-
Decodes the specified valid identity token body to the original identity token body.
- DEFAULT_NULL_PLACEHOLDER - Static variable in class dev.orne.beans.AbstractComposedIdentity
-
The default placeholder for null identity token parts.
- DEFAULT_PREFIX - Static variable in class dev.orne.beans.IdentityTokenFormatter
-
Default identity token prefix.
- DEFAULT_SEPARATOR - Static variable in class dev.orne.beans.AbstractComposedIdentity
-
Default identity token body parts separator.
- defaultTypeId(Class<?>) - Static method in class dev.orne.beans.JacksonSpiTypeIdResolver
-
If no name was explicitly given for a class, we will just use non-qualified class name
- defaultTypeId(String) - Static method in class dev.orne.beans.JacksonSpiTypeIdResolver
-
If no name was explicitly given for a class, we will just use non-qualified class name
- defaultValue() - Method in class dev.orne.beans.rnd.BaseIdentityBeanGenerator
- defaultValue() - Method in class dev.orne.beans.rnd.TokenIdentityGenerator
- dev.orne.beans - package dev.orne.beans
-
Utilities for bean manipulation.
- dev.orne.beans.converters - package dev.orne.beans.converters
-
Extra converters for Apache commons beanutils.
- dev.orne.beans.rnd - package dev.orne.beans.rnd
- DurationConverter - Class in dev.orne.beans.converters
-
Implementation of
Converter
that convertsDuration
instances to and fromString
using ISO-8601 asString
representation. - DurationConverter() - Constructor for class dev.orne.beans.converters.DurationConverter
-
Creates a new instance that throws a
ConversionException
if an error occurs. - DurationConverter(Duration) - Constructor for class dev.orne.beans.converters.DurationConverter
-
Creates a new instance that returns a default value if an error occurs.
E
- encodeBody(String) - Static method in class dev.orne.beans.IdentityTokenFormatter
-
Encodes the specified identity token body as a valid identity token body.
- ENCODED_BODY - Static variable in class dev.orne.beans.IdentityTokenFormatter
-
Regular expression for valid identity token Base64 encoded bodies.
- ENCODED_BODY_PREFIX - Static variable in class dev.orne.beans.IdentityTokenFormatter
-
Encoded body prefix.
- EnumConverter - Class in dev.orne.beans.converters
-
Implementation of
Converter
that convertsEnum
instances to and fromString
using value name asString
representation. - EnumConvertUtilsBean - Class in dev.orne.beans.converters
-
Extension of
ConvertUtilsBean
that falls back to converter registered forEnum
class when converting enumeration types. - EnumConvertUtilsBean() - Constructor for class dev.orne.beans.converters.EnumConvertUtilsBean
-
Creates a new instance.
- EnumConvertUtilsBean2 - Class in dev.orne.beans.converters
-
Extension of
ConvertUtilsBean2
that falls back to converter registered forEnum
class when converting enumeration types. - EnumConvertUtilsBean2() - Constructor for class dev.orne.beans.converters.EnumConvertUtilsBean2
-
Creates a new instance.
- enumFromName(Class<T>, String) - Method in class dev.orne.beans.converters.EnumConverter
-
Returns the enumeration constant of the specified type that matches the specified enumeration name.
- EnumTypedConverter<E extends Enum<E>> - Class in dev.orne.beans.converters
-
Implementation of
Converter
that convertsEnum
instances to and fromString
using value name asString
representation. - EnumTypedConverter(Class<E>) - Constructor for class dev.orne.beans.converters.EnumTypedConverter
-
Creates a new instance that throws a
ConversionException
if an error occurs. - EnumTypedConverter(Class<E>, BiFunction<Class<E>, String, E>, Function<E, String>) - Constructor for class dev.orne.beans.converters.EnumTypedConverter
-
Creates a new instance that throws a
ConversionException
if an error occurs. - EnumTypedConverter(Class<E>, BiFunction<Class<E>, String, E>, Function<E, String>, E) - Constructor for class dev.orne.beans.converters.EnumTypedConverter
-
Creates a new instance that returns a default value if an error occurs.
- EnumTypedConverter(Class<E>, E) - Constructor for class dev.orne.beans.converters.EnumTypedConverter
-
Creates a new instance that returns a default value if an error occurs.
- EPOCH_MILLIS_PARSER - Static variable in class dev.orne.beans.converters.InstantConverter
-
The epoch milliseconds parser.
- equals(Object) - Method in class dev.orne.beans.AbstractIdentity
- equals(Object) - Method in class dev.orne.beans.AbstractSimpleIdentity
- equals(Object) - Method in class dev.orne.beans.BaseIdentityBean
- equals(Object) - Method in class dev.orne.beans.BeanAnnotationFinder.CacheEntryKey
- equals(Object) - Method in class dev.orne.beans.TokenIdentity
- extract(L) - Method in interface dev.orne.beans.BeanAnnotationFinder.AnnotationListExtractor
-
Extracts the nested annotations from the list annotation passed as argument.
- extractRequiredTokenBodyParts(String, String, int) - Static method in class dev.orne.beans.AbstractComposedIdentity
-
Extracts the body parts of a token generated by
AbstractComposedIdentity
. - extractRequiredTokenBodyParts(String, String, String, int) - Static method in class dev.orne.beans.AbstractComposedIdentity
-
Extracts the body parts of a token generated by
AbstractComposedIdentity
. - extractRequiredTokenBodyParts(String, String, String, String, int) - Static method in class dev.orne.beans.AbstractComposedIdentity
-
Extracts the body parts of a token generated by
AbstractComposedIdentity
. - extractRequiredTokenValue(String, String) - Static method in class dev.orne.beans.BigIntegerIdentity
-
Extracts the
BigInteger
value of a token generated byBigIntegerIdentity
. - extractRequiredTokenValue(String, String) - Static method in class dev.orne.beans.LongIdentity
-
Extracts the
Long
value of a token generated byLongIdentity
. - extractRequiredTokenValue(String, String) - Static method in class dev.orne.beans.StringIdentity
-
Extracts the
String
value of a token generated byStringIdentity
. - extractTokenBodyParts(String, String) - Static method in class dev.orne.beans.AbstractComposedIdentity
-
Extracts the
String
value of a token generated byStringIdentity
. - extractTokenBodyParts(String, String, String) - Static method in class dev.orne.beans.AbstractComposedIdentity
-
Extracts the
String
value of a token generated byStringIdentity
. - extractTokenBodyParts(String, String, String, String) - Static method in class dev.orne.beans.AbstractComposedIdentity
-
Extracts the
String
value of a token generated byStringIdentity
. - extractTokenValue(String, String) - Static method in class dev.orne.beans.BigIntegerIdentity
-
Extracts the
BigInteger
value of a token generated byBigIntegerIdentity
. - extractTokenValue(String, String) - Static method in class dev.orne.beans.LongIdentity
-
Extracts the
Long
value of a token generated byLongIdentity
. - extractTokenValue(String, String) - Static method in class dev.orne.beans.StringIdentity
-
Extracts the
String
value of a token generated byStringIdentity
.
F
- find(Class<?>) - Method in class dev.orne.beans.BeanAnnotationFinder
-
Finds the type level annotations this instance supports in the specified type.
- findAllAnnotations(Class<?>) - Method in class dev.orne.beans.BeanAnnotationFinder
-
Finds type level annotations of the supported annotation type in the specified type.
- findAnnotations(Class<?>, Set<Class<?>>) - Method in class dev.orne.beans.BeanAnnotationFinder
-
Finds type level annotations of the supported annotation type in the specified type.
- FINDER - Static variable in class dev.orne.beans.ValidBeanReference.ValidBeanReferenceValidator
-
The
BeanReference
annotation finder. - findInheritedSubTypes(Class<?>) - Method in class dev.orne.beans.JacksonSpiTypeIdResolver
-
Discovers the registered sub-types scanning the classpath for service providers of the base type.
- findTokenConstructor(Class<T>) - Method in class dev.orne.beans.IdentityResolver
-
Finds an identity token constructor in the specified target identity type.
- findTokenResolverMethod(Class<?>) - Method in class dev.orne.beans.IdentityResolver
-
Finds a method annotated with
IdentityTokenResolver
in the specified target identity type. - format(String, String) - Static method in class dev.orne.beans.IdentityTokenFormatter
-
Formats a valid identity token for the specified identity token prefix and body.
- format(String) - Static method in class dev.orne.beans.IdentityTokenFormatter
-
Formats a valid identity token for the specified identity token body and the default identity token prefix.
- fromIdentityToken(String) - Static method in class dev.orne.beans.BigIntegerIdentity
-
Resolves the specified identity token to a valid
BigIntegerIdentity
. - fromIdentityToken(String) - Static method in class dev.orne.beans.LongIdentity
-
Resolves the specified identity token to a valid
LongIdentity
. - fromIdentityToken(String) - Static method in class dev.orne.beans.StringIdentity
-
Resolves the specified identity token to a valid
StringIdentity
. - fromTemporalAccessor(Class<T>, TemporalAccessor) - Method in class dev.orne.beans.converters.AbstractDateTimeConverter
-
Converts the
TemporalAccessor
passed as argument to the specified type. - fromTemporalAccessor(Class<T>, TemporalAccessor) - Method in class dev.orne.beans.converters.DayOfWeekConverter
-
Converts the
TemporalAccessor
passed as argument to the specified type. - fromTemporalAccessor(Class<T>, TemporalAccessor) - Method in class dev.orne.beans.converters.InstantConverter
-
Converts the
TemporalAccessor
passed as argument to the specified type. - fromTemporalAccessor(Class<T>, TemporalAccessor) - Method in class dev.orne.beans.converters.LocalDateConverter
-
Converts the
TemporalAccessor
passed as argument to the specified type. - fromTemporalAccessor(Class<T>, TemporalAccessor) - Method in class dev.orne.beans.converters.LocalDateTimeConverter
-
Converts the
TemporalAccessor
passed as argument to the specified type. - fromTemporalAccessor(Class<T>, TemporalAccessor) - Method in class dev.orne.beans.converters.LocalTimeConverter
-
Converts the
TemporalAccessor
passed as argument to the specified type. - fromTemporalAccessor(Class<T>, TemporalAccessor) - Method in class dev.orne.beans.converters.MonthConverter
-
Converts the
TemporalAccessor
passed as argument to the specified type. - fromTemporalAccessor(Class<T>, TemporalAccessor) - Method in class dev.orne.beans.converters.MonthDayConverter
-
Converts the
TemporalAccessor
passed as argument to the specified type. - fromTemporalAccessor(Class<T>, TemporalAccessor) - Method in class dev.orne.beans.converters.OffsetDateTimeConverter
-
Converts the
TemporalAccessor
passed as argument to the specified type. - fromTemporalAccessor(Class<T>, TemporalAccessor) - Method in class dev.orne.beans.converters.OffsetTimeConverter
-
Converts the
TemporalAccessor
passed as argument to the specified type. - fromTemporalAccessor(Class<T>, TemporalAccessor) - Method in class dev.orne.beans.converters.YearConverter
-
Converts the
TemporalAccessor
passed as argument to the specified type. - fromTemporalAccessor(Class<T>, TemporalAccessor) - Method in class dev.orne.beans.converters.YearMonthConverter
-
Converts the
TemporalAccessor
passed as argument to the specified type. - fromTemporalAccessor(Class<T>, TemporalAccessor) - Method in class dev.orne.beans.converters.ZonedDateTimeConverter
-
Converts the
TemporalAccessor
passed as argument to the specified type. - fromTemporalAccessor(Class<T>, TemporalAccessor) - Method in class dev.orne.beans.converters.ZoneOffsetConverter
-
Converts the
TemporalAccessor
passed as argument to the specified type. - fromToken(String) - Static method in class dev.orne.beans.TokenIdentity
-
Creates the
TokenIdentity
from the identity token inString
form.
G
- GENERIC - Static variable in class dev.orne.beans.converters.EnumConverter
-
Shared instance that throws a
ConversionException
if an error occurs. - GENERIC_DEFAULT - Static variable in class dev.orne.beans.converters.EnumConverter
-
Shared instance that returns
null
if an error occurs. - get(BeanAnnotationFinder.CacheEntryKey<T>) - Method in interface dev.orne.beans.BeanAnnotationFinder.Cache
-
Returns the cached found annotations for the specified key, if any.
- get(BeanAnnotationFinder.CacheEntryKey<T>) - Method in class dev.orne.beans.BeanAnnotationFinder.WeakHashMapCache
-
Returns the cached found annotations for the specified key, if any.
- get(Class<? extends Identity>) - Method in interface dev.orne.beans.IdentityResolver.Cache
-
Returns the cached identity token resolution executable for the specified identity type, if any.
- get(Class<? extends Identity>) - Method in class dev.orne.beans.IdentityResolver.WeakHashMapCache
-
Returns the cached identity token resolution executable for the specified identity type, if any.
- getAnnotationListType() - Method in class dev.orne.beans.BeanAnnotationFinder
-
Returns the searched annotation list type.
- getAnnotationType() - Method in class dev.orne.beans.BeanAnnotationFinder.CacheEntryKey
-
Returns the annotation type searched.
- getAnnotationType() - Method in class dev.orne.beans.BeanAnnotationFinder
-
Returns the searched annotation type.
- getCache() - Method in class dev.orne.beans.BeanAnnotationFinder
-
Returns the cache to be used by this instance.
- getCache() - Method in class dev.orne.beans.IdentityResolver
-
Returns the cache to be used by this instance.
- getDefaultType() - Method in class dev.orne.beans.converters.AbstractDateTimeConverter
- getDefaultType() - Method in class dev.orne.beans.converters.DateConverter
- getDefaultType() - Method in class dev.orne.beans.converters.DayOfWeekConverter
- getDefaultType() - Method in class dev.orne.beans.converters.DurationConverter
- getDefaultType() - Method in class dev.orne.beans.converters.EnumConverter
- getDefaultType() - Method in class dev.orne.beans.converters.EnumTypedConverter
- getDefaultType() - Method in class dev.orne.beans.converters.GregorianCalendarConverter
- getDefaultType() - Method in class dev.orne.beans.converters.IdentityBeanConverter
- getDefaultType() - Method in class dev.orne.beans.converters.IdentityConverter
- getDefaultType() - Method in class dev.orne.beans.converters.InstantConverter
- getDefaultType() - Method in class dev.orne.beans.converters.LocalDateConverter
- getDefaultType() - Method in class dev.orne.beans.converters.LocalDateTimeConverter
- getDefaultType() - Method in class dev.orne.beans.converters.LocaleConverter
- getDefaultType() - Method in class dev.orne.beans.converters.LocalTimeConverter
- getDefaultType() - Method in class dev.orne.beans.converters.MonthConverter
- getDefaultType() - Method in class dev.orne.beans.converters.MonthDayConverter
- getDefaultType() - Method in class dev.orne.beans.converters.OffsetDateTimeConverter
- getDefaultType() - Method in class dev.orne.beans.converters.OffsetTimeConverter
- getDefaultType() - Method in class dev.orne.beans.converters.PeriodConverter
- getDefaultType() - Method in class dev.orne.beans.converters.UriConverter
- getDefaultType() - Method in class dev.orne.beans.converters.YearConverter
- getDefaultType() - Method in class dev.orne.beans.converters.YearMonthConverter
- getDefaultType() - Method in class dev.orne.beans.converters.ZonedDateTimeConverter
- getDefaultType() - Method in class dev.orne.beans.converters.ZoneOffsetConverter
- getExtractor() - Method in class dev.orne.beans.BeanAnnotationFinder
-
Returns the searched annotation list extractor.
- getFormatter() - Method in class dev.orne.beans.converters.AbstractDateTimeConverter
-
Returns the temporal value formatter and default parser.
- getIdentity() - Method in class dev.orne.beans.BaseIdentityBean
-
Returns the instance's identity.
- getIdentity() - Method in interface dev.orne.beans.IdentityBean
-
Returns the instance's identity.
- getIdentityConverter() - Method in class dev.orne.beans.converters.IdentityBeanConverter
-
Returns the converter for identities.
- getIdentityToken() - Method in class dev.orne.beans.AbstractIdentity
-
Returns the identity token.
- getIdentityToken() - Method in interface dev.orne.beans.Identity
-
Returns the identity token.
- getIdentityToken() - Method in class dev.orne.beans.TokenIdentity
-
Returns the identity token.
- getIdentityTokenBody() - Method in class dev.orne.beans.AbstractComposedIdentity
-
Returns the identity token body composed from the values of this identity.
- getIdentityTokenBody() - Method in class dev.orne.beans.AbstractIdentity
-
Returns the identity token body composed from the values of this identity.
- getIdentityTokenBody() - Method in class dev.orne.beans.AbstractSimpleIdentity
-
Returns the identity token body composed from the values of this identity.
- getIdentityTokenBodyParts() - Method in class dev.orne.beans.AbstractComposedIdentity
-
Returns the identity token body composed from the values of this identity.
- getIdentityTokenBodyPartsNullPlaceholder() - Method in class dev.orne.beans.AbstractComposedIdentity
-
Return the placeholder for null identity token parts.
- getIdentityTokenBodyPartsSeparator() - Method in class dev.orne.beans.AbstractComposedIdentity
-
Return the identity token body parts separator.
- getIdentityTokenPrefix() - Method in class dev.orne.beans.AbstractIdentity
-
Return the identity token prefix used for instances of this identity type.
- getIdFromAnnotation(Class<?>) - Method in class dev.orne.beans.JacksonSpiTypeIdResolver
-
Extracts the type ID from the
JsonTypeName
annotation of the specified type. - getIdFromBean(Object) - Method in class dev.orne.beans.JacksonSpiTypeIdResolver
-
Retrieves the type ID from the bean instance.
- getInstance() - Static method in class dev.orne.beans.IdentityResolver
-
Returns the shared, singleton instance.
- getInstantConverter() - Method in class dev.orne.beans.converters.DateConverter
-
Returns the converter to use when converting
Instant
instances. - getLogger() - Method in class dev.orne.beans.converters.AbstractDateTimeConverter
-
Returns the logger for this instance
- getMechanism() - Method in class dev.orne.beans.JacksonSpiTypeIdResolver
- getParsers() - Method in class dev.orne.beans.converters.AbstractDateTimeConverter
-
Returns the extra temporal value parsers.
- getRegisteredSubTypes(Class<?>) - Method in class dev.orne.beans.JacksonSpiTypeIdResolver
-
Discovers the registered sub-types scanning the classpath for service providers of the base type.
- getResolver(Class<? extends Identity>) - Method in class dev.orne.beans.IdentityResolver
-
Returns the method or constructor to be used to resolve identity tokens for the specified target identity type.
- getSubtypes() - Method in class dev.orne.beans.JacksonSpiTypeIdResolver
-
Returns the registered types.
- getType() - Method in class dev.orne.beans.BeanAnnotationFinder.CacheEntryKey
-
Returns the analyzed class.
- getValidator() - Static method in class dev.orne.beans.BeanValidationUtils
-
Returns the shared
Validator
used to validate beans. - getValue() - Method in class dev.orne.beans.AbstractSimpleIdentity
-
Returns the identity inner value.
- getZonedDateTimeConverter() - Method in class dev.orne.beans.converters.GregorianCalendarConverter
-
Returns the converter to use when converting
ZonedDateTime
instances. - GregorianCalendarConverter - Class in dev.orne.beans.converters
-
Implementation of
Converter
that convertsCalendar
instances to and fromString
using delegating in a instance ofInstantConverter
. - GregorianCalendarConverter() - Constructor for class dev.orne.beans.converters.GregorianCalendarConverter
-
Creates a new instance that throws a
ConversionException
if an error occurs. - GregorianCalendarConverter(Converter) - Constructor for class dev.orne.beans.converters.GregorianCalendarConverter
-
Creates a new instance that throws a
ConversionException
if an error occurs. - GregorianCalendarConverter(Converter, GregorianCalendar) - Constructor for class dev.orne.beans.converters.GregorianCalendarConverter
-
Creates a new instance that returns a default value if an error occurs.
- GregorianCalendarConverter(GregorianCalendar) - Constructor for class dev.orne.beans.converters.GregorianCalendarConverter
-
Creates a new instance that returns a default value if an error occurs.
- groups() - Element in annotation type dev.orne.beans.ValidBeanIdentity
-
Returns the validation groups.
- groups() - Element in annotation type dev.orne.beans.ValidBeanReference
-
Returns the validation groups.
- groups() - Element in annotation type dev.orne.beans.ValidIdentity
-
Returns the validation groups.
- groups() - Element in annotation type dev.orne.beans.ValidIdentityToken
-
Returns the validation groups.
- groups() - Element in annotation type dev.orne.beans.ValidIdentityTokenPrefix
-
Returns the validation groups.
H
- hashCode() - Method in class dev.orne.beans.AbstractIdentity
- hashCode() - Method in class dev.orne.beans.AbstractSimpleIdentity
- hashCode() - Method in class dev.orne.beans.BaseIdentityBean
- hashCode() - Method in class dev.orne.beans.BeanAnnotationFinder.CacheEntryKey
- hashCode() - Method in class dev.orne.beans.TokenIdentity
I
- Identity - Interface in dev.orne.beans
-
Interface representing the identity of a bean.
- IdentityBean - Interface in dev.orne.beans
-
Interface representing a bean with identity.
- IdentityBean.RequireIdentity - Interface in dev.orne.beans
-
Validation group to require a valid identity.
- IdentityBeanConverter - Class in dev.orne.beans.converters
-
Implementation of
Converter
that convertsIdentityBean
instances toString
andWritableIdentityBean
fromString
using the identity token of the bean asString
representation. - IdentityBeanConverter() - Constructor for class dev.orne.beans.converters.IdentityBeanConverter
-
Creates a new instance that throws a
ConversionException
if an error occurs and uses default instance ofIdentityConverter
for identity conversions. - IdentityBeanConverter(Class<? extends WritableIdentityBean>) - Constructor for class dev.orne.beans.converters.IdentityBeanConverter
-
Creates a new instance that throws a
ConversionException
if an error occurs and uses default instance ofIdentityConverter
for identity conversions. - IdentityBeanConverter(Class<? extends WritableIdentityBean>, Converter) - Constructor for class dev.orne.beans.converters.IdentityBeanConverter
-
Creates a new instance that throws a
ConversionException
if an error occurs. - IdentityBeanConverter(Class<T>, Converter, T) - Constructor for class dev.orne.beans.converters.IdentityBeanConverter
-
Creates a new instance that returns a default value if an error occurs.
- IdentityBeanConverter(Class<T>, T) - Constructor for class dev.orne.beans.converters.IdentityBeanConverter
-
Creates a new instance that returns a default value if an error occurs and uses default instance of
IdentityConverter
for identity conversions. - IdentityBeanConverter(Converter) - Constructor for class dev.orne.beans.converters.IdentityBeanConverter
-
Creates a new instance that throws a
ConversionException
if an error occurs. - IdentityBeanConverter(Converter, WritableIdentityBean) - Constructor for class dev.orne.beans.converters.IdentityBeanConverter
-
Creates a new instance that returns a default value if an error occurs.
- IdentityBeanConverter(IdentityBean) - Constructor for class dev.orne.beans.converters.IdentityBeanConverter
-
Creates a new instance that returns a default value if an error occurs and uses default instance of
IdentityConverter
for identity conversions. - IdentityConverter - Class in dev.orne.beans.converters
-
Implementation of
Converter
that convertsIdentity
instances to and fromString
using the identity token asString
representation. - IdentityConverter() - Constructor for class dev.orne.beans.converters.IdentityConverter
-
Creates a new instance that throws a
ConversionException
if an error occurs. - IdentityConverter(Identity) - Constructor for class dev.orne.beans.converters.IdentityConverter
-
Creates a new instance that returns a default value if an error occurs.
- IdentityResolver - Class in dev.orne.beans
-
Identity resolver that converts an instance of
Identity
of unknown type to an instance of a concrete type. - IdentityResolver() - Constructor for class dev.orne.beans.IdentityResolver
-
Creates a new instance.
- IdentityResolver.Cache - Interface in dev.orne.beans
-
Interface for identity resolve methods cache.
- IdentityResolver.UnresolvableIdentityException - Exception in dev.orne.beans
-
Exception for misconfigured identity types.
- IdentityResolver.WeakHashMapCache - Class in dev.orne.beans
-
Implementation of
Cache
based onWeakHashMap
. - IdentityTokenFormatter - Class in dev.orne.beans
-
Formatter and parser of identity tokens.
- IdentityTokenResolver - Annotation Type in dev.orne.beans
-
Marks a method as an identity token to identity resolver.
- IdentityXmlAdapter() - Constructor for class dev.orne.beans.TokenIdentity.IdentityXmlAdapter
-
Creates a new instance.
- idFromValue(Object) - Method in class dev.orne.beans.JacksonSpiTypeIdResolver
- idFromValueAndType(Object, Class<?>) - Method in class dev.orne.beans.JacksonSpiTypeIdResolver
- init(JavaType) - Method in class dev.orne.beans.JacksonSpiTypeIdResolver
- initialize(ValidIdentity) - Method in class dev.orne.beans.ValidIdentity.ValidIdentityValidator
- initialize(ValidIdentity) - Method in class dev.orne.beans.ValidIdentity.ValidIdentityValidatorForString
- InstantConverter - Class in dev.orne.beans.converters
-
Implementation of
Converter
that convertsInstant
instances to and fromString
using the ISO-8601 asString
representation. - InstantConverter() - Constructor for class dev.orne.beans.converters.InstantConverter
-
Creates a new instance that throws a
ConversionException
if an error occurs. - InstantConverter(DateTimeFormatter) - Constructor for class dev.orne.beans.converters.InstantConverter
-
Creates a new instance that throws a
ConversionException
if an error occurs. - InstantConverter(DateTimeFormatter, Instant) - Constructor for class dev.orne.beans.converters.InstantConverter
-
Creates a new instance that returns a default value if an error occurs.
- InstantConverter(Instant) - Constructor for class dev.orne.beans.converters.InstantConverter
-
Creates a new instance that returns a default value if an error occurs.
- ISO_8601_PARSER - Static variable in class dev.orne.beans.converters.MonthDayConverter
-
The month-day by value parser.
- ISO_8601_PARSER - Static variable in class dev.orne.beans.converters.YearMonthConverter
-
The month-day by value parser.
- isValid(Identity) - Static method in class dev.orne.beans.ValidIdentity.ValidIdentityValidator
-
Returns
true
if specified bean is valid reference to it's bean type. - isValid(Identity, Class<? extends Identity>) - Static method in class dev.orne.beans.ValidIdentity.ValidIdentityValidator
-
Returns
true
if specified bean is valid reference to it's bean type. - isValid(Object) - Static method in class dev.orne.beans.ValidBeanIdentity.ValidBeanIdentityValidator
-
Returns
true
if specified bean is valid reference to it's bean type. - isValid(Object) - Static method in class dev.orne.beans.ValidBeanReference.ValidBeanReferenceValidator
-
Returns
true
if specified bean is valid reference to it's bean type. - isValid(Object, BeanAnnotationFinder<? extends BeanReference, ?>) - Static method in class dev.orne.beans.ValidBeanReference.ValidBeanReferenceValidator
-
Returns
true
if specified bean is valid reference to it's bean type. - isValid(Object, Class<?>...) - Static method in class dev.orne.beans.BeanValidationUtils
-
Validates if the specified bean is valid for the specified validation groups.
- isValid(String) - Static method in class dev.orne.beans.ValidIdentity.ValidIdentityValidatorForString
-
Returns
true
if specified bean is valid reference to it's bean type. - isValid(String, Class<? extends Identity>) - Static method in class dev.orne.beans.ValidIdentity.ValidIdentityValidatorForString
-
Returns
true
if specified bean is valid reference to it's bean type. - isValid(Identity, ConstraintValidatorContext) - Method in class dev.orne.beans.ValidIdentity.ValidIdentityValidator
- isValid(Object, ConstraintValidatorContext) - Method in class dev.orne.beans.ValidBeanIdentity.ValidBeanIdentityValidator
- isValid(Object, ConstraintValidatorContext) - Method in class dev.orne.beans.ValidBeanReference.ValidBeanReferenceValidator
- isValid(String, ConstraintValidatorContext) - Method in class dev.orne.beans.ValidIdentity.ValidIdentityValidatorForString
- isValidBeanIdentity(Object) - Static method in class dev.orne.beans.BeanValidationUtils
-
Validates if the specified bean has a valid, non null, identity.
- isValidBeanReference(Object) - Static method in class dev.orne.beans.BeanValidationUtils
-
Validates if the specified bean is a valid bean reference.
- isValidBody(String) - Static method in class dev.orne.beans.IdentityTokenFormatter
-
Returns
true
if the specified identity token body is valid. - isValidEncodedBody(String) - Static method in class dev.orne.beans.IdentityTokenFormatter
-
Returns
true
if the specified identity token body is a valid encoded body. - isValidPrefix(String) - Static method in class dev.orne.beans.IdentityTokenFormatter
-
Returns
true
if the specified identity token prefix is valid. - isValidToken(String) - Static method in class dev.orne.beans.IdentityTokenFormatter
-
Returns
true
if the specified identity token is valid. - isValidUncodedBody(String) - Static method in class dev.orne.beans.IdentityTokenFormatter
-
Returns
true
if the specified identity token body is a valid unencoded body.
J
- JacksonSpiTypeIdResolver - Class in dev.orne.beans
-
Implementation of
TypeIdResolver
that discovers interface/bean subtypes using SPI configuration files. - JacksonSpiTypeIdResolver() - Constructor for class dev.orne.beans.JacksonSpiTypeIdResolver
-
Creates a new instance.
L
- LocalDateConverter - Class in dev.orne.beans.converters
-
Implementation of
Converter
that convertsLocalDate
instances to and fromString
using ISO-8601 asString
representation by default. - LocalDateConverter() - Constructor for class dev.orne.beans.converters.LocalDateConverter
-
Creates a new instance that throws a
ConversionException
if an error occurs, using ISO-8601 as default conversion format. - LocalDateConverter(DateTimeFormatter) - Constructor for class dev.orne.beans.converters.LocalDateConverter
-
Creates a new instance that throws a
ConversionException
if an error occurs. - LocalDateConverter(DateTimeFormatter, LocalDate) - Constructor for class dev.orne.beans.converters.LocalDateConverter
-
Creates a new instance that returns a default value if an error occurs.
- LocalDateConverter(LocalDate) - Constructor for class dev.orne.beans.converters.LocalDateConverter
-
Creates a new instance that returns a default value if an error occurs, using ISO-8601 as default conversion format.
- LocalDateTimeConverter - Class in dev.orne.beans.converters
-
Implementation of
Converter
that convertsLocalDateTime
instances to and fromString
using ISO-8601 asString
representation by default. - LocalDateTimeConverter() - Constructor for class dev.orne.beans.converters.LocalDateTimeConverter
-
Creates a new instance that throws a
ConversionException
if an error occurs, using ISO-8601 as default conversion format. - LocalDateTimeConverter(DateTimeFormatter) - Constructor for class dev.orne.beans.converters.LocalDateTimeConverter
-
Creates a new instance that throws a
ConversionException
if an error occurs. - LocalDateTimeConverter(DateTimeFormatter, LocalDateTime) - Constructor for class dev.orne.beans.converters.LocalDateTimeConverter
-
Creates a new instance that returns a default value if an error occurs.
- LocalDateTimeConverter(LocalDateTime) - Constructor for class dev.orne.beans.converters.LocalDateTimeConverter
-
Creates a new instance that returns a default value if an error occurs, using ISO-8601 as default conversion format.
- LocaleConverter - Class in dev.orne.beans.converters
-
Implementation of
Converter
that convertsLocale
instances to and fromString
using the language tag asString
representation. - LocaleConverter() - Constructor for class dev.orne.beans.converters.LocaleConverter
-
Creates a new instance that throws a
ConversionException
if an error occurs. - LocaleConverter(Locale) - Constructor for class dev.orne.beans.converters.LocaleConverter
-
Creates a new instance that returns a default value if an error occurs.
- LocalTimeConverter - Class in dev.orne.beans.converters
-
Implementation of
Converter
that convertsLocalTime
instances to and fromString
using ISO-8601 asString
representation by default. - LocalTimeConverter() - Constructor for class dev.orne.beans.converters.LocalTimeConverter
-
Creates a new instance that throws a
ConversionException
if an error occurs, using ISO-8601 as default conversion format. - LocalTimeConverter(DateTimeFormatter) - Constructor for class dev.orne.beans.converters.LocalTimeConverter
-
Creates a new instance that throws a
ConversionException
if an error occurs. - LocalTimeConverter(DateTimeFormatter, LocalTime) - Constructor for class dev.orne.beans.converters.LocalTimeConverter
-
Creates a new instance that returns a default value if an error occurs.
- LocalTimeConverter(LocalTime) - Constructor for class dev.orne.beans.converters.LocalTimeConverter
-
Creates a new instance that returns a default value if an error occurs, using ISO-8601 as default conversion format.
- LongIdentity - Class in dev.orne.beans
-
Implementation for
Identity
for identities composed of a single innerLong
value. - LongIdentity(LongIdentity) - Constructor for class dev.orne.beans.LongIdentity
-
Copy constructor.
- LongIdentity(Long) - Constructor for class dev.orne.beans.LongIdentity
-
Creates a new instance.
- lookup(Class<?>) - Method in class dev.orne.beans.converters.EnumConvertUtilsBean
- lookup(Class<?>) - Method in class dev.orne.beans.converters.EnumConvertUtilsBean2
M
- marshal(Identity) - Method in class dev.orne.beans.TokenIdentity.IdentityXmlAdapter
-
Serializes specified
Identity
as aString
value. - message() - Element in annotation type dev.orne.beans.ValidBeanIdentity
-
Returns the error message.
- message() - Element in annotation type dev.orne.beans.ValidBeanReference
-
Returns the error message.
- message() - Element in annotation type dev.orne.beans.ValidIdentity
-
Returns the error message.
- message() - Element in annotation type dev.orne.beans.ValidIdentityToken
-
Returns the error message.
- message() - Element in annotation type dev.orne.beans.ValidIdentityTokenPrefix
-
Returns the error message.
- MonthConverter - Class in dev.orne.beans.converters
-
Implementation of
Converter
that convertsMonth
instances to and fromString
using "YYYY-MM" asString
representation. - MonthConverter() - Constructor for class dev.orne.beans.converters.MonthConverter
-
Creates a new instance that throws a
ConversionException
if an error occurs. - MonthConverter(DateTimeFormatter) - Constructor for class dev.orne.beans.converters.MonthConverter
-
Creates a new instance that throws a
ConversionException
if an error occurs. - MonthConverter(DateTimeFormatter, Month) - Constructor for class dev.orne.beans.converters.MonthConverter
-
Creates a new instance that returns a default value if an error occurs.
- MonthConverter(Month) - Constructor for class dev.orne.beans.converters.MonthConverter
-
Creates a new instance that returns a default value if an error occurs.
- MonthDayConverter - Class in dev.orne.beans.converters
-
Implementation of
Converter
that convertsMonthDay
instances to and fromString
using "--MM-DD" asString
representation. - MonthDayConverter() - Constructor for class dev.orne.beans.converters.MonthDayConverter
-
Creates a new instance that throws a
ConversionException
if an error occurs, using ISO-8601 as default conversion format. - MonthDayConverter(DateTimeFormatter) - Constructor for class dev.orne.beans.converters.MonthDayConverter
-
Creates a new instance that throws a
ConversionException
if an error occurs. - MonthDayConverter(DateTimeFormatter, MonthDay) - Constructor for class dev.orne.beans.converters.MonthDayConverter
-
Creates a new instance that returns a default value if an error occurs.
- MonthDayConverter(MonthDay) - Constructor for class dev.orne.beans.converters.MonthDayConverter
-
Creates a new instance that returns a default value if an error occurs, using ISO-8601 as default conversion format.
N
- NULL_BODY - Static variable in class dev.orne.beans.IdentityTokenFormatter
-
Null body.
O
- of(Class<T>) - Static method in class dev.orne.beans.converters.EnumTypedConverter
-
Creates a new instance that throws a
ConversionException
if an error occurs. - of(Class<T>, T) - Static method in class dev.orne.beans.converters.EnumTypedConverter
-
Creates a new instance that returns a default value if an error occurs.
- OffsetDateTimeConverter - Class in dev.orne.beans.converters
-
Implementation of
Converter
that convertsOffsetDateTime
instances to and fromString
using ISO-8601 asString
representation by default. - OffsetDateTimeConverter() - Constructor for class dev.orne.beans.converters.OffsetDateTimeConverter
-
Creates a new instance that throws a
ConversionException
if an error occurs, using ISO-8601 as default conversion format. - OffsetDateTimeConverter(DateTimeFormatter) - Constructor for class dev.orne.beans.converters.OffsetDateTimeConverter
-
Creates a new instance that throws a
ConversionException
if an error occurs. - OffsetDateTimeConverter(DateTimeFormatter, OffsetDateTime) - Constructor for class dev.orne.beans.converters.OffsetDateTimeConverter
-
Creates a new instance that returns a default value if an error occurs.
- OffsetDateTimeConverter(OffsetDateTime) - Constructor for class dev.orne.beans.converters.OffsetDateTimeConverter
-
Creates a new instance that returns a default value if an error occurs, using ISO-8601 as default conversion format.
- OffsetTimeConverter - Class in dev.orne.beans.converters
-
Implementation of
Converter
that convertsOffsetTime
instances to and fromString
using ISO-8601 asString
representation by default. - OffsetTimeConverter() - Constructor for class dev.orne.beans.converters.OffsetTimeConverter
-
Creates a new instance that throws a
ConversionException
if an error occurs, using ISO-8601 as default conversion format. - OffsetTimeConverter(DateTimeFormatter) - Constructor for class dev.orne.beans.converters.OffsetTimeConverter
-
Creates a new instance that throws a
ConversionException
if an error occurs. - OffsetTimeConverter(DateTimeFormatter, OffsetTime) - Constructor for class dev.orne.beans.converters.OffsetTimeConverter
-
Creates a new instance that returns a default value if an error occurs.
- OffsetTimeConverter(OffsetTime) - Constructor for class dev.orne.beans.converters.OffsetTimeConverter
-
Creates a new instance that returns a default value if an error occurs, using ISO-8601 as default conversion format.
- OrneBeansConverters - Class in dev.orne.beans.converters
-
Utility class for registration of default implementations of Orne custom converters
P
- parse(Class<T>, DateTimeFormatter, String) - Method in class dev.orne.beans.converters.AbstractDateTimeConverter
-
Tries to parse a
TemporalAccessor
of the specified type from the specified value. - parse(String) - Static method in class dev.orne.beans.IdentityTokenFormatter
-
Parses the specified identity token for the default identity token prefix.
- parse(String, String) - Static method in class dev.orne.beans.IdentityTokenFormatter
-
Parses the specified identity token for the specified expected identity token prefix.
- parseIdentityTokenBody(String) - Method in class dev.orne.beans.AbstractIdentity
-
Parses the specified identity token and returns the original identity token body used during formatting.
- parseString(Class<T>, String) - Method in class dev.orne.beans.converters.AbstractDateTimeConverter
-
Tries to parse a
TemporalAccessor
of the specified type from the specifiedString
value. - payload() - Element in annotation type dev.orne.beans.ValidBeanIdentity
-
Returns the validation client payload.
- payload() - Element in annotation type dev.orne.beans.ValidBeanReference
-
Returns the validation client payload.
- payload() - Element in annotation type dev.orne.beans.ValidIdentity
-
Returns the validation client payload.
- payload() - Element in annotation type dev.orne.beans.ValidIdentityToken
-
Returns the validation client payload.
- payload() - Element in annotation type dev.orne.beans.ValidIdentityTokenPrefix
-
Returns the validation client payload.
- PeriodConverter - Class in dev.orne.beans.converters
-
Implementation of
Converter
that convertsPeriod
instances to and fromString
using ISO-8601 asString
representation. - PeriodConverter() - Constructor for class dev.orne.beans.converters.PeriodConverter
-
Creates a new instance that throws a
ConversionException
if an error occurs. - PeriodConverter(Period) - Constructor for class dev.orne.beans.converters.PeriodConverter
-
Creates a new instance that returns a default value if an error occurs.
- PREFIX - Static variable in class dev.orne.beans.IdentityTokenFormatter
-
Regular expression for valid token prefix strings.
- put(BeanAnnotationFinder.CacheEntryKey<T>, Set<T>) - Method in interface dev.orne.beans.BeanAnnotationFinder.Cache
-
Puts the specified found annotations for the specified key.
- put(BeanAnnotationFinder.CacheEntryKey<T>, Set<T>) - Method in class dev.orne.beans.BeanAnnotationFinder.WeakHashMapCache
-
Puts the specified found annotations for the specified key.
- put(Class<? extends Identity>, Executable) - Method in interface dev.orne.beans.IdentityResolver.Cache
-
Puts the specified identity token resolution executable for the specified identity type.
- put(Class<? extends Identity>, Executable) - Method in class dev.orne.beans.IdentityResolver.WeakHashMapCache
-
Puts the specified identity token resolution executable for the specified identity type.
R
- randomValue() - Method in class dev.orne.beans.rnd.BaseIdentityBeanGenerator
- randomValue() - Method in class dev.orne.beans.rnd.TokenIdentityGenerator
- register() - Static method in class dev.orne.beans.converters.EnumConverter
-
Registers
EnumConverter.GENERIC
for theEnum
class in the singleton Apache commons bean utils converter. - register() - Static method in class dev.orne.beans.converters.OrneBeansConverters
-
Registers all the Orne custom converters in
ConvertUtils
. - register(boolean) - Static method in class dev.orne.beans.converters.OrneBeansConverters
-
Registers all the Orne custom converters in
ConvertUtils
. - register(ConvertUtilsBean) - Static method in class dev.orne.beans.converters.OrneBeansConverters
-
Registers all the Orne custom converters in the specified
ConvertUtilsBean
. - register(ConvertUtilsBean, boolean) - Static method in class dev.orne.beans.converters.OrneBeansConverters
-
Registers all the Orne custom converters in the specified
ConvertUtilsBean
. - register(ConvertUtilsBean) - Static method in class dev.orne.beans.converters.EnumConverter
-
Registers
EnumConverter.GENERIC
for theEnum
class in the specified Apache commons bean utils converter. - registerBeansConversors() - Static method in class dev.orne.beans.converters.OrneBeansConverters
-
Registers all the Orne custom converters for
dev.orne.beans
inConvertUtils
. - registerBeansConversors(boolean) - Static method in class dev.orne.beans.converters.OrneBeansConverters
-
Registers all the Orne custom converters for
dev.orne.beans
inConvertUtils
. - registerBeansConversors(ConvertUtilsBean) - Static method in class dev.orne.beans.converters.OrneBeansConverters
-
Registers all the Orne custom converters for
dev.orne.beans
in the specifiedConvertUtilsBean
. - registerBeansConversors(ConvertUtilsBean, boolean) - Static method in class dev.orne.beans.converters.OrneBeansConverters
-
Registers all the Orne custom converters for
dev.orne.beans
in the specifiedConvertUtilsBean
. - registerFor(Class<T>) - Static method in class dev.orne.beans.converters.EnumTypedConverter
-
Registers a new
EnumTypedConverter
for the specified enumeration type that throws aConversionException
if an error occurs to the singleton Apache commons bean utils converter. - registerFor(Class<T>, T) - Static method in class dev.orne.beans.converters.EnumTypedConverter
-
Registers a new
EnumTypedConverter
for the specified enumeration type that returns a default value if an error occurs to the singleton Apache commons bean utils converter. - registerFor(ConvertUtilsBean, Class<T>) - Static method in class dev.orne.beans.converters.EnumTypedConverter
-
Registers a new
EnumTypedConverter
for the specified enumeration type that throws aConversionException
if an error occurs to the specified Apache commons bean utils converter. - registerFor(ConvertUtilsBean, Class<T>, T) - Static method in class dev.orne.beans.converters.EnumTypedConverter
-
Registers a new
EnumTypedConverter
for the specified enumeration type that returns a default value if an error occurs to the specified Apache commons beanutils2 converter. - registerNetConversors() - Static method in class dev.orne.beans.converters.OrneBeansConverters
-
Registers all the Orne custom converters for
java.util
inConvertUtils
. - registerNetConversors(boolean) - Static method in class dev.orne.beans.converters.OrneBeansConverters
-
Registers all the Orne custom converters for
java.net
inConvertUtils
. - registerNetConversors(ConvertUtilsBean) - Static method in class dev.orne.beans.converters.OrneBeansConverters
-
Registers all the Orne custom converters for
java.net
in the specifiedConvertUtilsBean
. - registerNetConversors(ConvertUtilsBean, boolean) - Static method in class dev.orne.beans.converters.OrneBeansConverters
-
Registers all the Orne custom converters for
java.net
in the specifiedConvertUtilsBean
. - registerTimeConversors() - Static method in class dev.orne.beans.converters.OrneBeansConverters
-
Registers all the Orne custom converters for
java.time
inConvertUtils
. - registerTimeConversors(boolean) - Static method in class dev.orne.beans.converters.OrneBeansConverters
-
Registers all the Orne custom converters for
java.time
inConvertUtils
. - registerTimeConversors(ConvertUtilsBean) - Static method in class dev.orne.beans.converters.OrneBeansConverters
-
Registers all the Orne custom converters for
java.time
in the specifiedConvertUtilsBean
. - registerTimeConversors(ConvertUtilsBean, boolean) - Static method in class dev.orne.beans.converters.OrneBeansConverters
-
Registers all the Orne custom converters for
java.time
in the specifiedConvertUtilsBean
. - registerUtilConversors() - Static method in class dev.orne.beans.converters.OrneBeansConverters
-
Registers all the Orne custom converters for
java.util
inConvertUtils
. - registerUtilConversors(boolean) - Static method in class dev.orne.beans.converters.OrneBeansConverters
-
Registers all the Orne custom converters for
java.util
inConvertUtils
. - registerUtilConversors(ConvertUtilsBean) - Static method in class dev.orne.beans.converters.OrneBeansConverters
-
Registers all the Orne custom converters for
java.util
in the specifiedConvertUtilsBean
. - registerUtilConversors(ConvertUtilsBean, boolean) - Static method in class dev.orne.beans.converters.OrneBeansConverters
-
Registers all the Orne custom converters for
java.util
in the specifiedConvertUtilsBean
. - registerWithDefault() - Static method in class dev.orne.beans.converters.EnumConverter
-
Registers
EnumConverter.GENERIC_DEFAULT
for theEnum
class in the singleton Apache commons bean utils converter. - registerWithDefault(ConvertUtilsBean) - Static method in class dev.orne.beans.converters.EnumConverter
-
Registers
EnumConverter.GENERIC_DEFAULT
for theEnum
class in the specified Apache commons bean utils converter. - resolve(Class<T>) - Method in interface dev.orne.beans.Identity
-
Resolves this identity to an identity of the specified target type.
- resolve(Identity, Class<T>) - Method in class dev.orne.beans.IdentityResolver
-
Resolves the specified source identity to an identity of the specified target type.
- resolve(String, Class<T>) - Method in class dev.orne.beans.IdentityResolver
-
Resolves the specified source identity token to an identity of the specified target type.
S
- setCache(BeanAnnotationFinder.Cache) - Method in class dev.orne.beans.BeanAnnotationFinder
-
Sets the type level annotations cache for this instance.
- setCache(IdentityResolver.Cache) - Method in class dev.orne.beans.IdentityResolver
-
Sets the identity type resolve methods cache for this instance.
- setIdentity(Identity) - Method in class dev.orne.beans.BaseIdentityBean
-
Sets the instance's identity.
- setIdentity(Identity) - Method in interface dev.orne.beans.WritableIdentityBean
-
Sets the instance's identity.
- setParsers(DateTimeFormatter...) - Method in class dev.orne.beans.converters.AbstractDateTimeConverter
-
Sets the temporal value parsers.
- setParsers(Collection<DateTimeFormatter>) - Method in class dev.orne.beans.converters.AbstractDateTimeConverter
-
Sets the temporal value parsers.
- setValidator(Validator) - Static method in class dev.orne.beans.BeanValidationUtils
-
Sets the shared
Validator
used to validate beans. - StringIdentity - Class in dev.orne.beans
-
Implementation for
Identity
for identities composed of a single innerString
value. - StringIdentity(StringIdentity) - Constructor for class dev.orne.beans.StringIdentity
-
Copy constructor.
- StringIdentity(String) - Constructor for class dev.orne.beans.StringIdentity
-
Creates a new instance.
- supports(Class<?>) - Method in class dev.orne.beans.rnd.BaseIdentityBeanGenerator
- supports(Class<?>) - Method in class dev.orne.beans.rnd.TokenIdentityGenerator
T
- TOKEN - Static variable in class dev.orne.beans.IdentityTokenFormatter
-
Regular expression for valid identity tokens.
- TOKEN_CHAR - Static variable in class dev.orne.beans.IdentityTokenFormatter
-
Regular expression for valid token characters.
- TokenIdentity - Class in dev.orne.beans
-
Implementation of
Identity
for identities of unknown format restored from identity tokens. - TokenIdentity(String) - Constructor for class dev.orne.beans.TokenIdentity
-
Creates a new instance.
- TokenIdentity.IdentityXmlAdapter - Class in dev.orne.beans
-
JAXB adapter for
Identity
that convertsIdentity
instances to and fromString
using the identity token asString
representation. - TokenIdentityGenerator - Class in dev.orne.beans.rnd
-
Generator of
Identity
andTokenIdentity
values. - TokenIdentityGenerator() - Constructor for class dev.orne.beans.rnd.TokenIdentityGenerator
-
Creates a new instance.
- toString() - Method in class dev.orne.beans.AbstractIdentity
- toString() - Method in class dev.orne.beans.BaseIdentityBean
- toString() - Method in class dev.orne.beans.BeanAnnotationFinder.CacheEntryKey
- toString() - Method in class dev.orne.beans.TokenIdentity
- typeFromId(DatabindContext, String) - Method in class dev.orne.beans.JacksonSpiTypeIdResolver
U
- UNENCODED_BODY - Static variable in class dev.orne.beans.IdentityTokenFormatter
-
Regular expression for valid identity token unencoded bodies.
- UNENCODED_BODY_STARTING_CHAR - Static variable in class dev.orne.beans.IdentityTokenFormatter
-
Regular expression for valid unencoded body starting character.
- unmarshal(String) - Method in class dev.orne.beans.TokenIdentity.IdentityXmlAdapter
-
Parses specified
String
as aTokenIdentity
instance. - UnrecognizedIdentityTokenException - Exception in dev.orne.beans
-
Exception for identity tokens that cannot be resolved to expected
Identity
type. - UnrecognizedIdentityTokenException() - Constructor for exception dev.orne.beans.UnrecognizedIdentityTokenException
-
Constructs a new exception with
null
as its detail message. - UnrecognizedIdentityTokenException(String) - Constructor for exception dev.orne.beans.UnrecognizedIdentityTokenException
-
Constructs a new exception with the specified detail message.
- UnrecognizedIdentityTokenException(String, Throwable) - Constructor for exception dev.orne.beans.UnrecognizedIdentityTokenException
-
Constructs a new exception with the specified detail message and cause.
- UnrecognizedIdentityTokenException(Throwable) - Constructor for exception dev.orne.beans.UnrecognizedIdentityTokenException
-
Constructs a new exception with the specified cause and a detail message of
(cause==null ? null : cause.toString())
(which typically contains the class and detail message ofcause
). - UnresolvableIdentityException() - Constructor for exception dev.orne.beans.IdentityResolver.UnresolvableIdentityException
-
Constructs a new exception with
null
as its detail message. - UnresolvableIdentityException(String) - Constructor for exception dev.orne.beans.IdentityResolver.UnresolvableIdentityException
-
Constructs a new exception with the specified detail message.
- UnresolvableIdentityException(String, Throwable) - Constructor for exception dev.orne.beans.IdentityResolver.UnresolvableIdentityException
-
Constructs a new exception with the specified detail message and cause.
- UnresolvableIdentityException(String, Throwable, boolean, boolean) - Constructor for exception dev.orne.beans.IdentityResolver.UnresolvableIdentityException
-
Constructs a new exception with the specified detail message, cause, suppression enabled or disabled, and writable stack trace enabled or disabled.
- UnresolvableIdentityException(Throwable) - Constructor for exception dev.orne.beans.IdentityResolver.UnresolvableIdentityException
-
Constructs a new exception with the specified cause and a detail message of
(cause==null ? null : cause.toString())
(which typically contains the class and detail message ofcause
). - UriConverter - Class in dev.orne.beans.converters
-
Implementation of
Converter
that convertsURI
instances to and fromString
using the language tag asString
representation. - UriConverter() - Constructor for class dev.orne.beans.converters.UriConverter
-
Creates a new instance that throws a
ConversionException
if an error occurs. - UriConverter(URI) - Constructor for class dev.orne.beans.converters.UriConverter
-
Creates a new instance that returns a default value if an error occurs.
V
- VALID_BODY_PREDICATE - Static variable in class dev.orne.beans.IdentityTokenFormatter
-
Compiled pattern to detect valid identity token bodies as predicate.
- VALID_ENCODED_BODY_PREDICATE - Static variable in class dev.orne.beans.IdentityTokenFormatter
-
Compiled pattern to detect valid identity token encoded bodies as predicate.
- VALID_PREFIX_PREDICATE - Static variable in class dev.orne.beans.IdentityTokenFormatter
-
Compiled pattern to detect valid identity token prefixes as predicate.
- VALID_TOKEN_PREDICATE - Static variable in class dev.orne.beans.IdentityTokenFormatter
-
Compiled pattern to detect valid identity tokens as predicate.
- VALID_UNENCODED_BODY_PREDICATE - Static variable in class dev.orne.beans.IdentityTokenFormatter
-
Compiled pattern to detect valid identity token unencoded bodies as predicate.
- validate(T, Class<?>...) - Static method in class dev.orne.beans.BeanValidationUtils
-
Validates the specified bean for the specified validation groups.
- ValidBeanIdentity - Annotation Type in dev.orne.beans
-
Validation for beans that require a valid, non null identity.
- ValidBeanIdentity.ValidBeanIdentityValidator - Class in dev.orne.beans
-
Constraint validator for
ValidBeanIdentity
. - ValidBeanIdentityValidator() - Constructor for class dev.orne.beans.ValidBeanIdentity.ValidBeanIdentityValidator
-
Creates a new instance.
- ValidBeanReference - Annotation Type in dev.orne.beans
-
Validation for beans that require at least a valid bean reference.
- ValidBeanReference.ValidBeanReferenceValidator - Class in dev.orne.beans
-
Constraint validator for
ValidBeanReference
. - ValidBeanReferenceValidator() - Constructor for class dev.orne.beans.ValidBeanReference.ValidBeanReferenceValidator
-
Creates a new instance.
- ValidIdentity - Annotation Type in dev.orne.beans
-
Validation for valid identities.
- ValidIdentity.ValidIdentityValidator - Class in dev.orne.beans
-
Constraint validator for
ValidBeanIdentity
onIdentity
instances. - ValidIdentity.ValidIdentityValidatorForString - Class in dev.orne.beans
-
Constraint validator for
ValidBeanIdentity
onString
identity tokens. - ValidIdentityToken - Annotation Type in dev.orne.beans
-
Validation for valid identity tokens.
- ValidIdentityTokenPrefix - Annotation Type in dev.orne.beans
-
Validation for valid identity token prefixes.
- ValidIdentityValidator() - Constructor for class dev.orne.beans.ValidIdentity.ValidIdentityValidator
-
Creates a new instance.
- ValidIdentityValidatorForString() - Constructor for class dev.orne.beans.ValidIdentity.ValidIdentityValidatorForString
-
Creates a new instance.
- value() - Element in annotation type dev.orne.beans.BeanReference.List
-
Returns the valid bean references.
- value() - Element in annotation type dev.orne.beans.BeanReference
-
Returns the validation groups that compose a bean reference.
- value() - Element in annotation type dev.orne.beans.ValidIdentity
-
Returns the type of
Identity
to resolve to.
W
- WeakHashMapCache() - Constructor for class dev.orne.beans.BeanAnnotationFinder.WeakHashMapCache
-
Creates a new instance.
- WeakHashMapCache() - Constructor for class dev.orne.beans.IdentityResolver.WeakHashMapCache
-
Creates a new instance.
- WritableIdentityBean - Interface in dev.orne.beans
-
Interface representing a bean with identity that allows assigning its identity.
Y
- YearConverter - Class in dev.orne.beans.converters
-
Implementation of
Converter
that convertsYear
instances to and fromString
using the year number asString
representation. - YearConverter() - Constructor for class dev.orne.beans.converters.YearConverter
-
Creates a new instance that throws a
ConversionException
if an error occurs. - YearConverter(DateTimeFormatter) - Constructor for class dev.orne.beans.converters.YearConverter
-
Creates a new instance that throws a
ConversionException
if an error occurs. - YearConverter(DateTimeFormatter, Year) - Constructor for class dev.orne.beans.converters.YearConverter
-
Creates a new instance that returns a default value if an error occurs.
- YearConverter(Year) - Constructor for class dev.orne.beans.converters.YearConverter
-
Creates a new instance that returns a default value if an error occurs.
- YearMonthConverter - Class in dev.orne.beans.converters
-
Implementation of
Converter
that convertsYearMonth
instances to and fromString
using "YYYY-MM" asString
representation. - YearMonthConverter() - Constructor for class dev.orne.beans.converters.YearMonthConverter
-
Creates a new instance that throws a
ConversionException
if an error occurs, using ISO-8601 as default conversion format. - YearMonthConverter(DateTimeFormatter) - Constructor for class dev.orne.beans.converters.YearMonthConverter
-
Creates a new instance that throws a
ConversionException
if an error occurs. - YearMonthConverter(DateTimeFormatter, YearMonth) - Constructor for class dev.orne.beans.converters.YearMonthConverter
-
Creates a new instance that returns a default value if an error occurs.
- YearMonthConverter(YearMonth) - Constructor for class dev.orne.beans.converters.YearMonthConverter
-
Creates a new instance that returns a default value if an error occurs, using ISO-8601 as default conversion format.
Z
- ZonedDateTimeConverter - Class in dev.orne.beans.converters
-
Implementation of
Converter
that convertsZonedDateTime
instances to and fromString
using ISO-8601 asString
representation by default. - ZonedDateTimeConverter() - Constructor for class dev.orne.beans.converters.ZonedDateTimeConverter
-
Creates a new instance that throws a
ConversionException
if an error occurs, using ISO-8601 as default conversion format. - ZonedDateTimeConverter(DateTimeFormatter) - Constructor for class dev.orne.beans.converters.ZonedDateTimeConverter
-
Creates a new instance that throws a
ConversionException
if an error occurs. - ZonedDateTimeConverter(DateTimeFormatter, ZonedDateTime) - Constructor for class dev.orne.beans.converters.ZonedDateTimeConverter
-
Creates a new instance that returns a default value if an error occurs.
- ZonedDateTimeConverter(ZonedDateTime) - Constructor for class dev.orne.beans.converters.ZonedDateTimeConverter
-
Creates a new instance that returns a default value if an error occurs, using ISO-8601 as default conversion format.
- ZoneOffsetConverter - Class in dev.orne.beans.converters
-
Implementation of
Converter
that convertsZoneOffset
instances to and fromString
using ID asString
representation by default. - ZoneOffsetConverter() - Constructor for class dev.orne.beans.converters.ZoneOffsetConverter
-
Creates a new instance that throws a
ConversionException
if an error occurs, using ISO-8601 as default conversion format. - ZoneOffsetConverter(DateTimeFormatter) - Constructor for class dev.orne.beans.converters.ZoneOffsetConverter
-
Creates a new instance that throws a
ConversionException
if an error occurs. - ZoneOffsetConverter(DateTimeFormatter, ZoneOffset) - Constructor for class dev.orne.beans.converters.ZoneOffsetConverter
-
Creates a new instance that returns a default value if an error occurs.
- ZoneOffsetConverter(ZoneOffset) - Constructor for class dev.orne.beans.converters.ZoneOffsetConverter
-
Creates a new instance that returns a default value if an error occurs, using ISO-8601 as default conversion format.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form