org.qi4j.api.entity
Interface Identity

All Known Subinterfaces:
AbstractEntityStoreTest.TestEntity, AbstractValueCompositeSerializationTest.BarEntity, AccountEntity, AlarmPointEntity, AlarmPointFactory, AlarmProxy.Factory, AlarmSystemService, ApplicationManagerService, C3P0DataSourceServiceImporter, CatEntity, CircuitBreakerManagement, CityEntity, CompositeDebugRecordEntity, CompositeLogRecord, CompositeTraceRecordEntity, ConfigurationComposite, ConfigurationManagerService, ConstraintService, CronSchedule, CronScheduleEntity, CronScheduleValue, DatabaseSQLService.DatabaseSQLServiceComposite, DataSourceConfiguration, DataSourceConfigurationManagerService, DBCPDataSourceServiceImporter, DebuggingServiceComposite, DebugServiceConfiguration, DogEntity, DomainEntity, ElasticSearchClusterConfiguration, ElasticSearchConfiguration, EmbeddedSolrService, EntityComposite, EntityDebugRecordEntity, EntityToValueService, EntityTraceRecordEntity, EnvironmentLoaderService, ESClusterIndexQueryService, ESFilesystemIndexQueryService, ESMemoryIndexQueryService, ExtendedAlarmModelService, FemaleEntity, FileConfigurationService, FileEntityStoreConfiguration, FileEntityStoreService, HazelcastConfiguration, HazelcastEntityStoreService, HttpRepositoryConfiguration, HttpRepositoryService, JCloudsMapEntityStoreConfiguration, JCloudsMapEntityStoreService, JdbmConfiguration, JdbmEntityStoreService, JettyConfiguration, JettyService, JMXConnectorConfiguration, JMXConnectorService, LiquibaseConfiguration, LiquibaseService, LoggingServiceComposite, MaleEntity, MemoryEntityStoreService, MemoryRepositoryService, MigrationConfiguration, MigrationService, MongoEntityStoreConfiguration, MongoMapEntityStoreService, NativeConfiguration, NativeRepositoryService, OnceSchedule, OnceScheduleEntity, OnceScheduleValue, OSGiEnabledService, OSGiServiceExporter, PasswordRealmConfiguration, PasswordRealmService, PasswordSecurable, PersistingSequencingService, PersonEntity, PetEntity, PostgreSQLService, PreferencesEntityStoreService, Qi4jServerServletService, RdbmsRepositoryService, RdfIndexingEngineService, RdfQueryParserFactory, RdfQueryService, RedisEntityStoreConfiguration, RedisMapEntityStoreService, ReindexAllService, ReindexerConfiguration, ReindexerService, RestServerComposite, RiakHttpEntityStoreConfiguration, RiakMapEntityStoreService, RiakProtobufEntityStoreConfiguration, Role, RoleAssignee, RoleAssignment, RoleFactory, Schedule, ScheduleFactory, SchedulerConfiguration, SchedulerService, Schedules, SecureJettyConfiguration, SecureJettyService, SequenceEntity, ServiceComposite, ServiceDebugRecordEntity, ServiceTraceRecordEntity, ShiroFilterService, ShiroIniConfiguration, SimpleAlarmModelService, SolrQueryService, SQLConfiguration, SQLEntityStoreService, SQLIndexingEngineService, StandardAlarmModelService, StandardTraceServiceComposite, TraceServiceConfiguration, TransientSequencingService, UnitOfWorkFilterService, UoWFileFactory, UuidIdentityGeneratorService, UuidServiceComposite, WelcomeServletService
All Known Implementing Classes:
AlarmPointFactory.Mixin, AlarmProxy.FactoryMixin, ApplicationManagerService.Mixin, CircuitBreakerManagement.Mixin, ConfigurationManagerService.Mixin, ConstraintService.Mixin, CronSchedule.CronScheduleMixin, DataSourceConfigurationManagerService.Mixin, EmbeddedSolrService.Mixin, FileConfigurationService.Mixin, Identity.IdentityMixin, JMXConnectorService.JmxConnectorMixin, LiquibaseService.Mixin, MemoryRepositoryService.MemoryRepositoryMixin, MigrationService.MigrationMixin, NativeRepositoryService.NativeRepositoryMixin, OnceSchedule.OnceScheduleMixin, OSGiEnabledService.OSGiEnabledServiceMixin, OSGiServiceExporter.OSGiServiceExporterMixin, RdbmsRepositoryService.RdbmsRepositoryMixin, RdfQueryParserFactory.RdfQueryParserFactoryMixin, RestServerMixin, Role.Mixin, RoleAssignee.Mixin, RoleFactory.Mixin, ScheduleFactory.Mixin, SolrEntityIndexerMixin, TimelineForScheduleConcern, TimelineSchedulerServiceMixin, UoWFileFactory.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
          Default Identity implementation.
 
Method Summary
 Property<java.lang.String> identity()
          Returns the client view of the identity.
 

Method Detail

identity

@Immutable
Property<java.lang.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.