|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OperationOwner
Common protocol for classifiers that own operations.
Method Summary | |
---|---|
Operation |
createOwnedOperation(java.lang.String name,
org.eclipse.emf.common.util.EList<java.lang.String> parameterNames,
org.eclipse.emf.common.util.EList<Type> parameterTypes)
Creates a new void Operation (having no return result) as an
owned operation of this classifier. |
Operation |
createOwnedOperation(java.lang.String name,
org.eclipse.emf.common.util.EList<java.lang.String> parameterNames,
org.eclipse.emf.common.util.EList<Type> parameterTypes,
Type returnType)
Creates a new Operation as an owned operation of this classifier. |
Operation |
getOwnedOperation(java.lang.String name,
org.eclipse.emf.common.util.EList<java.lang.String> parameterNames,
org.eclipse.emf.common.util.EList<Type> parameterTypes)
Finds the first owned operation that matches all or any of the given name , parameterNames , and parameterTypes . |
Operation |
getOwnedOperation(java.lang.String name,
org.eclipse.emf.common.util.EList<java.lang.String> parameterNames,
org.eclipse.emf.common.util.EList<Type> parameterTypes,
boolean ignoreCase,
boolean createOnDemand)
Finds the first owned operation that matches all or any of the given name (optionally case-insensitive), parameterNames
(optionally case-insensitive), and parameterTypes . |
org.eclipse.emf.common.util.EList<Operation> |
getOwnedOperations()
Obtains the operations owned by this classifier. |
Method Detail |
---|
org.eclipse.emf.common.util.EList<Operation> getOwnedOperations()
Operation createOwnedOperation(java.lang.String name, org.eclipse.emf.common.util.EList<java.lang.String> parameterNames, org.eclipse.emf.common.util.EList<Type> parameterTypes)
Operation
(having no return result) as an
owned operation of this classifier.
name
- the name of the new operation (may be null
)parameterNames
- the names of the operation's IN
parameters (may be null
if no parameters are
needed)parameterTypes
- the types of the operation's IN
parameters (may be null
if no parameters are
needed)
createOwnedOperation(String, EList, EList, Type)
,
getOwnedOperation(String, EList, EList)
Operation createOwnedOperation(java.lang.String name, org.eclipse.emf.common.util.EList<java.lang.String> parameterNames, org.eclipse.emf.common.util.EList<Type> parameterTypes, Type returnType)
Operation
as an owned operation of this classifier.
name
- the name of the new operation (may be null
)parameterNames
- the names of the operation's IN
parameters (may be null
if no parameters are
needed)parameterTypes
- the types of the operation's IN
parameters (may be null
if no parameters are
needed)returnType
- the type of the operation (which is the type of its sole
return result)
createOwnedOperation(String, EList, EList)
,
getOwnedOperation(String, EList, EList)
Operation getOwnedOperation(java.lang.String name, org.eclipse.emf.common.util.EList<java.lang.String> parameterNames, org.eclipse.emf.common.util.EList<Type> parameterTypes)
name
, parameterNames
, and parameterTypes
.
name
- the operation name to match, or to match any
operation nameparameterNames
- the parameter names to match, or to match any
parameter namesparameterTypes
- the parameter types to match, or to match any
signature
null
if not foundgetOwnedOperation(String, EList, EList, boolean, boolean)
Operation getOwnedOperation(java.lang.String name, org.eclipse.emf.common.util.EList<java.lang.String> parameterNames, org.eclipse.emf.common.util.EList<Type> parameterTypes, boolean ignoreCase, boolean createOnDemand)
name
(optionally case-insensitive), parameterNames
(optionally case-insensitive), and parameterTypes
.
name
- the operation name to match, or to match any
operation nameparameterNames
- the parameter names to match, or to match any
parameter namesparameterTypes
- the parameter types to match, or to match any
signatureignoreCase
- whether matching of operation and parameter names is
case-insensitivecreateOnDemand
- whether to create the owned operation and return it if an
existing match is not found
null
if not found and
createOnDemand
is false
getOwnedOperation(String, EList, EList)
|
Copyright 2003, 2014 IBM Corporation, CEA, and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |