Annotation Type Entity

    • 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
      • translateCamelCase

        boolean translateCamelCase
        Default:
        true
      • typeId

        String typeId
        Default:
        "."
      • useFQN

        boolean useFQN
        use Full Qualified Name as collection name
        Returns:
        Default:
        false
      • polymorph

        boolean polymorph
        several different objects of same type stored in one collection if set, className is stored in object
        Default:
        false
      • readConcernLevel

        Entity.ReadConcernLevel readConcernLevel
        Default:
        de.caluga.morphium.annotations.Entity.ReadConcernLevel.majority
      • nameProvider

        Class<? extends NameProvider> nameProvider
        Default:
        de.caluga.morphium.DefaultNameProvider.class