Class OwnerOptionIdentifier
java.lang.Object
com.evolveum.midpoint.schema.util.cases.OwnerOptionIdentifier
Internalized (parsed) form of correlation option identifier (like `none` or `existing-XXX`).
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull OwnerOptionIdentifier
forExistingOwner
(@NotNull String ownerId) static @NotNull OwnerOptionIdentifier
static @NotNull OwnerOptionIdentifier
fromStringValue
(@NotNull String value) Converts string value of the option identifier (like `none` or `existing-XXX`) to the internalized form (this class).static @NotNull OwnerOptionIdentifier
fromStringValueForgiving
(@NotNull String value) AsfromStringValue(String)
but more forgiving: It accepts also invalid string values.@Nullable String
@NotNull String
boolean
static OwnerOptionIdentifier
of
(@NotNull ResourceObjectOwnerOptionType potentialOwner)
-
Method Details
-
fromStringValue
@NotNull public static @NotNull OwnerOptionIdentifier fromStringValue(@NotNull @NotNull String value) throws SchemaException Converts string value of the option identifier (like `none` or `existing-XXX`) to the internalized form (this class).- Throws:
SchemaException
-
fromStringValueForgiving
@NotNull public static @NotNull OwnerOptionIdentifier fromStringValueForgiving(@NotNull @NotNull String value) AsfromStringValue(String)
but more forgiving: It accepts also invalid string values. -
forNoOwner
-
forExistingOwner
@NotNull public static @NotNull OwnerOptionIdentifier forExistingOwner(@NotNull @NotNull String ownerId) -
of
public static OwnerOptionIdentifier of(@NotNull @NotNull ResourceObjectOwnerOptionType potentialOwner) throws SchemaException - Throws:
SchemaException
-
getStringValue
-
isNewOwner
public boolean isNewOwner() -
getExistingOwnerId
-