org.media.mn8
Class mn8ScriptElement

java.lang.Object
  |
  +--org.media.mn8.Concept
        |
        +--org.media.mn8.JavaConcept
              |
              +--org.media.mn8.FieldConcept
                    |
                    +--org.media.mn8.mn8ScriptElement
All Implemented Interfaces:
FieldDefinition

public class mn8ScriptElement
extends FieldConcept

Version:
$Revision: 1.7 $ $Date: 2002/06/05 14:57:16 $
Author:
Remus Pereni

Field Summary
protected  String _declaringConcept
           
protected  ElementConcept _field
           
protected  antlr.collections.AST _initialValue
           
protected  boolean _multi
           
 
Fields inherited from class org.media.mn8.FieldConcept
_conceptType, _isStatic, _label, _name
 
Fields inherited from class org.media.mn8.Concept
_conceptLabel, _isHidden, _resourceURI, _showEmpty
 
Constructor Summary
mn8ScriptElement()
           
mn8ScriptElement(String name, ElementConcept field, boolean isStatic, String label, String type, String declaringConcept, antlr.collections.AST initial)
           
mn8ScriptElement(String name, ElementConcept field, boolean isStatic, String label, String type, String declaringConcept, antlr.collections.AST initial, boolean multi)
           
 
Method Summary
 Concept getValue(Concept on)
           
protected  boolean initializeField()
          Performs initialization of the _field with the value specified as the initial value of the field.
protected  boolean initializeField(ElementConcept field)
           
 boolean isAttribute()
           
 boolean isElement()
           
 boolean isMulti()
           
 Concept newInstance()
           
 void setStatic(boolean isStatic)
           
 void setValue(Concept on, Concept value)
           
 
Methods inherited from class org.media.mn8.FieldConcept
clone, getConceptDefinition, getFieldLabel, getFieldName, getInitialValue, getLabel, getName, getType, isStatic, toTXT, toXML
 
Methods inherited from class org.media.mn8.JavaConcept
create, equals, equals, opEQ
 
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, getResourceURI, hasConceptAttribute, hasConceptAttribute, hasConceptElement, hasConceptElement, hasConceptMethod, hasPath, hasPath, isHidden, loadContent, printFields, printFields, searchDeeperForPath, searchSubElements, setConceptLabel, setErrorHandler, setHidden, setResourceURI, setShowEmpty, showEmpty, subAttributeGetConcept, subAttributeHasPath, subElementGetConcepts, subElementHasPath
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_declaringConcept

protected String _declaringConcept

_field

protected ElementConcept _field

_initialValue

protected antlr.collections.AST _initialValue

_multi

protected boolean _multi
Constructor Detail

mn8ScriptElement

public mn8ScriptElement()

mn8ScriptElement

public mn8ScriptElement(String name,
                        ElementConcept field,
                        boolean isStatic,
                        String label,
                        String type,
                        String declaringConcept,
                        antlr.collections.AST initial)

mn8ScriptElement

public mn8ScriptElement(String name,
                        ElementConcept field,
                        boolean isStatic,
                        String label,
                        String type,
                        String declaringConcept,
                        antlr.collections.AST initial,
                        boolean multi)
Method Detail

isMulti

public boolean isMulti()
Overrides:
isMulti in class FieldConcept

newInstance

public Concept newInstance()
Specified by:
newInstance in interface FieldDefinition
Overrides:
newInstance in class FieldConcept

isAttribute

public boolean isAttribute()
Specified by:
isAttribute in interface FieldDefinition
Overrides:
isAttribute in class FieldConcept

isElement

public boolean isElement()
Specified by:
isElement in interface FieldDefinition
Overrides:
isElement in class FieldConcept

getValue

public Concept getValue(Concept on)
Specified by:
getValue in interface FieldDefinition
Overrides:
getValue in class FieldConcept

setStatic

public void setStatic(boolean isStatic)

setValue

public void setValue(Concept on,
                     Concept value)
Specified by:
setValue in interface FieldDefinition
Overrides:
setValue in class FieldConcept

initializeField

protected boolean initializeField()
Performs initialization of the _field with the value specified as the initial value of the field. Assumes that the field is not null initially.

Returns:
a boolean value of true if the field was initialized and false other-way.

initializeField

protected boolean initializeField(ElementConcept field)


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