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.apache.openjpa.jdbc.meta.strats
Class NoneDiscriminatorStrategy

    java.lang.Object
      org.apache.openjpa.jdbc.meta.strats.AbstractStrategy
          org.apache.openjpa.jdbc.meta.strats.AbstractDiscriminatorStrategy
              org.apache.openjpa.jdbc.meta.strats.NoneDiscriminatorStrategy

All Implemented Interfaces:
  DiscriminatorStrategy, Strategy

    public class NoneDiscriminatorStrategy

extends AbstractDiscriminatorStrategy

No-op Discriminator strategy.

Author:
  Abe White

Field Summary
`static String` | `ALIAS`

Fields inherited from class org.apache.openjpa.jdbc.meta.strats.AbstractDiscriminatorStrategy
`disc, isFinal`

Method Summary
`String` | `getAlias()` Return the alias of this strategy.
`static NoneDiscriminatorStrategy` | `getInstance()` Return singleton instance.
`void` | `setDiscriminator(Discriminator owner)` Set the Discriminator that uses this strategy.

Methods inherited from class org.apache.openjpa.jdbc.meta.strats.AbstractDiscriminatorStrategy
`getClass, getClassConditions, loadSubclasses, select`

Methods inherited from class org.apache.openjpa.jdbc.meta.strats.AbstractStrategy
`customDelete, customInsert, customUpdate, delete, initialize, insert, isCustomDelete, isCustomInsert, isCustomUpdate, map, update`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods inherited from interface org.apache.openjpa.jdbc.meta.Strategy
`customDelete, customInsert, customUpdate, delete, initialize, insert, isCustomDelete, isCustomInsert, isCustomUpdate, map, update`

Field Detail

### ALIAS

    public static final String ALIAS

See Also:
  Constant Field Values

Method Detail

### getInstance

    public static NoneDiscriminatorStrategy getInstance()

  Return singleton instance.

### getAlias

    public String getAlias()

  Description copied from interface: `Strategy`
  Return the alias of this strategy. For custom strategies, return the full class name.

  Specified by:
    `getAlias` in interface `Strategy`
  Overrides:
    `getAlias` in class `AbstractStrategy`

### setDiscriminator

    public void setDiscriminator(Discriminator owner)

  Description copied from interface: `DiscriminatorStrategy`
  Set the Discriminator that uses this strategy. This will be called before use.

  Specified by:
    `setDiscriminator` in interface `DiscriminatorStrategy`
  Overrides:
    `setDiscriminator` in class `AbstractDiscriminatorStrategy`

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 © 2006 Apache Software Foundation. All Rights Reserved.