Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.media.mn8
Class ConceptDefinition  view ConceptDefinition download ConceptDefinition.java

java.lang.Object
  extended byorg.media.mn8.ConceptDefinition
Direct Known Subclasses:
ConceptConceptDefinition

public abstract class ConceptDefinition
extends java.lang.Object

being from an mn8 script based concept or a Java one, is registered in ConceptRegister, where it is taken by the mn8Loader and instantiated.

Version:
$Revision: 1.34 $ $Date: 2002/06/05 14:55:26 $

Field Summary
private  java.util.Hashtable _attributeTable
           
private  java.util.Hashtable _cameleonMethodTable
           
private  java.util.Hashtable _constructorTable
           
private  java.util.Vector _elementNameTable
           
private  java.util.Vector _elementTable
           
private  java.util.Vector _inheritance
           
private  java.util.Hashtable _methodTable
           
private  java.util.Hashtable _operationTable
           
 
Constructor Summary
ConceptDefinition()
           
 
Method Summary
private  java.util.Vector addInheritedConcepts(org.media.mn8.concepts.StringConcept ofConcept)
           
 org.media.mn8.concepts.LogicalConcept extendsConcept(org.media.mn8.concepts.StringConcept conceptType)
           
 org.media.mn8.concepts.SeriesConcept getAllInheritedConcepts()
           
 FieldDefinition getAttribute(java.lang.String attribName)
           
 FieldDefinition getAttributeField(java.lang.String attribName)
           
 org.media.mn8.concepts.SeriesConcept getCameleonConceptMethods()
           
 Concept getConceptAttribute(Concept on, org.media.mn8.concepts.StringConcept attributeName)
           
 FieldDefinition getConceptAttributeField(java.lang.String attributeName)
           
 FieldDefinition getConceptAttributeField(org.media.mn8.concepts.StringConcept attributeName)
           
 org.media.mn8.concepts.SeriesConcept getConceptAttributeFields()
           
 java.util.Hashtable getConceptAttributeFieldsAsHashtable()
           
 mn8Method getConceptConstructor(java.lang.String methodSignature)
           
 mn8Method getConceptConstructor(org.media.mn8.concepts.StringConcept methodSignature)
           
 org.media.mn8.concepts.SeriesConcept getConceptConstructors()
           
 Concept getConceptElement(Concept on, org.media.mn8.concepts.StringConcept elementName)
           
 FieldDefinition getConceptElementField(java.lang.String elementName)
           
 FieldDefinition getConceptElementField(org.media.mn8.concepts.StringConcept elementName)
           
 org.media.mn8.concepts.SeriesConcept getConceptElementFields()
           
 java.util.Vector getConceptElementsFieldName()
           
 Concept getConceptInstance()
           
abstract  org.media.mn8.concepts.StringConcept getConceptLabel()
           
 mn8Method getConceptMethod(java.lang.String methodSignature)
           
 mn8Method getConceptMethod(org.media.mn8.concepts.StringConcept methodSignature)
           
 org.media.mn8.concepts.SeriesConcept getConceptMethods()
           
 mn8Method getConceptOperator(java.lang.String methodSignature)
           
 mn8Method getConceptOperator(org.media.mn8.concepts.StringConcept methodSignature)
           
 org.media.mn8.concepts.SeriesConcept getConceptOperators()
           
abstract  org.media.mn8.concepts.StringConcept getConceptType()
           
 mn8Method getConstructor(java.lang.String methodSignature)
           
 FieldDefinition getElement(java.lang.String elementName)
           
 java.util.Vector getInheritanceList()
           
 java.util.Hashtable getInheritanceMethods()
           
abstract  org.media.mn8.concepts.SeriesConcept getInheritedConcepts()
           
 boolean hasConceptAttribute(java.lang.String attributeName)
          Same as #hasConceptAttribute(StringConcept) in functionality but used internally where a possible conversion to StringConcept might not be wanted.
 org.media.mn8.concepts.LogicalConcept hasConceptAttribute(org.media.mn8.concepts.StringConcept attributeName)
          A method also representing the static method Concept.hasConceptAttribute:String which checks if an concept has an attribute named attributeName.
 boolean hasConceptElement(java.lang.String elementName)
          Performs the same function as hasConceptElement(StringConcept) 55 but is used for internal operation where a conversion to StringConcept might not be wanted.
 org.media.mn8.concepts.LogicalConcept hasConceptElement(org.media.mn8.concepts.StringConcept elementName)
          Checks if the current concept has an element with the requested name.
 org.media.mn8.concepts.LogicalConcept hasConceptMethod(org.media.mn8.concepts.StringConcept methodSignature)
           
protected  void initializeCameleonMethodTable()
           
static void main(java.lang.String[] args)
           
 void putAttribute(FieldConcept attributeDef)
           
 void putElement(FieldConcept elementDef)
           
 void putMethod(mn8Method method)
           
 void putOperator(mn8Method method)
           
 void removeAttribute(java.lang.String attribName)
           
 void removeMethod(java.lang.String methodSignature)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_inheritance

private java.util.Vector _inheritance

_methodTable

private java.util.Hashtable _methodTable

_cameleonMethodTable

private java.util.Hashtable _cameleonMethodTable

