org.omg.uml.foundation.core
Interface MethodClass
- All Superinterfaces:
- javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefClass, javax.jmi.reflect.RefFeatured
- public interface MethodClass
- extends javax.jmi.reflect.RefClass
Method class proxy interface.
Methods inherited from interface javax.jmi.reflect.RefClass |
refAllOfClass, refAllOfType, refCreateInstance, refCreateStruct, refCreateStruct, refGetEnum, refGetEnum |
Methods inherited from interface javax.jmi.reflect.RefFeatured |
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue |
Methods inherited from interface javax.jmi.reflect.RefBaseObject |
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints |
createMethod
public Method createMethod()
- The default factory operation used to create an instance object.
- Returns:
- The created instance object.
createMethod
public Method createMethod(String name,
VisibilityKind visibility,
boolean isSpecification,
ScopeKind ownerScope,
boolean isQuery,
ProcedureExpression body)
- Creates an instance object having attributes initialized by the passed
values.
- Parameters:
name
- visibility
- isSpecification
- ownerScope
- isQuery
- body
-
- Returns:
- The created instance object.