Uses of Interface
dev.orne.beans.Identity
Package
Description
Utilities for bean manipulation.
Extra converters for Apache commons beanutils.
-
Uses of Identity in dev.orne.beans
Modifier and TypeClassDescriptionclass
Abstract implementation forIdentity
for identities composed of a multiple inner values.class
Base abstract implementation forIdentity
.class
AbstractSimpleIdentity<T extends Serializable>
Abstract implementation forIdentity
for identities composed of a single inner value.class
Implementation forIdentity
for identities composed of a single innerBigInteger
value.class
Implementation forIdentity
for identities composed of a single innerLong
value.class
Implementation forIdentity
for identities composed of a single innerString
value.class
Implementation ofIdentity
for identities of unknown format restored from identity tokens.Modifier and TypeMethodDescriptiondefault <T extends Identity>
TResolves this identity to an identity of the specified target type.<T extends Identity>
TResolves the specified source identity to an identity of the specified target type.<T extends Identity>
TResolves the specified source identity token to an identity of the specified target type.Modifier and TypeMethodDescriptionBaseIdentityBean.getIdentity()
Returns the instance's identity.@NotNull(groups=RequireIdentity.class) @Valid @ConvertGroup(from=RequireIdentity.class,to=javax.validation.groups.Default.class) Identity
IdentityBean.getIdentity()
Returns the instance's identity.Modifier and TypeMethodDescriptionstatic boolean
Returnstrue
if specified bean is valid reference to it's bean type.static boolean
ValidIdentity.ValidIdentityValidator.isValid
(@NotNull Identity value, @NotNull Class<? extends Identity> expectedType) Returnstrue
if specified bean is valid reference to it's bean type.boolean
ValidIdentity.ValidIdentityValidator.isValid
(Identity value, javax.validation.ConstraintValidatorContext context) Serializes specifiedIdentity
as aString
value.<T extends Identity>
TResolves the specified source identity to an identity of the specified target type.void
BaseIdentityBean.setIdentity
(Identity identity) Sets the instance's identity.void
WritableIdentityBean.setIdentity
(Identity identity) Sets the instance's identity.Modifier and TypeMethodDescriptionboolean
Returnstrue
if this instance contains an entry for the specified identity type.boolean
Returnstrue
if this instance contains an entry for the specified identity type.Returns the cached identity token resolution executable for the specified identity type, if any.Returns the cached identity token resolution executable for the specified identity type, if any.protected @NotNull Executable
IdentityResolver.getResolver
(@NotNull Class<? extends Identity> targetType) Returns the method or constructor to be used to resolve identity tokens for the specified target identity type.static boolean
ValidIdentity.ValidIdentityValidator.isValid
(@NotNull Identity value, @NotNull Class<? extends Identity> expectedType) Returnstrue
if specified bean is valid reference to it's bean type.static boolean
ValidIdentity.ValidIdentityValidatorForString.isValid
(@NotNull String value, @NotNull Class<? extends Identity> expectedType) Returnstrue
if specified bean is valid reference to it's bean type.void
IdentityResolver.Cache.put
(@NotNull Class<? extends Identity> key, Executable value) Puts the specified identity token resolution executable for the specified identity type.void
IdentityResolver.WeakHashMapCache.put
(@NotNull Class<? extends Identity> key, Executable value) Puts the specified identity token resolution executable for the specified identity type. -
Uses of Identity in dev.orne.beans.converters
Modifier and TypeMethodDescriptionprotected Identity
IdentityBeanConverter.convertIdentity
(Object value) Converts the value to aIdentity
instance.ModifierConstructorDescriptionIdentityConverter
(Identity defaultValue) Creates a new instance that returns a default value if an error occurs.