java.lang.Object
org.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 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_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
ConceptDefinition
public ConceptDefinition()
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()