Package com.evolveum.midpoint.prism
Interface DefinitionFactory
- All Known Implementing Classes:
DefinitionFactoryImpl
public interface DefinitionFactory
Factory for prism definitions (Definition and all its subtypes in prism-api).
-
Method Summary
Modifier and TypeMethodDescriptiondefault <C extends Containerable>
@NotNull PrismContainerDefinition<C>createContainerDefinition
(@NotNull QName name, @NotNull ComplexTypeDefinition ctd, int minOccurs, int maxOccurs) default <T> PrismPropertyDefinition<T>
createPropertyDefinition
(QName name, QName typeName) Deprecated.<C extends Containerable>
@NotNull PrismContainerDefinition<C>newContainerDefinition
(@NotNull QName name, @NotNull ComplexTypeDefinition ctd) Standard case: creating container with known CTD.@NotNull PrismContainerDefinition<?>
newContainerDefinitionWithoutTypeDefinition
(@NotNull QName name, @NotNull QName typeName) Quite a special case - no complex type definition is known.<O extends Objectable>
@NotNull PrismObjectDefinition<O>newObjectDefinition
(@NotNull QName name, @NotNull ComplexTypeDefinition ctd) <T> PrismPropertyDefinition<T>
newPropertyDefinition
(QName name, QName typeName) default <T> PrismPropertyDefinition<T>
newPropertyDefinition
(QName name, QName typeName, int minOccurs, int maxOccurs) default <T> PrismPropertyDefinition<T>
newPropertyDefinition
(QName name, QName typeName, Collection<? extends DisplayableValue<T>> allowedValues, T defaultValue) newReferenceDefinition
(QName name, QName typeName) default PrismReferenceDefinition
newReferenceDefinition
(QName name, QName typeName, int minOccurs, int maxOccurs)
-
Method Details
-
newComplexTypeDefinition
-
createPropertyDefinition
@Deprecated default <T> PrismPropertyDefinition<T> createPropertyDefinition(QName name, QName typeName) Deprecated. -
newPropertyDefinition
-
newPropertyDefinition
default <T> PrismPropertyDefinition<T> newPropertyDefinition(QName name, QName typeName, int minOccurs, int maxOccurs) -
newPropertyDefinition
default <T> PrismPropertyDefinition<T> newPropertyDefinition(QName name, QName typeName, Collection<? extends DisplayableValue<T>> allowedValues, T defaultValue) -
newReferenceDefinition
-
newReferenceDefinition
default PrismReferenceDefinition newReferenceDefinition(QName name, QName typeName, int minOccurs, int maxOccurs) -
newContainerDefinition
@NotNull <C extends Containerable> @NotNull PrismContainerDefinition<C> newContainerDefinition(@NotNull @NotNull QName name, @NotNull @NotNull ComplexTypeDefinition ctd) Standard case: creating container with known CTD. -
newContainerDefinitionWithoutTypeDefinition
@NotNull @NotNull PrismContainerDefinition<?> newContainerDefinitionWithoutTypeDefinition(@NotNull @NotNull QName name, @NotNull @NotNull QName typeName) Quite a special case - no complex type definition is known. -
createContainerDefinition
@NotNull default <C extends Containerable> @NotNull PrismContainerDefinition<C> createContainerDefinition(@NotNull @NotNull QName name, @NotNull @NotNull ComplexTypeDefinition ctd, int minOccurs, int maxOccurs) -
newObjectDefinition
@NotNull <O extends Objectable> @NotNull PrismObjectDefinition<O> newObjectDefinition(@NotNull @NotNull QName name, @NotNull @NotNull ComplexTypeDefinition ctd)
-