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:
Serializable
,DiscriminatorStrategy
,Strategy
No-op Discriminator strategy.
- Author:
- Abe White
- See Also:
-
Field Summary
Fields inherited from class org.apache.openjpa.jdbc.meta.strats.AbstractDiscriminatorStrategy
disc, isFinal
-
Method Summary
Modifier and TypeMethodDescriptiongetAlias()
Return the alias of this strategy.static NoneDiscriminatorStrategy
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, hasClassConditions, 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 Details
-
ALIAS
- See Also:
-
-
Method Details
-
getInstance
Return singleton instance. -
getAlias
Description copied from interface:Strategy
Return the alias of this strategy. For custom strategies, return the full class name.- Specified by:
getAlias
in interfaceStrategy
- Overrides:
getAlias
in classAbstractStrategy
-
setDiscriminator
Description copied from interface:DiscriminatorStrategy
Set the Discriminator that uses this strategy. This will be called before use.- Specified by:
setDiscriminator
in interfaceDiscriminatorStrategy
- Overrides:
setDiscriminator
in classAbstractDiscriminatorStrategy
-