Annotation Type DbPersistent


  • @Retention(RUNTIME)
    public @interface DbPersistent
    Mark a getter or setter with this annotation to define it as a column in the database. DbPrimaryKey will have the same effect. If you mark a getter or setter as persistent both functions getter and setter must exist and be public. Fou boolenas the getter can also have a 'is...' notation.
    Author:
    mikehummel
    • Element Detail

      • size

        int size
        Default:
        201
      • type

        DbType.TYPE type
        Default:
        de.mhus.lib.annotations.adb.DbType.TYPE.UNKNOWN
      • nullable

        boolean nullable
        Default:
        true
      • auto_id

        boolean auto_id
        Default:
        false
      • virtual

        boolean virtual
        Default:
        false
      • features

        String[] features
        Default:
        {}
      • hints

        String[] hints
        Default:
        {}
      • description

        String description
        Default:
        ""
      • ro

        boolean ro
        Default:
        false