Annotation Type WithLongVKey


  • @Target(TYPE)
    public @interface WithLongVKey
    Annotation for Entity which id is long type and needs an AttributeConverter for its VKey.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String classNameSuffix
      Sets the suffix of the class name for the AttributeConverter generated by LongVKeyProcessor.
      boolean compositeKey
      Set to true if this is a composite vkey.
    • Element Detail

      • classNameSuffix

        java.lang.String classNameSuffix
        Sets the suffix of the class name for the AttributeConverter generated by LongVKeyProcessor. If not set, the suffix will be the type name of the VKey. Note that the class name will be "VKeyConverter_" concatenated with the suffix.
        Default:
        ""
      • compositeKey

        boolean compositeKey
        Set to true if this is a composite vkey.

        For composite VKeys, we don't attempt to define an objectify key when loading from SQL: the enclosing class has to take care of that.

        Default:
        false