Interface NativeResourceSchema
- All Superinterfaces:
Cloneable
,DebugDumpable
,Freezable
,Serializable
,SerializableSchema
- All Known Implementing Classes:
NativeResourceSchemaImpl
public interface NativeResourceSchema
extends SerializableSchema, Serializable, Freezable, Cloneable, DebugDumpable
The resource schema as obtained from the connector (or manually specified via XSD).
Not a
PrismSchema
. Needed only to build "refined" CompleteResourceSchema
.-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
-
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Method Summary
Modifier and TypeMethodDescription@NotNull NativeResourceSchema
clone()
@Nullable NativeObjectClassDefinition
findObjectClassDefinition
(@NotNull QName objectClassName) @Nullable NativeReferenceTypeDefinition
findReferenceTypeDefinition
(@NotNull QName className) @NotNull Collection<? extends NativeObjectClassDefinition>
@NotNull Collection<? extends NativeReferenceTypeDefinition>
default boolean
isEmpty()
static boolean
isNotEmpty
(NativeResourceSchema schema) static boolean
isNullOrEmpty
(NativeResourceSchema schema) @NotNull Document
int
size()
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDump, debugDumpLazily, debugDumpLazily
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable, freeze, isImmutable
Methods inherited from interface com.evolveum.midpoint.prism.schema.SerializableSchema
getDefinitionsToSerialize, getNamespace
-
Method Details
-
isNullOrEmpty
-
isNotEmpty
-
findObjectClassDefinition
@Nullable @Nullable NativeObjectClassDefinition findObjectClassDefinition(@NotNull @NotNull QName objectClassName) -
findReferenceTypeDefinition
@Nullable @Nullable NativeReferenceTypeDefinition findReferenceTypeDefinition(@NotNull @NotNull QName className) -
getObjectClassDefinitions
-
getReferenceTypeDefinitions
-
size
int size() -
isEmpty
default boolean isEmpty() -
clone
-
serializeToXsd
- Throws:
SchemaException
-