org.media.mn8
Class FieldConcept

java.lang.Object
  |
  +--org.media.mn8.Concept
        |
        +--org.media.mn8.JavaConcept
              |
              +--org.media.mn8.FieldConcept
All Implemented Interfaces:
FieldDefinition
Direct Known Subclasses:
CameleonJavaAttribute, CameleonJavaElement, DummyFieldConcept, mn8ScriptAttribute, mn8ScriptElement

public class FieldConcept
extends JavaConcept
implements FieldDefinition

Version:
$Revision: 1.11 $ $Date: 2002/06/05 14:55:42 $
Author:
Remus Pereni

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

_name

protected String _name

_isStatic

protected boolean _isStatic

_label

protected String _label

_conceptType

protected String _conceptType

_initialValue

protected Concept _initialValue

_field

protected Field _field
Constructor Detail

FieldConcept

public FieldConcept()

FieldConcept

public FieldConcept(String name,
                    Field field,
                    boolean isStatic,
                    String label,
                    String type,
                    Concept initial)

FieldConcept

public FieldConcept(String name,
                    Field field,
                    boolean isStatic,
                    String label,
                    String type,
                    Concept initial,
                    boolean isHidden)
Method Detail

getName

public String getName()
Specified by:
getName in interface FieldDefinition

getLabel

public String getLabel()
Specified by:
getLabel in interface FieldDefinition

isStatic

public boolean isStatic()
Specified by:
isStatic in interface FieldDefinition

getType

public String getType()
Specified by:
getType in interface FieldDefinition

newInstance

public Concept newInstance()
Specified by:
newInstance in interface FieldDefinition

toXML

public StringConcept toXML()
Overrides:
toXML in class JavaConcept

isMulti

public boolean isMulti()

toTXT

public StringConcept toTXT()
Overrides:
toTXT in class JavaConcept

isAttribute

public boolean isAttribute()
Specified by:
isAttribute in interface FieldDefinition

isElement

public boolean isElement()
Specified by:
isElement in interface FieldDefinition

getInitialValue

public Concept getInitialValue()
Specified by:
getInitialValue in interface FieldDefinition

getValue

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

setValue

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

getFieldName

public StringConcept getFieldName()

getFieldLabel

public StringConcept getFieldLabel()

getConceptDefinition

public ConceptDefinition getConceptDefinition()
Overrides:
getConceptDefinition in class JavaConcept

clone

public Object clone()
Overrides:
clone in class JavaConcept


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