Package com.evolveum.midpoint.prism
Interface ItemFactory
- 
- All Known Implementing Classes:
- ItemFactoryImpl
 
 public interface ItemFactoryFactory for items (property, reference, container, object) and item values. Eliminates the need of calls like "new PrismPropertyValue(...)" in midPoint 3.x.
- 
- 
Method Summary
 
- 
- 
- 
Method Detail- 
createValuePrismValue createValue(Object realValue) 
 - 
createProperty<T> PrismProperty<T> createProperty(QName itemName) 
 - 
createProperty<T> PrismProperty<T> createProperty(QName itemName, PrismPropertyDefinition<T> definition) 
 - 
createPropertyValue<T> PrismPropertyValue<T> createPropertyValue() 
 - 
createPropertyValue<T> PrismPropertyValue<T> createPropertyValue(T content) 
 - 
createPropertyValue<T> PrismPropertyValue<T> createPropertyValue(XNode rawContent) 
 - 
createPropertyValue<T> PrismPropertyValue<T> createPropertyValue(T value, OriginType originType, Objectable originObject) 
 - 
createReferencePrismReference createReference(QName name) 
 - 
createReferencePrismReference createReference(QName name, PrismReferenceDefinition definition) 
 - 
createReferenceValuePrismReferenceValue createReferenceValue() 
 - 
createReferenceValuePrismReferenceValue createReferenceValue(PrismObject<?> target) 
 - 
createReferenceValuePrismReferenceValue createReferenceValue(String targetOid) 
 - 
createReferenceValuePrismReferenceValue createReferenceValue(String oid, OriginType originType, Objectable originObject) 
 - 
createReferenceValuePrismReferenceValue createReferenceValue(String oid, QName targetType) 
 - 
createContainerPrismContainer createContainer(QName name) 
 - 
createContainer<C extends Containerable> PrismContainer<C> createContainer(QName name, PrismContainerDefinition<C> definition) 
 - 
createObject<O extends Objectable> PrismObject<O> createObject(QName name, PrismObjectDefinition<O> definition) 
 - 
createObjectValue<O extends Objectable> PrismObjectValue<O> createObjectValue(O objectable) 
 - 
createContainerValue<C extends Containerable> PrismContainerValue<C> createContainerValue(C containerable) 
 - 
createContainerValue<C extends Containerable> PrismContainerValue<C> createContainerValue() 
 - 
createDummyItem@Experimental <V extends PrismValue,D extends ItemDefinition> Item<V,D> createDummyItem(Item<V,D> itemOld, D definition, ItemPath path) throws SchemaException Creates a dummy container with a fixed path. This container is good for storing values, e.g. in case of delta computations to get preview of the new item. But such container cannot be used to fit into any prism structure (cannot set parent).- Throws:
- SchemaException
 
 
- 
 
-