Class EntityDefinition
- java.lang.Object
-
- com.evolveum.midpoint.repo.sql.query.definition.Definition
-
- com.evolveum.midpoint.repo.sql.query.definition.EntityDefinition
-
- All Implemented Interfaces:
DebugDumpable
- Direct Known Subclasses:
VirtualEntityDefinition
public class EntityDefinition extends Definition
- Author:
- lazyman
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description EntityDefinition(QName jaxbName, Class jaxbType, String jpaName, Class jpaType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDefinition(Definition definition)
String
debugDump(int indent)
<D extends Definition>
DfindDefinition(ItemPath path, Class<D> type)
<D extends Definition>
DfindLocalDefinition(@NotNull QName jaxbName, @NotNull Class<D> type)
protected String
getDebugDumpClassName()
Return a human readable name of this class suitable for logs.List<Definition>
getDefinitions()
boolean
isEmbedded()
protected void
toStringExtended(StringBuilder builder)
-
Methods inherited from class com.evolveum.midpoint.repo.sql.query.definition.Definition
dumpQName, getJaxbName, getJaxbType, getJpaName, getJpaType, 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
-
isEmbedded
public boolean isEmbedded()
-
getDefinitions
public List<Definition> getDefinitions()
-
addDefinition
public void addDefinition(Definition definition)
-
toStringExtended
protected void toStringExtended(StringBuilder builder)
- Overrides:
toStringExtended
in classDefinition
-
debugDump
public String debugDump(int indent)
- Specified by:
debugDump
in interfaceDebugDumpable
- Overrides:
debugDump
in classDefinition
-
getDebugDumpClassName
protected String getDebugDumpClassName()
Description copied from class:Definition
Return a human readable name of this class suitable for logs.- Specified by:
getDebugDumpClassName
in classDefinition
-
findDefinition
public <D extends Definition> D findDefinition(ItemPath path, Class<D> type)
- Overrides:
findDefinition
in classDefinition
-
findLocalDefinition
public <D extends Definition> D findLocalDefinition(@NotNull @NotNull QName jaxbName, @NotNull @NotNull Class<D> type)
- Overrides:
findLocalDefinition
in classDefinition
-
-