Class PrismForJAXBUtil
java.lang.Object
com.evolveum.midpoint.prism.impl.xjc.PrismForJAXBUtil
- Author:
- lazyman, semancik
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidaccept(Object object, JaxbVisitor visitor) static PrismContainer<?>createContainer(PrismContainerValue parentValue, QName name) static <IV extends PrismValue,ID extends ItemDefinition<?>, I extends Item<IV, ID>> 
 IcreateItem(PrismContainerValue parentValue, QName name, Class<I> type) static PrismProperty<?>createProperty(PrismContainerValue parentValue, QName name) static PrismReferencecreateReference(PrismContainerValue parentValue, QName name) static <T> List<T>getAny(PrismContainerValue value, Class<T> clazz) static <T extends PrismContainer<?>>
 TgetContainer(PrismContainerValue parentValue, QName name) static <T extends Containerable>
 PrismContainerValue<T>getFieldContainerValue(PrismContainerValue<?> parent, QName fieldName) static <T extends Containerable>
 TgetFieldSingleContainerable(PrismContainerValue<?> parent, QName fieldName, Class<T> fieldClass) static SearchFilterTypegetFilter(PrismReferenceValue referenceValue) static <T> TgetPropertyValue(PrismContainerValue container, QName name, Class<T> clazz) static <T> List<T>getPropertyValues(PrismContainerValue<?> container, QName name, Class<T> clazz) static PrismReferencegetReference(PrismContainerValue parent, QName fieldName) static MapXNodestatic Objectablestatic PolyStringTypestatic PrismReferenceValuegetReferenceValue(PrismContainerValue<?> parent, QName name) static <T extends Objectable>
 PrismReferenceValueobjectableAsReferenceValue(T objectable, PrismReference reference) static <T extends Containerable>
 booleansetFieldContainerValue(PrismContainerValue<?> parent, ItemName fieldName, PrismContainerValue<T> fieldContainerValue) static <T> voidsetPropertyValue(PrismContainerValue<?> container, ItemName name, T value) static voidsetReferenceFilterClauseXNode(PrismReferenceValue rval, SearchFilterType filterType) static voidsetReferenceTargetName(PrismReferenceValue rval, PolyStringType name) static voidsetReferenceValueAsObject(PrismContainerValue parentValue, QName referenceQName, PrismObject targetObject) This method must merge new value with potential existing value of the reference.static voidsetReferenceValueAsRef(PrismContainerValue<?> parentValue, QName referenceName, PrismReferenceValue value) This method must merge new value with potential existing value of the reference.static PrismObjectsetupContainerValue(PrismObject prismObject, PrismContainerValue containerValue) 
- 
Method Details- 
getPropertyValue
- 
getPropertyValuespublic static <T> List<T> getPropertyValues(PrismContainerValue<?> container, QName name, Class<T> clazz) throws PrismContainerValue.RemovedItemDefinitionException 
- 
setPropertyValue
- 
getFieldContainerValuepublic static <T extends Containerable> PrismContainerValue<T> getFieldContainerValue(PrismContainerValue<?> parent, QName fieldName) 
- 
getFieldSingleContainerablepublic static <T extends Containerable> T getFieldSingleContainerable(PrismContainerValue<?> parent, QName fieldName, Class<T> fieldClass) 
- 
getContainerpublic static <T extends PrismContainer<?>> T getContainer(PrismContainerValue parentValue, QName name) throws PrismContainerValue.RemovedItemDefinitionException 
- 
createContainer
- 
createReference
- 
createProperty
- 
createItempublic static <IV extends PrismValue,ID extends ItemDefinition<?>, I createItemI extends Item<IV, ID>> (PrismContainerValue parentValue, QName name, Class<I> type) 
- 
setFieldContainerValuepublic static <T extends Containerable> boolean setFieldContainerValue(PrismContainerValue<?> parent, ItemName fieldName, PrismContainerValue<T> fieldContainerValue) 
- 
getReferenceValue
- 
setReferenceValueAsRefpublic static void setReferenceValueAsRef(PrismContainerValue<?> parentValue, QName referenceName, PrismReferenceValue value) This method must merge new value with potential existing value of the reference. E.g. it is possible to call setResource(..) and then setResourceRef(..) with the same OID. In that case the result should be one reference that has both OID/type/filter and object. Assumes single-value reference
- 
setReferenceValueAsObjectpublic static void setReferenceValueAsObject(PrismContainerValue parentValue, QName referenceQName, PrismObject targetObject) This method must merge new value with potential existing value of the reference. E.g. it is possible to call setResource(..) and then setResourceRef(..) with the same OID. In that case the result should be one reference that has both OID/type/filter and object. Assumes single-value reference
- 
objectableAsReferenceValuepublic static <T extends Objectable> PrismReferenceValue objectableAsReferenceValue(T objectable, PrismReference reference) 
- 
getAny
- 
setupContainerValuepublic static PrismObject setupContainerValue(PrismObject prismObject, PrismContainerValue containerValue) 
- 
getReferencepublic static PrismReference getReference(PrismContainerValue parent, QName fieldName) throws PrismContainerValue.RemovedItemDefinitionException 
- 
getReferenceObjectable
- 
setReferenceFilterClauseXNodepublic static void setReferenceFilterClauseXNode(PrismReferenceValue rval, SearchFilterType filterType) 
- 
getReferenceFilterClauseXNode
- 
getReferenceTargetName
- 
setReferenceTargetName
- 
accept
- 
getFilter
 
-