org.media.mn8
Class DummyFieldConcept

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

public class DummyFieldConcept
extends FieldConcept

It's a dummy concept representation of a Field. Used especially to create elements or attributes for an concept run time. As an example, in a Series concept element added to the Series can be accessed also as valid elements $i/1,$i/2 even if they are not valid elements.

Version:
$Revision: 1.3 $ $Date: 2002/02/03 19:24:20 $
Author:
Remus Pereni

Field Summary
protected  boolean _isElement
           
protected  Concept _value
           
 
Fields inherited from class org.media.mn8.FieldConcept
_conceptType, _field, _initialValue, _isStatic, _label, _name
 
Fields inherited from class org.media.mn8.Concept
_conceptLabel, _isHidden, _resourceURI, _showEmpty
 
Constructor Summary
DummyFieldConcept()
           
DummyFieldConcept(String name, Concept value, boolean isStatic, String label, String type)
           
DummyFieldConcept(String name, Concept value, boolean isStatic, String label, String type, boolean isElement)
           
 
Method Summary
 Concept getValue(Concept on)
           
 boolean isAttribute()
           
 boolean isElement()
           
 void setValue(Concept on, Concept value)
           
 
Methods inherited from class org.media.mn8.FieldConcept
clone, getConceptDefinition, getFieldLabel, getFieldName, getInitialValue, getLabel, getName, getType, isMulti, isStatic, newInstance, 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

_value

protected Concept _value

_isElement

protected boolean _isElement
Constructor Detail

DummyFieldConcept

public DummyFieldConcept()

DummyFieldConcept

public DummyFieldConcept(String name,
                         Concept value,
                         boolean isStatic,
                         String label,
                         String type)

DummyFieldConcept

public DummyFieldConcept(String name,
                         Concept value,
                         boolean isStatic,
                         String label,
                         String type,
                         boolean isElement)
Method Detail

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

setValue

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


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