Class ResourceObjectClass
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.sync.tasks.ResourceObjectClass
-
- All Implemented Interfaces:
DebugDumpable
public class ResourceObjectClass extends Object implements DebugDumpable
Specifies the object class (on given resource) against which a synchronization will be executed. We keep the following: - resolved resource, - resolved object class definition (refined or raw), - kind & intent (if specified). The role of kind and intent is indirect: they are used only forgetCoords()
andgetObjectFilter()
methods. Note that the object class handling in synchronization task is currently quite counter-intuitive. Please seeSyncTaskHelper
and MID-7470 for more information.
-
-
Field Summary
Fields Modifier and Type Field Description @NotNull ResourceType
resource
The resolved resource.-
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
checkResourceUp()
ItemDefinitionProvider
createItemDefinitionProvider()
ReturnsItemDefinitionProvider
for bucketing over objects in this object class.String
debugDump(int indent)
String
getContextDescription()
@NotNull ResourceShadowDiscriminator
getCoords()
@NotNull QName
getObjectClassName()
@NotNull SynchronizationObjectsFilterImpl
getObjectFilter()
@NotNull ResourceType
getResource()
@Nullable ResourceObjectDefinition
getResourceObjectDefinition()
@NotNull ResourceObjectDefinition
getResourceObjectDefinitionRequired()
String
getResourceOid()
@NotNull ObjectReferenceType
getResourceRef()
String
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
-
-
-
-
Field Detail
-
resource
@NotNull public final @NotNull ResourceType resource
The resolved resource.
-
-
Method Detail
-
getCoords
@NotNull public @NotNull ResourceShadowDiscriminator getCoords()
-
getResource
@NotNull public @NotNull ResourceType getResource()
-
getResourceRef
@NotNull public @NotNull ObjectReferenceType getResourceRef()
-
getResourceObjectDefinition
@Nullable public @Nullable ResourceObjectDefinition getResourceObjectDefinition()
-
getResourceObjectDefinitionRequired
@NotNull public @NotNull ResourceObjectDefinition getResourceObjectDefinitionRequired()
-
getObjectClassName
@NotNull public @NotNull QName getObjectClassName()
-
getObjectFilter
@NotNull public @NotNull SynchronizationObjectsFilterImpl getObjectFilter()
-
getContextDescription
public String getContextDescription()
-
getResourceOid
public String getResourceOid()
-
checkResourceUp
public void checkResourceUp()
-
createItemDefinitionProvider
public ItemDefinitionProvider createItemDefinitionProvider()
ReturnsItemDefinitionProvider
for bucketing over objects in this object class.
-
debugDump
public String debugDump(int indent)
- Specified by:
debugDump
in interfaceDebugDumpable
-
-