Interface ResourceObjectTypeDefinition

All Superinterfaces:
AssociationDefinitionStore, AttributeDefinitionStore, Cloneable, ComplexTypeDefinition, DebugDumpable, Definition, Freezable, IdentifiersDefinitionStore, LayeredDefinition, LocalItemDefinitionStore, PrismContextSensitive, ResourceObjectDefinition, Revivable, Serializable, SmartVisitable<Definition>, TypeDefinition, Visitable<Definition>
All Known Subinterfaces:
ResourceObjectTypeDefinitionDelegator
All Known Implementing Classes:
ResourceObjectTypeDefinitionImpl

public interface ResourceObjectTypeDefinition extends ResourceObjectDefinition
Definition of "resource object type". Roughly corresponds to an `objectType` section in `schemaHandling` part of resource definition.
  • Method Details

    • createShadowSearchQuery

      @NotNull default @NotNull ObjectQuery createShadowSearchQuery(String resourceOid) throws SchemaException
      Description copied from interface: ResourceObjectDefinition
      Creates a query for obtaining shadows related to this object class or object type. The current implementations return either: - a combination of resource OID + object class name, or - a combination of resource OID + kind + intent.
      Specified by:
      createShadowSearchQuery in interface ResourceObjectDefinition
      Throws:
      SchemaException
    • getTypeIdentification

      @NotNull @NotNull ResourceObjectTypeIdentification getTypeIdentification()
      Identification (kind+intent) of this object type.
      Specified by:
      getTypeIdentification in interface ResourceObjectDefinition
    • getTypeDefinition

      @NotNull @NotNull ResourceObjectTypeDefinition getTypeDefinition()
      Description copied from interface: ResourceObjectDefinition
      Is this definition bound to a specific resource type? If yes, this method returns its definition.
      Specified by:
      getTypeDefinition in interface ResourceObjectDefinition
    • getKind

      @NotNull @NotNull ShadowKindType getKind()
      Kind of objects covered by this object type.
    • getIntent

      @NotNull @NotNull String getIntent()
      Intent defining this object type (along with getKind()).
    • matches

      default boolean matches(@NotNull @NotNull ShadowKindType kind, @NotNull @NotNull String intent)
      Returns true if this object type matches specified (non-null) kind and intent.
    • matchesKind

      default boolean matchesKind(@Nullable @Nullable ShadowKindType kind)
      Returns true if the type definition is of specified kind. Kind of `null` matches all definitions.
    • isDefaultForKind

      boolean isDefaultForKind()
      Is this type explicitly marked as the default object type for given kind? (using default or defaultForKind property).
      See Also:
    • isDefaultForObjectClass

      boolean isDefaultForObjectClass()
      Is this type explicitly marked as the default object type for given object class? (using default or defaultForObjectClass property).
      See Also:
    • forLayerMutable

      @NotNull @NotNull ResourceObjectTypeDefinition forLayerMutable(@NotNull @NotNull LayerType layer)
      Description copied from interface: ResourceObjectDefinition
      Creates a layer-specific mutable version of this definition.
      Specified by:
      forLayerMutable in interface ResourceObjectDefinition
    • getConfiguredCapability

      @Nullable <T extends CapabilityType> T getConfiguredCapability(Class<T> capabilityClass)
      Returns the configured capability of given class, if present.
    • getCorrelationDefinitionBean

      @Nullable @Nullable CorrelationDefinitionType getCorrelationDefinitionBean()
      Returns the correlation definition bean, if present here. (It may be standalone.)
    • isSynchronizationEnabled

      @Nullable @Nullable Boolean isSynchronizationEnabled()
      Returns the "synchronization enabled" flag value, if present here. (It may be standalone.) FIXME
    • isSynchronizationOpportunistic

      @Nullable @Nullable Boolean isSynchronizationOpportunistic()
      Returns the "synchronization opportunistic" flag value, if present here. (It may be standalone.)
    • getFocusTypeName

      @Nullable @Nullable QName getFocusTypeName()
      Returns the focus type name, if present here. (It may be standalone.)
    • getArchetypeRef

      @Nullable @Nullable ObjectReferenceType getArchetypeRef()
      Archetype reference - not present in standalone definitions.
    • getArchetypeOid

      @Nullable default @Nullable String getArchetypeOid()
      Archetype OID - a convenience method.
    • hasSynchronizationReactionsDefinition

      boolean hasSynchronizationReactionsDefinition()
      Returns true if there is "synchronization reactions" definition section here (even if it's empty).
    • getSynchronizationReactions

      @NotNull @NotNull Collection<SynchronizationReactionDefinition> getSynchronizationReactions()
      Returns the synchronization reactions defined here. (They may be standalone.)
    • getClassificationCondition

      @Nullable @Nullable ExpressionType getClassificationCondition()
      Temporary?