TypeDiscriminatorMetadata (Hibernate JavaDocs)
Date: 2012-04-05

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.hibernate.hql.internal.ast
Interface TypeDiscriminatorMetadata

    public interface TypeDiscriminatorMetadata

Essentially a wrapper around a `DiscriminatorMetadata` and the proper sql alias to use.

Method Summary
`Type` | `getResolutionType()` Get the type used to resolve the actual discriminator value resulting from `getSqlFragment()` back into a `Class` reference.
`String` | `getSqlFragment()` Get the sql fragment that is used to determine the actual discriminator value for a row.

Method Detail

### getSqlFragment

    String getSqlFragment()

  Get the sql fragment that is used to determine the actual discriminator value for a row.

  Returns:
    The fragment

### getResolutionType

    Type getResolutionType()

  Get the type used to resolve the actual discriminator value resulting from `getSqlFragment()` back into a `Class` reference.

  Returns:
    The resolution type.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.