org.media.mn8
Class mn8ConceptDefinition

java.lang.Object
  |
  +--org.media.mn8.ConceptDefinition
        |
        +--org.media.mn8.ConceptConceptDefinition
              |
              +--org.media.mn8.mn8ConceptDefinition

public class mn8ConceptDefinition
extends ConceptConceptDefinition

Version:
$Revision: 1.15 $ $Date: 2002/02/26 14:15:01 $
Author:
Remus Pereni

Constructor Summary
mn8ConceptDefinition(antlr.collections.AST conceptASTNode, String[] tokenNames)
          In case we have an concept definition, this method is in charge of getting the mn8ConceptDefinition out of it, processing further the methods an so on.
mn8ConceptDefinition(String type, String label, Vector inheritance)
           
 
Method Summary
protected  void copyInheritedAttributes()
           
protected  void copyInheritedElements()
           
protected  void copyInheritedMethods()
           
 Concept getConceptInstance()
           
 StringConcept getConceptLabel()
           
 StringConcept getConceptType()
           
static String getConceptTypeFromAST(antlr.collections.AST codeASTNode, String[] tokenNames)
           
 SeriesConcept getInheritedConcepts()
           
 String[] getTokenNames()
           
static boolean ismn8ConceptDefinition(antlr.collections.AST codeASTNode, String[] tokenNames)
           
 void setTokenNames(String[] tokenNames)
           
 
Methods inherited from class org.media.mn8.ConceptConceptDefinition
fromXML, getErrorHandler, getReference, setErrorHandler
 
Methods inherited from class org.media.mn8.ConceptDefinition
extendsConcept, getAllInheritedConcepts, getAttribute, getAttributeField, getCameleonConceptMethods, getConceptAttribute, getConceptAttributeField, getConceptAttributeField, getConceptAttributeFields, getConceptAttributeFieldsAsHashtable, getConceptConstructor, getConceptConstructor, getConceptConstructors, getConceptElement, getConceptElementField, getConceptElementField, getConceptElementFields, getConceptElementsFieldName, getConceptMethod, getConceptMethod, getConceptMethods, getConceptOperator, getConceptOperator, getConceptOperators, getConstructor, getElement, getInheritanceList, getInheritanceMethods, hasConceptAttribute, hasConceptAttribute, hasConceptElement, hasConceptElement, hasConceptMethod, initializeCameleonMethodTable, main, putAttribute, putElement, putMethod, putOperator, removeAttribute, removeMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

mn8ConceptDefinition

public mn8ConceptDefinition(String type,
                            String label,
                            Vector inheritance)

mn8ConceptDefinition

public mn8ConceptDefinition(antlr.collections.AST conceptASTNode,
                            String[] tokenNames)
In case we have an concept definition, this method is in charge of getting the mn8ConceptDefinition out of it, processing further the methods an so on.

Parameters:
conceptASTNode - AST Node, probably if it is a concept def, will be the root node.
tokenNames - the token names as returned by the parser.
See Also:
Parser, AST
Method Detail

getConceptLabel

public StringConcept getConceptLabel()
Overrides:
getConceptLabel in class ConceptConceptDefinition

getConceptType

public StringConcept getConceptType()
Overrides:
getConceptType in class ConceptConceptDefinition

getInheritedConcepts

public SeriesConcept getInheritedConcepts()
Overrides:
getInheritedConcepts in class ConceptConceptDefinition

ismn8ConceptDefinition

public static boolean ismn8ConceptDefinition(antlr.collections.AST codeASTNode,
                                             String[] tokenNames)

getConceptTypeFromAST

public static String getConceptTypeFromAST(antlr.collections.AST codeASTNode,
                                           String[] tokenNames)

getConceptInstance

public Concept getConceptInstance()
Overrides:
getConceptInstance in class ConceptConceptDefinition

getTokenNames

public String[] getTokenNames()

setTokenNames

public void setTokenNames(String[] tokenNames)

copyInheritedMethods

protected void copyInheritedMethods()

copyInheritedAttributes

protected void copyInheritedAttributes()

copyInheritedElements

protected void copyInheritedElements()


"Copyright © 2000-2002 Internet Multicasting Services, media.org & noLimits Technologies. All Rights Reserved."