org.qi4j.api.entity
Interface Identity

All Known Subinterfaces:
AbstractEntityStoreTest.TestEntity, AccountEntity, ActionService, ApplicationEvent, ApplicationEventFactoryService, ApplicationEventPlayerService, ApplicationManagerService, AuthorizationService, CatEntity, CircuitBreakerManagement, CityEntity, CompositeDebugRecordEntity, CompositeLogRecord, CompositeTraceRecordEntity, ConfigurationComposite, ConfigurationManagerService, DatabaseSQLService.DatabaseSQLServiceComposite, DataSourceConfiguration, DataSourceConfigurationManagerService, DataSourceService, DataSourceServiceComposite, DBCPDataSourceConfiguration, DebuggingServiceComposite, DebugServiceConfiguration, DogEntity, DomainEntity, DomainEventFactoryService, DomainEventPlayerService, DomainEventTrackerConfiguration, EhCacheConfiguration, EhCachePoolService, EmbeddedSolrService, EntityComposite, EntityDebugRecordEntity, EntityToValueService, EntityTraceRecordEntity, FemaleEntity, FileConfiguration, FileEntityStoreConfiguration, FileEntityStoreService, GaeEntityStoreConfiguration, GaeEntityStoreService, GaeEntityStoreService, GaeIdGeneratorService, Group, HazelcastConfiguration, HazelcastEntityStoreService, HttpRepositoryConfiguration, HttpRepositoryService, JaxWsService, JdbmConfiguration, JdbmEntityStoreService, JdbmEventStoreService, JettyConfiguration, JMXConnectorConfiguration, JMXConnectorService, LiquibaseConfiguration, LiquibaseService, LoggingServiceComposite, MaleEntity, MemoryEntityStoreService, MemoryEventStoreService, MemoryRepositoryService, MigrationConfiguration, MigrationService, NamedPermission, NativeConfiguration, NativeRepositoryService, NeoConfiguration, NeoEntityStoreService, OSGiEnabledService, OSGiServiceExporter, Permission, PermissionFactory, PersistingSequencingService, PersonEntity, PetEntity, PGDataSourceConfiguration, PostgreSQLService, PreferencesEntityStoreService, Qi4jServerServletService, Qi4jVaadinApplicationServletService, RdbmsRepositoryService, RdfIndexingEngineService, RdfQueryParserFactory, RdfQueryService, ReindexAllService, ReindexerConfiguration, ReindexerService, ReindexingStrategy.ReindexingStrategyService, RestServerComposite, Role, Role, RoleAssignment, RoleAssignment, RoleFactory, ScheduleEntity, ScheduleFactory, SchedulerConfiguration, ScheduleRepository, SchedulerService, SecureHashFactory, SequenceEntity, ServiceComposite, ServiceDebugRecordEntity, ServiceTraceRecordEntity, ShiroLifecycleService, SolrQueryService, SQLConfiguration, SQLEntityStoreService, SQLIndexingEngineService, StandardTraceServiceComposite, TimelineRecordEntity, TimelineRecorderService, TimelineService, TraceServiceConfiguration, TransientSequencingService, UnitOfWorkFilterService, User, UuidIdentityGeneratorService, UuidServiceComposite, VoldemortConfiguration, VoldemortEntityStoreService, WelcomeServletService, X509, X509Factory, X509Light, X509LightFactory
All Known Implementing Classes:
AuthorizationMixin, DBCPBasicDataSourceServiceMixin, EmbeddedSolrService.EmbeddedSolrServiceMixin, FileConfiguration.Mixin, Identity.IdentityMixin, JaxWsService.JaxWsMixin, OSGiEnabledService.OSGiEnabledServiceMixin, OSGiServiceExporter.OSGiServiceExporterMixin, PermissionFactory.Mixin, RdfQueryParserFactory.RdfQueryParserFactoryMixin, Role.Mixin, RoleFactory.Mixin, ScheduleEntityMixin, ScheduleFactory.Mixin, ScheduleRepository.Mixin, SecureHashFactory.Mixin, ShiroLifecycleService.Mixin, TimelineRecorderService.Mixin, X509.Mixin, X509Factory.Mixin, X509LightFactory.Mixin

@Mixins(value=Identity.IdentityMixin.class)
public interface Identity

This interface provides the identity of the object which may be used to store the state in a database. It is not the responsibility of the framework to come up with a good identity string.


Nested Class Summary
static class Identity.IdentityMixin
           
 
Method Summary
 Property<String> identity()
          Returns the client view of the identity.
 

Method Detail

identity

@Immutable
Property<String> identity()
Returns the client view of the identity.

It is unique within the owning repository, but potentially not unique globally and between types.

Returns:
The Identity of 'this' composite.