All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jresearch.flexess.client.impl.DefaultOperationMatcher Maven / Gradle / Ivy

The newest version!
package org.jresearch.flexess.client.impl;

import org.jresearch.flexess.client.IOperationMatcher;
import org.jresearch.flexess.core.model.uam.PObject;
import org.jresearch.flexess.core.model.uam.POperation;

public class DefaultOperationMatcher implements IOperationMatcher {

	@Override
	public POperation findOperation(PObject pobject, String operation) {
		for (Object op : pobject.getEOperations()) {
			if (((POperation) op).getName().equalsIgnoreCase(operation)) {
				return (POperation) op;
			}
		}
		return null;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy