Class OwnerOptionIdentifier
- java.lang.Object
-
- com.evolveum.midpoint.schema.util.cases.OwnerOptionIdentifier
-
public class OwnerOptionIdentifier extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OwnerOptionIdentifierforExistingOrNoOwner(@Nullable String ownerId)static @NotNull OwnerOptionIdentifierforExistingOwner(@NotNull String ownerId)static @NotNull OwnerOptionIdentifierforNoOwner()static @NotNull OwnerOptionIdentifierfromStringValue(@NotNull String value)This method is forgiving: It accepts also invalid string values.static @NotNull OwnerOptionIdentifierfromStringValueForgiving(@NotNull String value)@Nullable StringgetExistingOwnerId()@NotNull StringgetStringValue()booleanisNewOwner()static OwnerOptionIdentifierof(@NotNull ResourceObjectOwnerOptionType potentialOwner)
-
-
-
Method Detail
-
fromStringValue
@NotNull public static @NotNull OwnerOptionIdentifier fromStringValue(@NotNull @NotNull String value) throws SchemaException
This method is forgiving: It accepts also invalid string values.- Throws:
SchemaException
-
fromStringValueForgiving
@NotNull public static @NotNull OwnerOptionIdentifier fromStringValueForgiving(@NotNull @NotNull String value)
-
forNoOwner
@NotNull public static @NotNull OwnerOptionIdentifier 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
-
forExistingOrNoOwner
public static OwnerOptionIdentifier forExistingOrNoOwner(@Nullable @Nullable String ownerId)
-
getStringValue
@NotNull public @NotNull String getStringValue()
-
isNewOwner
public boolean isNewOwner()
-
getExistingOwnerId
@Nullable public @Nullable String getExistingOwnerId()
-
-