_constructorTable

private java.util.Hashtable _constructorTable

_operationTable

private java.util.Hashtable _operationTable

_elementTable

private java.util.Vector _elementTable

_elementNameTable

private java.util.Vector _elementNameTable

_attributeTable

private java.util.Hashtable _attributeTable
Constructor Detail

ConceptDefinition

public ConceptDefinition()
Method Detail

getConceptLabel

public abstract org.media.mn8.concepts.StringConcept getConceptLabel()

getConceptType

public abstract org.media.mn8.concepts.StringConcept getConceptType()

getInheritedConcepts

public abstract org.media.mn8.concepts.SeriesConcept getInheritedConcepts()

hasConceptAttribute

public org.media.mn8.concepts.LogicalConcept hasConceptAttribute(org.media.mn8.concepts.StringConcept attributeName)
A method also representing the static method Concept.hasConceptAttribute:String which checks if an concept has an attribute named attributeName.


hasConceptAttribute

public boolean hasConceptAttribute(java.lang.String attributeName)
Same as #hasConceptAttribute(StringConcept) in functionality but used internally where a possible conversion to StringConcept might not be wanted.


getConceptAttribute

public Concept getConceptAttribute(Concept on,
                                   org.media.mn8.concepts.StringConcept attributeName)

getConceptElementFields

public org.media.mn8.concepts.SeriesConcept getConceptElementFields()

getConceptElementsFieldName

public java.util.Vector getConceptElementsFieldName()

getConceptAttributeFields

public org.media.mn8.concepts.SeriesConcept getConceptAttributeFields()

getConceptAttributeFieldsAsHashtable

public java.util.Hashtable getConceptAttributeFieldsAsHashtable()

getConceptAttributeField

public FieldDefinition getConceptAttributeField(org.media.mn8.concepts.StringConcept attributeName)

getConceptAttributeField

public FieldDefinition getConceptAttributeField(java.lang.String attributeName)

hasConceptElement

public org.media.mn8.concepts.LogicalConcept hasConceptElement(org.media.mn8.concepts.StringConcept elementName)
Checks if the current concept has an element with the requested name.


hasConceptElement

public boolean hasConceptElement(java.lang.String elementName)
Performs the same function as hasConceptElement(StringConcept) 55 but is used for internal operation where a conversion to StringConcept might not be wanted.


getConceptElement

public Concept getConceptElement(Concept on,
                                 org.media.mn8.concepts.StringConcept elementName)

getConceptMethods

public org.media.mn8.concepts.SeriesConcept getConceptMethods()

getCameleonConceptMethods

public org.media.mn8.concepts.SeriesConcept getCameleonConceptMethods()

getConceptConstructors

public org.media.mn8.concepts.SeriesConcept getConceptConstructors()

getConceptOperators

public org.media.mn8.concepts.SeriesConcept getConceptOperators()

getConceptInstance

public Concept getConceptInstance()

getInheritanceList

public java.util.Vector getInheritanceList()

putOperator

public final void putOperator(mn8Method method)

putMethod

public final void putMethod(mn8Method method)

removeMethod

public final void removeMethod(java.lang.String methodSignature)

getConstructor

public mn8Method getConstructor(java.lang.String methodSignature)

getInheritanceMethods

public java.util.Hashtable getInheritanceMethods()

putAttribute

public void putAttribute(FieldConcept attributeDef)

removeAttribute

public void removeAttribute(java.lang.String attribName)

getAttribute

public FieldDefinition getAttribute(java.lang.String attribName)

getAttributeField

public FieldDefinition getAttributeField(java.lang.String attribName)

putElement

public void putElement(FieldConcept elementDef)

getElement

public FieldDefinition getElement(java.lang.String elementName)

getConceptElementField

public FieldDefinition getConceptElementField(org.media.mn8.concepts.StringConcept elementName)

getConceptElementField

public FieldDefinition getConceptElementField(java.lang.String elementName)

getConceptOperator

public final mn8Method getConceptOperator(org.media.mn8.concepts.StringConcept methodSignature)

getConceptOperator

public final mn8Method getConceptOperator(java.lang.String methodSignature)

getConceptMethod

public final mn8Method getConceptMethod(org.media.mn8.concepts.StringConcept methodSignature)

hasConceptMethod

public org.media.mn8.concepts.LogicalConcept hasConceptMethod(org.media.mn8.concepts.StringConcept methodSignature)

getConceptMethod

public final mn8Method getConceptMethod(java.lang.String methodSignature)

getConceptConstructor

public final mn8Method getConceptConstructor(org.media.mn8.concepts.StringConcept methodSignature)

getConceptConstructor

public final mn8Method getConceptConstructor(java.lang.String methodSignature)

extendsConcept

public final org.media.mn8.concepts.LogicalConcept extendsConcept(org.media.mn8.concepts.StringConcept conceptType)

main

public static void main(java.lang.String[] args)

getAllInheritedConcepts

public org.media.mn8.concepts.SeriesConcept getAllInheritedConcepts()

addInheritedConcepts

private java.util.Vector addInheritedConcepts(org.media.mn8.concepts.StringConcept ofConcept)

initializeCameleonMethodTable

protected void initializeCameleonMethodTable()