context.arch.discoverer.componentDescription
Class AttributeElement
java.lang.Object
context.arch.discoverer.componentDescription.AbstractDescriptionElement
context.arch.discoverer.componentDescription.AttributeElement
- Direct Known Subclasses:
- ConstantAttributeElement, NonConstantAttributeElement
- public abstract class AttributeElement
- extends AbstractDescriptionElement
- Author:
- newbergr
Field Summary |
static java.lang.String |
SEPARATOR
|
protected java.lang.String |
type
|
Constructor Summary |
protected |
AttributeElement(java.lang.Object attributeNameValue)
|
protected |
AttributeElement(java.lang.Object stringName,
java.lang.Object stringValue)
|
protected |
AttributeElement(java.lang.Object stringName,
java.lang.Object stringValue,
java.lang.String type)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SEPARATOR
public static final java.lang.String SEPARATOR
- See Also:
- Constant Field Values
type
protected java.lang.String type
AttributeElement
protected AttributeElement(java.lang.Object attributeNameValue)
AttributeElement
protected AttributeElement(java.lang.Object stringName,
java.lang.Object stringValue)
AttributeElement
protected AttributeElement(java.lang.Object stringName,
java.lang.Object stringValue,
java.lang.String type)
getNameElement
public abstract java.lang.String getNameElement()
getValueElement
public abstract java.lang.String getValueElement()
getNameValueElement
public abstract java.lang.String getNameValueElement()
setValue
public void setValue(java.lang.Object attribute)
- Description copied from class:
AbstractDescriptionElement
- Sets the value of this element
- Overrides:
setValue
in class AbstractDescriptionElement
setAttributeName
public void setAttributeName(java.lang.Object attName)
setAttributeValue
public void setAttributeValue(java.lang.Object attValue)
setAttributeNameValue
public void setAttributeNameValue(java.lang.Object attName,
java.lang.Object attValue)
processQueryItem
public boolean processQueryItem(java.lang.Object componentDescription,
AbstractComparison operator)
- Description copied from class:
AbstractDescriptionElement
- Returns true if the comparison between the value of this object and the value
of the corresponding field of the componentDescription returns true
- Specified by:
processQueryItem
in class AbstractDescriptionElement
- Parameters:
componentDescription
- The component to compare to this objectoperator
- The comparison element to use
- Returns:
- boolean
toString
public java.lang.String toString()
- Description copied from class:
AbstractDescriptionElement
- Returns a printable version
- Overrides:
toString
in class AbstractDescriptionElement