Class JpaAnyContainerDefinition
- java.lang.Object
-
- com.evolveum.midpoint.repo.sql.query2.definition.JpaDataNodeDefinition
-
- com.evolveum.midpoint.repo.sql.query2.definition.JpaAnyContainerDefinition
-
- All Implemented Interfaces:
Visitable
,DebugDumpable
- Direct Known Subclasses:
VirtualAnyContainerDefinition
public class JpaAnyContainerDefinition extends JpaDataNodeDefinition
- Author:
- lazyman
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description JpaAnyContainerDefinition(Class jpaClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(Visitor visitor)
String
debugDump(int indent)
protected String
getDebugDumpClassName()
protected RObjectExtensionType
getOwnerType()
DataSearchResult
nextLinkDefinition(ItemPath path, ItemDefinition itemDefinition, PrismContext prismContext)
Tries to find "next step" in the translation process for a given ItemPath.-
Methods inherited from class com.evolveum.midpoint.repo.sql.query2.definition.JpaDataNodeDefinition
getJaxbClass, getJpaClass, getJpaClassName, getShortInfo, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
-
-
-
Constructor Detail
-
JpaAnyContainerDefinition
public JpaAnyContainerDefinition(Class jpaClass)
-
-
Method Detail
-
getDebugDumpClassName
protected String getDebugDumpClassName()
- Specified by:
getDebugDumpClassName
in classJpaDataNodeDefinition
-
nextLinkDefinition
public DataSearchResult nextLinkDefinition(ItemPath path, ItemDefinition itemDefinition, PrismContext prismContext) throws QueryException
Description copied from class:JpaDataNodeDefinition
Tries to find "next step" in the translation process for a given ItemPath.- Specified by:
nextLinkDefinition
in classJpaDataNodeDefinition
- Parameters:
path
- A path to be resolved. Always non-null and non-empty. Should produce at least one transition.itemDefinition
- Item definition for the item being sought. Needed only for "any" items.- Returns:
- - Normally it returns the search result containing next item definition (entity, collection, ...) in the chain and the unresolved remainder of the path. The transition may be empty ("self") e.g. for metadata or construction. - If the search was not successful, returns null.
- Throws:
QueryException
-
getOwnerType
protected RObjectExtensionType getOwnerType()
-
accept
public void accept(Visitor visitor)
-
debugDump
public String debugDump(int indent)
-
-