/** * Copyright (c) 2000-present Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ package org.oep.datamgt.service.base; import org.oep.datamgt.service.DictCollectionServiceUtil; import java.util.Arrays; /** * @author NQMINH * @generated */ public class DictCollectionServiceClpInvoker { public DictCollectionServiceClpInvoker() { _methodName40 = "getBeanIdentifier"; _methodParameterTypes40 = new String[] { }; _methodName41 = "setBeanIdentifier"; _methodParameterTypes41 = new String[] { "java.lang.String" }; } public Object invokeMethod(String name, String[] parameterTypes, Object[] arguments) throws Throwable { if (_methodName40.equals(name) && Arrays.deepEquals(_methodParameterTypes40, parameterTypes)) { return DictCollectionServiceUtil.getBeanIdentifier(); } if (_methodName41.equals(name) && Arrays.deepEquals(_methodParameterTypes41, parameterTypes)) { DictCollectionServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); return null; } throw new UnsupportedOperationException(); } private String _methodName40; private String[] _methodParameterTypes40; private String _methodName41; private String[] _methodParameterTypes41; }