public class ObjectTypeUtil extends Object
Constructor and Description |
---|
ObjectTypeUtil() |
public static <T> Collection<T> getExtensionPropertyValuesNotNull(ObjectType objectType, QName propertyQname)
public static <T> Collection<T> getExtensionPropertyValues(ObjectType objectType, QName propertyQname)
public static Collection<Referencable> getExtensionReferenceValues(ObjectType objectType, QName propertyQname)
public static ObjectReferenceType findRef(String oid, List<ObjectReferenceType> refs)
public static String toShortString(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 Object toShortString(ObjectReferenceType objectRef, boolean withName)
public static String getShortTypeName(ObjectType object)
public static String getShortTypeName(Class<? extends ObjectType> type)
@NotNull public static <T extends ObjectType> AssignmentType createAssignmentTo(@NotNull ObjectReferenceType ref, @Nullable PrismContext prismContext)
@NotNull public static <T extends ObjectType> AssignmentType createAssignmentTo(@NotNull PrismReferenceValue ref, @Nullable PrismContext prismContext)
@NotNull public static <T extends ObjectType> AssignmentType createAssignmentTo(@NotNull String oid, @NotNull ObjectTypes type, @Nullable PrismContext prismContext)
@NotNull public static <T extends ObjectType> AssignmentType createAssignmentTo(@NotNull PrismObject<T> object)
public static ObjectReferenceType createObjectRef(PrismReferenceValue prv)
public static ObjectReferenceType createObjectRef(ObjectType objectType)
public static <T extends ObjectType> ObjectReferenceType createObjectRef(PrismObject<T> object)
public static <T extends ObjectType> ObjectReferenceType createObjectRef(PrismObject<T> object, boolean nameAsDescription)
public static <T extends ObjectType> ObjectReferenceType createObjectRef(PrismReferenceValue refVal, boolean nameAsDescription)
public static ObjectReferenceType createObjectRef(String oid, ObjectTypes type)
public static ObjectReferenceType createObjectRef(String oid, PolyStringType name, ObjectTypes type)
public static Element findXsdElement(XmlSchemaType xmlSchemaType)
public static Element findXsdElement(PrismContainer<XmlSchemaType> xmlSchemaContainer)
public static Element findXsdElement(PrismContainerValue<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<ObjectReferenceType> refList) throws SchemaException
SchemaException
public static List<ObjectReferenceType> getAsObjectReferenceTypeList(PrismReference prismReference) throws SchemaException
SchemaException
public static List<String> referenceValueListToOidList(Collection<PrismReferenceValue> referenceValues)
public static Objectable getObjectFromReference(ObjectReferenceType ref)
public static PrismObject<?> getPrismObjectFromReference(ObjectReferenceType ref)
public static List<ObjectDelta<? extends ObjectType>> toDeltaList(ObjectDelta<?> delta)
public static Collection<ObjectDelta<? extends ObjectType>> cast(Collection<ObjectDelta<?>> deltas)
Copyright © 2016 Evolveum. All rights reserved.