Class ForeignGenerator

    • Constructor Detail

      • ForeignGenerator

        public ForeignGenerator()
    • Method Detail

      • getEntityName

        public String getEntityName()
        Getter for property 'entityName'.
        Returns:
        Value for property 'entityName'.
      • getPropertyName

        public String getPropertyName()
        Getter for property 'propertyName'.
        Returns:
        Value for property 'propertyName'.
      • getRole

        public String getRole()
        Getter for property 'role'. Role is the property name qualified by the entity name.
        Returns:
        Value for property 'role'.
      • configure

        public void configure​(Type type,
                              Properties params,
                              ServiceRegistry serviceRegistry)
                       throws MappingException
        Description copied from interface: Configurable
        Configure this instance, given the value of parameters specified by the user as <param> elements. This method is called just once, following instantiation.
        Specified by:
        configure in interface Configurable
        Parameters:
        type - The id property type descriptor
        params - param values, keyed by parameter name
        serviceRegistry - Access to service that may be needed.
        Throws:
        MappingException