org.media.mn8
Class ConceptDefinition
java.lang.Object
|
+--org.media.mn8.ConceptDefinition
- Direct Known Subclasses:
- ConceptConceptDefinition
- public abstract class ConceptDefinition
- extends 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 $
- Author:
- Remus Pereni
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConceptDefinition
public ConceptDefinition()
getConceptLabel
public abstract StringConcept getConceptLabel()
getConceptType
public abstract StringConcept getConceptType()
getInheritedConcepts
public abstract SeriesConcept getInheritedConcepts()
hasConceptAttribute
public LogicalConcept hasConceptAttribute(StringConcept attributeName)
- A method also representing the static method Concept.hasConceptAttribute:String
which checks if an concept has an attribute named attributeName.
- Parameters:
attributeName
- the name of the attribute to be looked for.
- Returns:
- true if exists false otherway.
hasConceptAttribute
public boolean hasConceptAttribute(String attributeName)
- Same as #hasConceptAttribute(StringConcept) in functionality but used internally where
a possible conversion to StringConcept might not be wanted.
- Parameters:
attributeName
- the name of the attribute to be looked for.
- Returns:
- true if exists false otherway.
getConceptAttribute
public Concept getConceptAttribute(Concept on,
StringConcept attributeName)
getConceptElementFields
public SeriesConcept getConceptElementFields()
getConceptElementsFieldName
public Vector getConceptElementsFieldName()
getConceptAttributeFields
public SeriesConcept getConceptAttributeFields()
getConceptAttributeFieldsAsHashtable
public Hashtable getConceptAttributeFieldsAsHashtable()
getConceptAttributeField
public FieldDefinition getConceptAttributeField(StringConcept attributeName)
getConceptAttributeField
public FieldDefinition getConceptAttributeField(String attributeName)
hasConceptElement
public LogicalConcept hasConceptElement(StringConcept elementName)
- Checks if the current concept has an element with the requested name.
- Parameters:
elementName
- a StringConcept
representing the name of the element.
- Returns:
- True if the element us available, false otherway.
hasConceptElement
public boolean hasConceptElement(String elementName)
- Performs the same function as
hasConceptElement(StringConcept)
but is used for internal operation where a conversion to StringConcept might
not be wanted.
- Parameters:
elementName
- the name of the element to be looked for.
- Returns:
- true if the element is available, false otherways.
getConceptElement
public Concept getConceptElement(Concept on,
StringConcept elementName)
getConceptMethods
public SeriesConcept getConceptMethods()
getCameleonConceptMethods
public SeriesConcept getCameleonConceptMethods()
getConceptConstructors
public SeriesConcept getConceptConstructors()
getConceptOperators
public SeriesConcept getConceptOperators()
getConceptInstance
public Concept getConceptInstance()
getInheritanceList
public Vector getInheritanceList()
putOperator
public final void putOperator(mn8Method method)
putMethod
public final void putMethod(mn8Method method)
removeMethod
public final void removeMethod(String methodSignature)
getConstructor
public mn8Method getConstructor(String methodSignature)
getInheritanceMethods
public Hashtable getInheritanceMethods()
putAttribute
public void putAttribute(FieldConcept attributeDef)
removeAttribute
public void removeAttribute(String attribName)
getAttribute
public FieldDefinition getAttribute(String attribName)
getAttributeField
public FieldDefinition getAttributeField(String attribName)
putElement
public void putElement(FieldConcept elementDef)
getElement
public FieldDefinition getElement(String elementName)
getConceptElementField
public FieldDefinition getConceptElementField(StringConcept elementName)
getConceptElementField
public FieldDefinition getConceptElementField(String elementName)
getConceptOperator
public final mn8Method getConceptOperator(StringConcept methodSignature)
getConceptOperator
public final mn8Method getConceptOperator(String methodSignature)
getConceptMethod
public final mn8Method getConceptMethod(StringConcept methodSignature)
hasConceptMethod
public LogicalConcept hasConceptMethod(StringConcept methodSignature)
getConceptMethod
public final mn8Method getConceptMethod(String methodSignature)
getConceptConstructor
public final mn8Method getConceptConstructor(StringConcept methodSignature)
getConceptConstructor
public final mn8Method getConceptConstructor(String methodSignature)
extendsConcept
public final LogicalConcept extendsConcept(StringConcept conceptType)
main
public static void main(String[] args)
getAllInheritedConcepts
public SeriesConcept getAllInheritedConcepts()
initializeCameleonMethodTable
protected void initializeCameleonMethodTable()
"Copyright © 2000-2002 Internet Multicasting Services, media.org & noLimits Technologies. All Rights Reserved."