org.media.mn8
Class mn8JavaMethod
java.lang.Object
|
+--org.media.mn8.Concept
|
+--org.media.mn8.JavaConcept
|
+--org.media.mn8.mn8JavaMethod
- All Implemented Interfaces:
- mn8Method
- Direct Known Subclasses:
- CameleonJavaMethod, mn8ScriptMethod
- public class mn8JavaMethod
- extends JavaConcept
- implements mn8Method
Constructor Summary |
mn8JavaMethod()
|
mn8JavaMethod(java.lang.reflect.Method method,
java.lang.String[] paramTypes,
java.lang.String declaringConcept,
java.lang.String returnType)
|
mn8JavaMethod(java.lang.String fromClass,
boolean isStatic,
java.lang.String javaSig,
java.lang.String mn8Sig,
java.lang.String declaringConcept,
java.lang.String returnType)
One form of the constructor. |
mn8JavaMethod(java.lang.String name,
java.lang.reflect.Method method,
boolean isStatic,
java.util.Vector paramTypes,
java.lang.String declaringConcept,
java.lang.String returnType)
|
mn8JavaMethod(java.lang.String fromClass,
java.lang.String javaSig,
java.lang.String mn8Sig,
java.lang.String declaringConcept,
java.lang.String returnType)
One form of the constructor. |
Methods inherited from class org.media.mn8.Concept |
areThereMoreElemenents, cloneConcept, extendsConcept, getAllInheritedConcepts, getAttributeValue, getConceptAttribute, getConceptAttribute, getConceptAttributeField, getConceptAttributeField, getConceptAttributeFields, getConceptAttributes, getConceptConstructors, getConceptElement, getConceptElement, getConceptElementField, getConceptElementFields, getConceptElements, getConceptInstance, getConceptLabel, getConceptMethod, getConceptMethods, getConceptNamed, getConceptOperators, getConceptsAtPath, getConceptsAtPath, getConceptType, getErrorHandler, getInheritedConcepts, getMeAllElements, hasConceptAttribute, hasConceptAttribute, hasConceptElement, hasConceptElement, hasConceptMethod, hasPath, hasPath, isHidden, loadContent, printFields, printFields, searchDeeperForPath, searchSubElements, setConceptLabel, setErrorHandler, setHidden, setShowEmpty, showEmpty, subAttributeGetConcept, subAttributeHasPath, subElementGetConcepts, subElementHasPath |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
name
public AttributeConcept name
_isStatic
protected boolean _isStatic
_declaringConcept
protected java.lang.String _declaringConcept
_paramTypes
protected java.util.Vector _paramTypes
_method
protected java.lang.reflect.Method _method
_returnType
protected java.lang.String _returnType
lineNr
public int lineNr
mn8JavaMethod
public mn8JavaMethod()
mn8JavaMethod
public mn8JavaMethod(java.lang.String fromClass,
boolean isStatic,
java.lang.String javaSig,
java.lang.String mn8Sig,
java.lang.String declaringConcept,
java.lang.String returnType)
- One form of the constructor.
- Parameters:
fromClass
- The Java class where the described method belongsjavaSig
- the signature of the java method: like insert:org.media.mn8.Concept,org.media...mn8Sig
- the signature of the mn8 method: like insert:Integer,ConceptdeclaringConcept
- The type of the concept where this method belongs: ConceptreturnType
- null or the concept type of the returning value
mn8JavaMethod
public mn8JavaMethod(java.lang.String fromClass,
java.lang.String javaSig,
java.lang.String mn8Sig,
java.lang.String declaringConcept,
java.lang.String returnType)
- One form of the constructor.
- Parameters:
fromClass
- The Java class where the described method belongsjavaSig
- the signature of the java method: like insert:org.media.mn8.Concept,org.media...mn8Sig
- the signature of the mn8 method: like insert:Integer,ConceptdeclaringConcept
- The type of the concept where this method belongs: ConceptreturnType
- null or the concept type of the returning value
mn8JavaMethod
public mn8JavaMethod(java.lang.reflect.Method method,
java.lang.String[] paramTypes,
java.lang.String declaringConcept,
java.lang.String returnType)
mn8JavaMethod
public mn8JavaMethod(java.lang.String name,
java.lang.reflect.Method method,
boolean isStatic,
java.util.Vector paramTypes,
java.lang.String declaringConcept,
java.lang.String returnType)
createFromFormalDef
public void createFromFormalDef(java.lang.String fromClass,
boolean isStatic,
java.lang.String javaSig,
java.lang.String mn8Sig,
java.lang.String declaringConcept,
java.lang.String returnType)
getName
public StringConcept getName()
- Specified by:
getName
in interface mn8Method
isStatic
public LogicalConcept isStatic()
- Specified by:
isStatic
in interface mn8Method
getDeclaringConcept
public StringConcept getDeclaringConcept()
- Specified by:
getDeclaringConcept
in interface mn8Method
hasReturn
public LogicalConcept hasReturn()
- Specified by:
hasReturn
in interface mn8Method
getReturnType
public StringConcept getReturnType()
- Specified by:
getReturnType
in interface mn8Method
invoke
public Concept invoke(Concept on,
SeriesConcept parameters)
- Specified by:
invoke
in interface mn8Method
invoke
public Concept invoke(java.lang.String conceptDef,
SeriesConcept parameters)
- Specified by:
invoke
in interface mn8Method
getParameterTypes
public SeriesConcept getParameterTypes()
- Specified by:
getParameterTypes
in interface mn8Method
getModifiers
public SeriesConcept getModifiers()
- Specified by:
getModifiers
in interface mn8Method
getMethodSignature
public StringConcept getMethodSignature()
getSignature
public java.lang.String getSignature()
- Specified by:
getSignature
in interface mn8Method
toTXT
public StringConcept toTXT()
- Overrides:
toTXT
in class JavaConcept
toXML
public StringConcept toXML()
- Overrides:
toXML
in class JavaConcept
getConceptDefinition
public ConceptDefinition getConceptDefinition()
- Overrides:
getConceptDefinition
in class JavaConcept
getMethodUsingInheritance
public static mn8Method getMethodUsingInheritance(java.lang.String signature,
java.util.Vector methods)
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interface mn8Method
- Overrides:
equals
in class JavaConcept
hashCode
public int hashCode()
- Specified by:
hashCode
in interface mn8Method
- Overrides:
hashCode
in class java.lang.Object
findDeepMethod
protected java.lang.reflect.Method findDeepMethod(Concept on,
java.lang.String signature)
getMethodNameFromJavaSig
protected java.lang.String getMethodNameFromJavaSig(java.lang.String javaSig)
getMethodParamsFromJavaSig
protected java.lang.Class[] getMethodParamsFromJavaSig(java.lang.String javaSig)
clone
public java.lang.Object clone()
- Overrides:
clone
in class JavaConcept
getLineNr
public int getLineNr()
- Specified by:
getLineNr
in interface mn8Method
setLineNr
public void setLineNr(int lineNr)
- Specified by:
setLineNr
in interface mn8Method
"Copyright © 2001 Internet Multicasting Services & media.org. All Rights Reserved."