org.apache.xmlbeans.impl.jam.mutable.MMethod Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.liferay.dynamic.data.mapping.service Show documentation
Show all versions of com.liferay.dynamic.data.mapping.service Show documentation
Liferay Dynamic Data Mapping Service
The newest version!
/* Copyright 2004 The Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.xmlbeans.impl.jam.mutable;
import org.apache.xmlbeans.impl.jam.JClass;
import org.apache.xmlbeans.impl.jam.JMethod;
/**
* Mutable version of JMethod.
*
* @author Patrick Calahan <email: pcal-at-bea-dot-com>
*/
public interface MMethod extends JMethod, MInvokable {
/**
* Sets the type of this method's return value. Null can be passed if
* a 'void' return type is desired.
*
* @throws IllegalArgumentException if the parameter is not a valid
* java class name.
*/
public void setReturnType(String qualifiedTypeName);
public void setUnqualifiedReturnType(String unqualifiedTypeName);
/**
* Sets the type of this method's return value. Null may be passed if
* a 'void' return type is desired. This method is exactly equivalent to
* calling setReturnType(jclass.getQualifiedName()).
*/
public void setReturnType(JClass c);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy