public class ObjectTypeUtil extends Object
Constructor and Description |
---|
ObjectTypeUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
assertConcreteType(Class<? extends Objectable> type) |
static Collection<ObjectDelta<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType>> |
cast(Collection<ObjectDelta<?>> deltas) |
static <T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> |
createAssignmentTo(com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType ref) |
static <T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> |
createAssignmentTo(PrismObject<T> object) |
static com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType |
createObjectRef(com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType objectType) |
static <T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> |
createObjectRef(PrismObject<T> object) |
static <T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> |
createObjectRef(PrismObject<T> object,
boolean nameAsDescription) |
static com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType |
createObjectRef(PrismReferenceValue prv) |
static <T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> |
createObjectRef(PrismReferenceValue refVal,
boolean nameAsDescription) |
static com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType |
createObjectRef(String oid,
ObjectTypes type) |
static com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType |
createObjectRef(String oid,
PolyStringType name,
ObjectTypes type) |
static XPathHolder |
createXPathHolder(QName property) |
static String |
dump(com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType object) |
static com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType |
findRef(String oid,
List<com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType> refs) |
static Element |
findXsdElement(PrismContainer<com.evolveum.midpoint.xml.ns._public.common.common_3.XmlSchemaType> xmlSchemaContainer) |
static Element |
findXsdElement(PrismContainerValue<com.evolveum.midpoint.xml.ns._public.common.common_3.XmlSchemaType> xmlSchemaContainerValue) |
static Element |
findXsdElement(com.evolveum.midpoint.xml.ns._public.common.common_3.XmlSchemaType xmlSchemaType)
Returns the <xsd:schema> element from the XmlSchemaType.
|
static List<com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType> |
getAsObjectReferenceTypeList(PrismReference prismReference) |
static <T> Collection<T> |
getExtensionPropertyValues(com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType objectType,
QName propertyQname) |
static <T> Collection<T> |
getExtensionPropertyValuesNotNull(com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType objectType,
QName propertyQname)
Never returns null.
|
static Collection<Referencable> |
getExtensionReferenceValues(com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType objectType,
QName propertyQname) |
static Objectable |
getObjectFromReference(com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType ref) |
static PrismObject |
getParentObject(Containerable containerable) |
static PrismObject<?> |
getPrismObjectFromReference(com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType ref) |
static String |
getShortTypeName(Class<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> type) |
static String |
getShortTypeName(com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType object) |
static boolean |
isModificationOf(ItemDeltaType modification,
QName elementName) |
static boolean |
isModificationOf(ItemDeltaType modification,
QName elementName,
ItemPathType path) |
static List<PrismReferenceValue> |
objectReferenceListToPrismReferenceValues(Collection<com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType> refList) |
static List<String> |
referenceValueListToOidList(Collection<PrismReferenceValue> referenceValues) |
static void |
setXsdSchemaDefinition(PrismProperty<SchemaDefinitionType> definitionProperty,
Element xsdElement) |
static List<ObjectDelta<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType>> |
toDeltaList(ObjectDelta<?> delta) |
static String |
toShortString(com.evolveum.midpoint.xml.ns._public.common.common_3.AssignmentType assignment) |
static Object |
toShortString(com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType objectRef) |
static Object |
toShortString(com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType objectRef,
boolean withName) |
static String |
toShortString(com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType object) |
static String |
toShortString(PrismObject<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> object) |
public static <T> Collection<T> getExtensionPropertyValuesNotNull(com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType objectType, QName propertyQname)
public static <T> Collection<T> getExtensionPropertyValues(com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType objectType, QName propertyQname)
public static Collection<Referencable> getExtensionReferenceValues(com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType objectType, QName propertyQname)
public static com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType findRef(String oid, List<com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType> refs)
public static String toShortString(PrismObject<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> object)
public static String toShortString(com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType object)
public static String toShortString(com.evolveum.midpoint.xml.ns._public.common.common_3.AssignmentType assignment)
public static String dump(com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType object)
public static Object toShortString(com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType objectRef)
public static Object toShortString(com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType objectRef, boolean withName)
public static String getShortTypeName(com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType object)
public static String getShortTypeName(Class<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> type)
@NotNull public static <T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> com.evolveum.midpoint.xml.ns._public.common.common_3.AssignmentType createAssignmentTo(@NotNull com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType ref)
@NotNull public static <T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> com.evolveum.midpoint.xml.ns._public.common.common_3.AssignmentType createAssignmentTo(@NotNull PrismObject<T> object)
public static com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType createObjectRef(PrismReferenceValue prv)
public static com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType createObjectRef(com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType objectType)
public static <T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType createObjectRef(PrismObject<T> object)
public static <T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType createObjectRef(PrismObject<T> object, boolean nameAsDescription)
public static <T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType createObjectRef(PrismReferenceValue refVal, boolean nameAsDescription)
public static com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType createObjectRef(String oid, ObjectTypes type)
public static com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType createObjectRef(String oid, PolyStringType name, ObjectTypes type)
public static Element findXsdElement(com.evolveum.midpoint.xml.ns._public.common.common_3.XmlSchemaType xmlSchemaType)
public static Element findXsdElement(PrismContainer<com.evolveum.midpoint.xml.ns._public.common.common_3.XmlSchemaType> xmlSchemaContainer)
public static Element findXsdElement(PrismContainerValue<com.evolveum.midpoint.xml.ns._public.common.common_3.XmlSchemaType> xmlSchemaContainerValue)
public static void setXsdSchemaDefinition(PrismProperty<SchemaDefinitionType> definitionProperty, Element xsdElement)
public static XPathHolder createXPathHolder(QName property)
public static boolean isModificationOf(ItemDeltaType modification, QName elementName)
public static boolean isModificationOf(ItemDeltaType modification, QName elementName, ItemPathType path)
public static void assertConcreteType(Class<? extends Objectable> type)
public static PrismObject getParentObject(Containerable containerable)
public static List<PrismReferenceValue> objectReferenceListToPrismReferenceValues(Collection<com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType> refList) throws SchemaException
SchemaException
public static List<com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType> getAsObjectReferenceTypeList(PrismReference prismReference) throws SchemaException
SchemaException
public static List<String> referenceValueListToOidList(Collection<PrismReferenceValue> referenceValues)
public static Objectable getObjectFromReference(com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType ref)
public static PrismObject<?> getPrismObjectFromReference(com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType ref)
public static List<ObjectDelta<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType>> toDeltaList(ObjectDelta<?> delta)
public static Collection<ObjectDelta<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType>> cast(Collection<ObjectDelta<?>> deltas)
Copyright © 2016 evolveum. All rights reserved.