public FunctionLibraryType clone() { FunctionLibraryType object = new FunctionLibraryType(); PrismObject value = asPrismObject().clone(); object.setupContainer(value); return object; }
public List<ExpressionType> createFunctionList() { PrismForJAXBUtil.createProperty(asPrismContainerValue(), F_FUNCTION); return getFunction(); }
public FunctionLibraryType(PrismContext prismContext) { setupContainer(new PrismObjectImpl(_getContainerName(), getClass(), prismContext)); }
/** * Create an instance of {@link FunctionLibraryType } * */ public FunctionLibraryType createFunctionLibraryType() { return new FunctionLibraryType(); }
public FunctionLibraryType function(ExpressionType value) { getFunction().add(value); return this; }
public ObjectReferenceType beginArchetypeRef() { ObjectReferenceType value = new ObjectReferenceType(); archetypeRef(value); return value; }
@XmlElement(name = "function") public List<ExpressionType> getFunction() { return PrismForJAXBUtil.getPropertyValues(asPrismContainerValue(), F_FUNCTION, ExpressionType.class); }
/** * Creates and returns a deep copy of a given {@code javax.xml.bind.JAXBElement<com.evolveum.midpoint.xml.ns._public.common.common_3.FunctionLibraryType>} instance. * * @param e * The instance to copy or {@code null}. * @return * A deep copy of {@code e} or {@code null} if {@code e} is {@code null}. */ @SuppressWarnings("unchecked") private static JAXBElement<FunctionLibraryType> copyOfFunctionLibraryTypeElement(final JAXBElement<FunctionLibraryType> e) { // CC-XJC Version 2.0 Build 2011-09-16T18:27:24+0000 if (e!= null) { final JAXBElement<FunctionLibraryType> copy = new JAXBElement<FunctionLibraryType>(e.getName(), e.getDeclaredType(), e.getScope(), e.getValue()); copy.setNil(e.isNil()); // CClassInfo: com.evolveum.midpoint.xml.ns._public.common.common_3.FunctionLibraryType copy.setValue(((((FunctionLibraryType) copy.getValue()) == null)?null:((FunctionLibraryType) copy.getValue()).clone())); return copy; } return null; }
@Override public PrismObject<FunctionLibraryType> asPrismObject() { return asPrismContainer(); }
public AssignmentType beginAssignment() { AssignmentType value = new AssignmentType(); assignment(value); return value; }
/** * Create an instance of {@link FunctionLibraryType } * */ public FunctionLibraryType createFunctionLibraryType() { return new FunctionLibraryType(); }
public <V extends PrismValue, D extends ItemDefinition> Object execute(String functionName, Map<String, Object> params) throws ExpressionEvaluationException { Validate.notNull(functionName, "Function name must be specified"); List<ExpressionType> functions = library.getFunction().stream().filter(expression -> functionName.equals(expression.getName())).collect(Collectors.toList());
public FunctionLibraryType archetypeRef(String oid, QName type) { PrismReferenceValue refVal = new PrismReferenceValueImpl(oid, type); ObjectReferenceType ort = new ObjectReferenceType(); ort.setupReferenceValue(refVal); return archetypeRef(ort); }
public<X >X end() { return ((X)((PrismContainerValue)((PrismContainer) asPrismContainerValue().getParent()).getParent()).asContainerable()); }
/** * Creates and returns a deep copy of a given {@code javax.xml.bind.JAXBElement<com.evolveum.midpoint.xml.ns._public.common.common_3.FunctionLibraryType>} instance. * * @param e * The instance to copy or {@code null}. * @return * A deep copy of {@code e} or {@code null} if {@code e} is {@code null}. */ @SuppressWarnings("unchecked") private static JAXBElement<FunctionLibraryType> copyOfFunctionLibraryTypeElement(final JAXBElement<FunctionLibraryType> e) { // CC-XJC Version 2.0 Build 2011-09-16T18:27:24+0000 if (e!= null) { final JAXBElement<FunctionLibraryType> copy = new JAXBElement<FunctionLibraryType>(e.getName(), e.getDeclaredType(), e.getScope(), e.getValue()); copy.setNil(e.isNil()); // CClassInfo: com.evolveum.midpoint.xml.ns._public.common.common_3.FunctionLibraryType copy.setValue(((((FunctionLibraryType) copy.getValue()) == null)?null:((FunctionLibraryType) copy.getValue()).clone())); return copy; } return null; }
/** * Create an instance of {@link FunctionLibraryType } * */ public FunctionLibraryType createFunctionLibraryType() { return new FunctionLibraryType(); }
expressions = functionLibraryType.getFunction();
public FunctionLibraryType archetypeRef(String oid, QName type, QName relation) { PrismReferenceValue refVal = new PrismReferenceValueImpl(oid, type); refVal.setRelation(relation); ObjectReferenceType ort = new ObjectReferenceType(); ort.setupReferenceValue(refVal); return archetypeRef(ort); }