org.media.mn8.concepts
Class ElementConcept
java.lang.Object
|
+--org.media.mn8.Concept
|
+--org.media.mn8.JavaConcept
|
+--org.media.mn8.concepts.ElementConcept
- All Implemented Interfaces:
- Element
- Direct Known Subclasses:
- TransparentElement
- public class ElementConcept
- extends JavaConcept
- implements Element
- Version:
- $Revision: 1.26 $ $Date: 2002/07/24 23:23:39 $
- Author:
- Remus Pereni
Methods inherited from class org.media.mn8.Concept |
cloneConcept, extendsConcept, getAllInheritedConcepts, getAttributeValue, getConceptAttribute, getConceptAttributeField, getConceptConstructors, getConceptInstance, getConceptMethod, getConceptMethods, getConceptNamed, getConceptOperators, getConceptsAtPath, getConceptsAtPath, getConceptType, getErrorHandler, getInheritedConcepts, getResourceURI, hasConceptAttribute, hasConceptMethod, hasPath, hasPath, isHidden, printFields, printFields, searchSubElements, setErrorHandler, setHidden, showEmpty, subAttributeGetConcept, subAttributeHasPath, subElementGetConcepts |
_name
protected StringConcept _name
_label
protected StringConcept _label
_attribs
protected AttributeSeries _attribs
_multi
protected boolean _multi
ElementConcept
public ElementConcept()
ElementConcept
public ElementConcept(String name,
String label,
Concept value,
SeriesConcept attributes)
ElementConcept
public ElementConcept(String name,
String label,
Concept value,
SeriesConcept attributes,
boolean multi,
String multiType)
create
public ElementConcept create(StringConcept label,
Concept value)
toString
public String toString()
- Overrides:
toString
in class Object
addValue
public void addValue(Concept value)
setValue
public void setValue(Concept value)
getValue
public Concept getValue()
getName
public StringConcept getName()
getAttributes
public SeriesConcept getAttributes()
- Specified by:
getAttributes
in interface Element
setAttributes
public void setAttributes(SeriesConcept attributes)
- Specified by:
setAttributes
in interface Element
addAttribute
public void addAttribute(AttributeConcept attr)
addAttribute
public void addAttribute(StringConcept name,
StringConcept label,
Concept value)
getLabel
public StringConcept getLabel()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class JavaConcept
setLabel
public void setLabel(StringConcept label)
getValueType
public StringConcept getValueType()
getElementName
public String getElementName()
- Specified by:
getElementName
in interface Element
setElementName
public void setElementName(String name)
- Specified by:
setElementName
in interface Element
getElementLabel
public String getElementLabel()
- Specified by:
getElementLabel
in interface Element
setElementLabel
public void setElementLabel(String label)
- Specified by:
setElementLabel
in interface Element
setElementValue
public void setElementValue(Concept concept)
- Specified by:
setElementValue
in interface Element
getElementValue
public Concept getElementValue()
- Specified by:
getElementValue
in interface Element
getElementType
public String getElementType()
- Specified by:
getElementType
in interface Element
setConceptLabel
public void setConceptLabel(StringConcept label)
- Overrides:
setConceptLabel
in class Concept
getConceptLabel
public StringConcept getConceptLabel()
- Overrides:
getConceptLabel
in class Concept
toTXT
public StringConcept toTXT()
- Overrides:
toTXT
in class JavaConcept
toXML
public StringConcept toXML()
- Overrides:
toXML
in class JavaConcept
getConceptDefinition
public ConceptDefinition getConceptDefinition()
- Overrides:
getConceptDefinition
in class JavaConcept
hasConceptElement
public LogicalConcept hasConceptElement(StringConcept name)
- Overrides:
hasConceptElement
in class Concept
hasConceptElement
public boolean hasConceptElement(String name)
- Overrides:
hasConceptElement
in class Concept
hasConceptAttribute
public boolean hasConceptAttribute(String name)
- Overrides:
hasConceptAttribute
in class Concept
setShowEmpty
public void setShowEmpty(LogicalConcept showEmpty)
- Overrides:
setShowEmpty
in class Concept
getConceptElements
public SeriesConcept getConceptElements()
- Overrides:
getConceptElements
in class Concept
getConceptElement
public Concept getConceptElement(StringConcept name)
- Overrides:
getConceptElement
in class Concept
getConceptElement
public Concept getConceptElement(String name)
- Overrides:
getConceptElement
in class Concept
getConceptElementField
public FieldDefinition getConceptElementField(StringConcept name)
getConceptElementField
public FieldDefinition getConceptElementField(String name)
- Overrides:
getConceptElementField
in class Concept
isMulti
public LogicalConcept isMulti()
getConceptElementFields
public SeriesConcept getConceptElementFields()
- Overrides:
getConceptElementFields
in class Concept
getConceptAttributeFields
public SeriesConcept getConceptAttributeFields()
- Overrides:
getConceptAttributeFields
in class Concept
getConceptAttributeField
public FieldDefinition getConceptAttributeField(String name)
- Overrides:
getConceptAttributeField
in class Concept
getConceptAttribute
public Concept getConceptAttribute(String name)
- Overrides:
getConceptAttribute
in class Concept
getConceptAttributes
public SeriesConcept getConceptAttributes()
- Overrides:
getConceptAttributes
in class Concept
clone
public Object clone()
- Overrides:
clone
in class JavaConcept
setResourceURI
public void setResourceURI(StringConcept resourceURI)
- Overrides:
setResourceURI
in class Concept
loadContent
public void loadContent(Concept from)
- Overrides:
loadContent
in class Concept
opEquals
public LogicalConcept opEquals(ElementConcept elem)
equals
public LogicalConcept equals(ElementConcept elem)
subElementHasPath
public LogicalConcept subElementHasPath(String elementName,
String subPath)
- Description copied from class:
Concept
- Returns if an element of this concept has the subpath specified as parameter
- Overrides:
subElementHasPath
in class Concept
- Parameters:
elementName
- the name of the elementsubPath
- the subpath to be looked for
- Returns:
- true if it has it false otherway
areThereMoreElemenents
public boolean areThereMoreElemenents(String path)
- Overrides:
areThereMoreElemenents
in class Concept
searchDeeperForPath
public SeriesConcept searchDeeperForPath(SeriesConcept holder,
String path)
- Overrides:
searchDeeperForPath
in class Concept
getMeAllElements
public Vector getMeAllElements(String path)
- Overrides:
getMeAllElements
in class Concept
"Copyright © 2000-2002 Internet Multicasting Services, media.org & noLimits Technologies. All Rights Reserved."