public class ObjectTypeUtil extends Object
Constructor and Description |
---|
ObjectTypeUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
assertConcreteType(Class<? extends com.evolveum.midpoint.prism.Objectable> type) |
static ObjectReferenceType |
createObjectRef(ObjectType objectType) |
static <T extends ObjectType> |
createObjectRef(com.evolveum.midpoint.prism.PrismObject<T> object) |
static <T extends ObjectType> |
createObjectRef(com.evolveum.midpoint.prism.PrismObject<T> object,
boolean nameAsDescription) |
static ObjectReferenceType |
createObjectRef(String oid,
ObjectTypes type) |
static ObjectReferenceType |
createObjectRef(String oid,
com.evolveum.prism.xml.ns._public.types_3.PolyStringType name,
ObjectTypes type) |
static com.evolveum.midpoint.prism.parser.XPathHolder |
createXPathHolder(QName property) |
static String |
dump(ObjectType object) |
static ObjectReferenceType |
findRef(String oid,
List<ObjectReferenceType> refs) |
static Element |
findXsdElement(com.evolveum.midpoint.prism.PrismContainer<XmlSchemaType> xmlSchemaContainer) |
static Element |
findXsdElement(com.evolveum.midpoint.prism.PrismContainerValue<XmlSchemaType> xmlSchemaContainerValue) |
static Element |
findXsdElement(XmlSchemaType xmlSchemaType)
Returns the <xsd:schema> element from the XmlSchemaType.
|
static <T> Collection<T> |
getExtensionPropertyValues(ObjectType objectType,
QName propertyQname) |
static <T> Collection<T> |
getExtensionPropertyValuesNotNull(ObjectType objectType,
QName propertyQname)
Never returns null.
|
static String |
getShortTypeName(Class<? extends ObjectType> type) |
static String |
getShortTypeName(ObjectType object) |
static boolean |
isModificationOf(com.evolveum.prism.xml.ns._public.types_3.ItemDeltaType modification,
QName elementName) |
static boolean |
isModificationOf(com.evolveum.prism.xml.ns._public.types_3.ItemDeltaType modification,
QName elementName,
com.evolveum.prism.xml.ns._public.types_3.ItemPathType path) |
static void |
setXsdSchemaDefinition(com.evolveum.midpoint.prism.PrismProperty<com.evolveum.prism.xml.ns._public.types_3.SchemaDefinitionType> definitionProperty,
Element xsdElement) |
static String |
toShortString(AssignmentType assignment) |
static Object |
toShortString(ObjectReferenceType objectRef) |
static String |
toShortString(ObjectType object) |
static String |
toShortString(com.evolveum.midpoint.prism.PrismObject<? extends ObjectType> object) |
public static <T> Collection<T> getExtensionPropertyValuesNotNull(ObjectType objectType, QName propertyQname)
public static <T> Collection<T> getExtensionPropertyValues(ObjectType objectType, QName propertyQname)
public static ObjectReferenceType findRef(String oid, List<ObjectReferenceType> refs)
public static String toShortString(com.evolveum.midpoint.prism.PrismObject<? extends ObjectType> object)
public static String toShortString(ObjectType object)
public static String toShortString(AssignmentType assignment)
public static String dump(ObjectType object)
public static Object toShortString(ObjectReferenceType objectRef)
public static String getShortTypeName(ObjectType object)
public static String getShortTypeName(Class<? extends ObjectType> type)
public static ObjectReferenceType createObjectRef(ObjectType objectType)
public static <T extends ObjectType> ObjectReferenceType createObjectRef(com.evolveum.midpoint.prism.PrismObject<T> object)
public static <T extends ObjectType> ObjectReferenceType createObjectRef(com.evolveum.midpoint.prism.PrismObject<T> object, boolean nameAsDescription)
public static ObjectReferenceType createObjectRef(String oid, ObjectTypes type)
public static ObjectReferenceType createObjectRef(String oid, com.evolveum.prism.xml.ns._public.types_3.PolyStringType name, ObjectTypes type)
public static Element findXsdElement(XmlSchemaType xmlSchemaType)
public static Element findXsdElement(com.evolveum.midpoint.prism.PrismContainer<XmlSchemaType> xmlSchemaContainer)
public static Element findXsdElement(com.evolveum.midpoint.prism.PrismContainerValue<XmlSchemaType> xmlSchemaContainerValue)
public static void setXsdSchemaDefinition(com.evolveum.midpoint.prism.PrismProperty<com.evolveum.prism.xml.ns._public.types_3.SchemaDefinitionType> definitionProperty, Element xsdElement)
public static com.evolveum.midpoint.prism.parser.XPathHolder createXPathHolder(QName property)
public static boolean isModificationOf(com.evolveum.prism.xml.ns._public.types_3.ItemDeltaType modification, QName elementName)
public static boolean isModificationOf(com.evolveum.prism.xml.ns._public.types_3.ItemDeltaType modification, QName elementName, com.evolveum.prism.xml.ns._public.types_3.ItemPathType path)
public static void assertConcreteType(Class<? extends com.evolveum.midpoint.prism.Objectable> type)
Copyright © 2015 Evolveum. All rights reserved.