Interface IdentityBean

All Known Subinterfaces:
WritableIdentityBean
All Known Implementing Classes:
BaseIdentityBean

@API(status=STABLE, since="0.1") @BeanReference(RequireIdentity.class) public interface IdentityBean
Interface representing a bean with identity. Allows hiding the actual identity implementation from referencing users.
Since:
0.1
Version:
1.0, 2020-05
Author:
(w) Iker Hernaez
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Validation group to require a valid identity.
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull(groups=RequireIdentity.class) @Valid @ConvertGroup(from=RequireIdentity.class,to=javax.validation.groups.Default.class) Identity
    Returns the instance's identity.