Class EnumStoreVAccessor<E extends Entity,​V extends Enum<V> & MasterDataEnum<E>>

    • Constructor Detail

      • EnumStoreVAccessor

        public EnumStoreVAccessor​(Class<E> clazz,
                                  String role,
                                  Class<V> enumClass)
        Constructor.
        Parameters:
        clazz - the entity class
        role - the role of the association (case of multiple associations with the same entity)
    • Method Detail

      • getEnumValue

        public V getEnumValue()
        Retrieves the values of the remote entity as an Enum value
        Returns:
        the enum value representing the distant entity
      • setEnumValue

        public void setEnumValue​(V enumValue)
        Set the value of the remote entity as an Enum value
        Parameters:
        enumValue -