|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.evolveum.midpoint.schema.util.ObjectTypeUtil
public class ObjectTypeUtil
Methods that would belong to the ObjectType class but cannot go there because of JAXB.
There are also useful methods that would belong to other classes. But we don't want to create new class for every method ... if this goes beyond a reasonable degree, please refactor accordingly.
Constructor Summary | |
---|---|
ObjectTypeUtil()
|
Method Summary | ||
---|---|---|
static void |
assertConcreteType(java.lang.Class<? extends Objectable> type)
|
|
static ObjectModificationType |
createModificationReplaceProperty(java.lang.String oid,
javax.xml.namespace.QName propertyName,
java.lang.Object propertyValue)
Deprecated. |
|
static ObjectModificationType |
createModificationReplaceProperty(java.lang.String oid,
XPathHolder xpath,
javax.xml.namespace.QName propertyName,
java.lang.Object propertyValue)
Deprecated. |
|
static ObjectReferenceType |
createObjectRef(ObjectType objectType)
|
|
static
|
createObjectRef(PrismObject<T> object)
|
|
static ObjectReferenceType |
createObjectRef(java.lang.String oid,
ObjectTypes type)
|
|
static ItemDeltaType |
createPropertyModificationType(ModificationTypeType changeType,
XPathHolder xpathType,
java.lang.Object element)
Deprecated. |
|
static ItemDeltaType |
createPropertyModificationType(ModificationTypeType changeType,
XPathHolder xpath,
PrismProperty property)
Deprecated. |
|
static ItemDeltaType |
createPropertyModificationType(ModificationTypeType changeType,
XPathHolder xpath,
javax.xml.namespace.QName propertyName,
java.util.Collection<java.lang.Object> values)
Deprecated. |
|
static ItemDeltaType |
createPropertyModificationType(ModificationTypeType changeType,
XPathHolder xpath,
javax.xml.namespace.QName propertyName,
java.lang.Object value)
Deprecated. |
|
static XPathHolder |
createXPathHolder(javax.xml.namespace.QName property)
|
|
static java.lang.String |
dump(ObjectType object)
|
|
static java.util.List<java.lang.String> |
extractOids(java.util.List<? extends ObjectType> objects,
java.util.List<? extends ObjectReferenceType> refs)
|
|
static ObjectReferenceType |
findRef(java.lang.String oid,
java.util.List<ObjectReferenceType> refs)
|
|
static org.w3c.dom.Element |
findXsdElement(PrismContainer<XmlSchemaType> xmlSchemaContainer)
|
|
static org.w3c.dom.Element |
findXsdElement(PrismContainerValue<XmlSchemaType> xmlSchemaContainerValue)
|
|
static org.w3c.dom.Element |
findXsdElement(XmlSchemaType xmlSchemaType)
Returns the <xsd:schema> element from the XmlSchemaType. |
|
static javax.xml.namespace.QName |
getElementName(ItemDeltaType propertyModification)
|
|
static java.lang.String |
getShortTypeName(java.lang.Class<? extends ObjectType> type)
|
|
static java.lang.String |
getShortTypeName(ObjectType object)
|
|
static boolean |
isEmpty(ObjectModificationType objectModification)
|
|
static boolean |
isModificationOf(ItemDeltaType modification,
javax.xml.namespace.QName elementName)
|
|
static boolean |
isModificationOf(ItemDeltaType modification,
javax.xml.namespace.QName elementName,
XPathHolder path)
|
|
static void |
setXsdSchemaDefinition(PrismProperty<org.w3c.dom.Element> definitionProperty,
org.w3c.dom.Element xsdElement)
|
|
static java.lang.String |
toShortString(AssignmentType assignment)
|
|
static java.lang.Object |
toShortString(ObjectReferenceType objectRef)
|
|
static java.lang.String |
toShortString(ObjectType object)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ObjectTypeUtil()
Method Detail |
---|
public static java.util.List<java.lang.String> extractOids(java.util.List<? extends ObjectType> objects, java.util.List<? extends ObjectReferenceType> refs)
public static ObjectReferenceType findRef(java.lang.String oid, java.util.List<ObjectReferenceType> refs)
@Deprecated public static ItemDeltaType createPropertyModificationType(ModificationTypeType changeType, XPathHolder xpathType, java.lang.Object element)
@Deprecated public static ItemDeltaType createPropertyModificationType(ModificationTypeType changeType, XPathHolder xpath, javax.xml.namespace.QName propertyName, java.lang.Object value)
@Deprecated public static ItemDeltaType createPropertyModificationType(ModificationTypeType changeType, XPathHolder xpath, PrismProperty property)
@Deprecated public static ItemDeltaType createPropertyModificationType(ModificationTypeType changeType, XPathHolder xpath, javax.xml.namespace.QName propertyName, java.util.Collection<java.lang.Object> values)
@Deprecated public static ObjectModificationType createModificationReplaceProperty(java.lang.String oid, javax.xml.namespace.QName propertyName, java.lang.Object propertyValue)
@Deprecated public static ObjectModificationType createModificationReplaceProperty(java.lang.String oid, XPathHolder xpath, javax.xml.namespace.QName propertyName, java.lang.Object propertyValue)
public static java.lang.String toShortString(ObjectType object)
public static java.lang.String toShortString(AssignmentType assignment)
public static java.lang.String dump(ObjectType object)
public static java.lang.Object toShortString(ObjectReferenceType objectRef)
public static java.lang.String getShortTypeName(ObjectType object)
public static java.lang.String getShortTypeName(java.lang.Class<? extends ObjectType> type)
public static ObjectReferenceType createObjectRef(ObjectType objectType)
public static <T extends ObjectType> ObjectReferenceType createObjectRef(PrismObject<T> object)
public static ObjectReferenceType createObjectRef(java.lang.String oid, ObjectTypes type)
public static org.w3c.dom.Element findXsdElement(XmlSchemaType xmlSchemaType)
public static org.w3c.dom.Element findXsdElement(PrismContainer<XmlSchemaType> xmlSchemaContainer)
public static org.w3c.dom.Element findXsdElement(PrismContainerValue<XmlSchemaType> xmlSchemaContainerValue)
public static void setXsdSchemaDefinition(PrismProperty<org.w3c.dom.Element> definitionProperty, org.w3c.dom.Element xsdElement)
public static XPathHolder createXPathHolder(javax.xml.namespace.QName property)
public static boolean isModificationOf(ItemDeltaType modification, javax.xml.namespace.QName elementName)
public static boolean isModificationOf(ItemDeltaType modification, javax.xml.namespace.QName elementName, XPathHolder path)
public static javax.xml.namespace.QName getElementName(ItemDeltaType propertyModification)
public static boolean isEmpty(ObjectModificationType objectModification)
public static void assertConcreteType(java.lang.Class<? extends Objectable> type)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |