Class ShadowAssociationsUtil
java.lang.Object
com.evolveum.midpoint.schema.util.ShadowAssociationsUtil
Covers working with the "new" shadow associations (introduced in 4.9).
Only methods that have to work with the raw values (like
ShadowAssociationValueType) should belong here.
Pretty much everything that works with native types like ShadowAssociationValue should be attached to these types.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull ShadowAssociationValueTypecreateSingleRefRawValue(@NotNull ItemName refName, @NotNull ObjectReferenceType refValue) static @NotNull ShadowAssociationValueTypecreateSingleRefRawValue(@NotNull ItemName refName, @NotNull ShadowType shadow) Creates a trivial (single-object-ref) association value as the raw (definition-less) bean.static @NotNull ShadowAssociationValueTypecreateSingleRefRawValue(@NotNull ItemName refName, @NotNull String shadowOid) static ObjectReferenceTypegetSingleObjectRefRelaxed(@NotNull ShadowAssociationValueType assocValueBean) static @NotNull ObjectReferenceTypegetSingleObjectRefRequired(ShadowAssociationValueType assocValueBean) static @NotNull ComplexTypeDefinitionstatic @NotNull PrismContainer<ShadowReferenceAttributesType>
-
Constructor Details
-
ShadowAssociationsUtil
public ShadowAssociationsUtil()
-
-
Method Details
-
getSingleObjectRefRelaxed
public static ObjectReferenceType getSingleObjectRefRelaxed(@NotNull @NotNull ShadowAssociationValueType assocValueBean) -
getSingleObjectRefRequired
@NotNull public static @NotNull ObjectReferenceType getSingleObjectRefRequired(ShadowAssociationValueType assocValueBean) -
getValueCtd
-
instantiateObjectsContainer
@NotNull public static @NotNull PrismContainer<ShadowReferenceAttributesType> instantiateObjectsContainer() -
createSingleRefRawValue
@NotNull public static @NotNull ShadowAssociationValueType createSingleRefRawValue(@NotNull @NotNull ItemName refName, @NotNull @NotNull ShadowType shadow) Creates a trivial (single-object-ref) association value as the raw (definition-less) bean.- See Also:
-
#createValueFromDefaultObject(AbstractShadow)
-
createSingleRefRawValue
@NotNull public static @NotNull ShadowAssociationValueType createSingleRefRawValue(@NotNull @NotNull ItemName refName, @NotNull @NotNull String shadowOid) -
createSingleRefRawValue
@NotNull public static @NotNull ShadowAssociationValueType createSingleRefRawValue(@NotNull @NotNull ItemName refName, @NotNull @NotNull ObjectReferenceType refValue)
-