Class JpaPropertyDefinition
- java.lang.Object
-
- com.evolveum.midpoint.repo.sql.query2.definition.JpaDataNodeDefinition
-
- com.evolveum.midpoint.repo.sql.query2.definition.JpaPropertyDefinition
-
- All Implemented Interfaces:
Visitable
,DebugDumpable
- Direct Known Subclasses:
JpaAnyPropertyDefinition
public class JpaPropertyDefinition extends JpaDataNodeDefinition
- Author:
- lazyman
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(Visitor visitor)
String
debugDump(int indent)
protected String
getDebugDumpClassName()
boolean
isCount()
boolean
isEnumerated()
boolean
isIndexed()
boolean
isLob()
boolean
isNeverNull()
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
-
-
-
-
Method Detail
-
isLob
public boolean isLob()
-
isEnumerated
public boolean isEnumerated()
-
isIndexed
public boolean isIndexed()
-
isCount
public boolean isCount()
-
isNeverNull
public boolean isNeverNull()
-
getDebugDumpClassName
protected String getDebugDumpClassName()
- Specified by:
getDebugDumpClassName
in classJpaDataNodeDefinition
-
nextLinkDefinition
public DataSearchResult nextLinkDefinition(ItemPath path, ItemDefinition itemDefinition, PrismContext prismContext)
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.
-
accept
public void accept(Visitor visitor)
-
debugDump
public String debugDump(int indent)
-
-