Package de.caluga.morphium.annotations
Annotation Type Entity
-
@Target(TYPE) @Retention(RUNTIME) public @interface Entity
User: Stpehan Bösebeck Date: 26.03.12 Time: 11:14
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description StringcollectionNameStringcommentClass<? extends NameProvider>nameProviderbooleanpolymorphseveral different objects of same type stored in one collection if set, className is stored in objectEntity.ReadConcernLevelreadConcernLevelStringschemaDefbooleantranslateCamelCaseStringtypeIdbooleanuseFQNuse Full Qualified Name as collection nameEntity.ValidationActionvalidationActionEntity.ValidationLevelvalidationLevel
-
-
-
Element Detail
-
collectionName
String collectionName
- Default:
- "."
-
-
-
schemaDef
String schemaDef
- Default:
- ""
-
-
-
comment
String comment
- Default:
- ""
-
-
-
validationLevel
Entity.ValidationLevel validationLevel
- Default:
- de.caluga.morphium.annotations.Entity.ValidationLevel.off
-
-
-
validationAction
Entity.ValidationAction validationAction
- Default:
- de.caluga.morphium.annotations.Entity.ValidationAction.warn
-
-
-
typeId
String typeId
- Default:
- "."
-
-
-
readConcernLevel
Entity.ReadConcernLevel readConcernLevel
- Default:
- de.caluga.morphium.annotations.Entity.ReadConcernLevel.majority
-
-
-
nameProvider
Class<? extends NameProvider> nameProvider
- Default:
- de.caluga.morphium.DefaultNameProvider.class
-
-