程序包 org.hibernate.id

类 ForeignGenerator

    • 构造器详细资料

      • ForeignGenerator

        public ForeignGenerator()
    • 方法详细资料

      • getEntityName

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

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

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

        public void configure​(Type type,
                              Properties params,
                              ServiceRegistry serviceRegistry)
                       throws MappingException
        从接口复制的说明: Configurable
        Configure this instance, given the value of parameters specified by the user as <param> elements. This method is called just once, following instantiation.
        指定者:
        configure 在接口中 Configurable
        参数:
        type - The id property type descriptor
        params - param values, keyed by parameter name
        serviceRegistry - Access to service that may be needed.
        抛出:
        MappingException