Class ForeignGenerator

    • Field Detail

      • PROPERTY

        public static final String PROPERTY
        Deprecated, for removal: This API element is subject to removal in a future version.
        The parameter which specifies the property holding a reference to the associated object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ForeignGenerator

        public ForeignGenerator()
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Method Detail

      • getEntityName

        public String getEntityName()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Getter for property 'entityName'.
        Returns:
        Value for property 'entityName'.
      • getPropertyName

        public String getPropertyName()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Getter for property 'propertyName'.
        Returns:
        Value for property 'propertyName'.
      • getRole

        public String getRole()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Getter for property 'role'. Role is the property name qualified by the entity name.
        Returns:
        Value for property 'role'.
      • generate

        public Object generate​(SharedSessionContractImplementor sessionImplementor,
                               Object object)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: IdentifierGenerator
        Generate a new identifier.
        Specified by:
        generate in interface IdentifierGenerator
        Parameters:
        sessionImplementor - The session from which the request originates
        object - the entity or collection (idbag) for which the id is being generated
        Returns:
        a new identifier