context.arch.discoverer.componentDescription
Class CallbackElement
java.lang.Object
context.arch.discoverer.componentDescription.AbstractDescriptionElement
context.arch.discoverer.componentDescription.CallbackElement
- public class CallbackElement
- extends AbstractDescriptionElement
- Author:
- Agathe
Method Summary |
java.lang.Object |
extractElement(java.lang.Object componentDescription)
Returns the element from the componentDescription corresponding to this
description element |
boolean |
processQueryItem(java.lang.Object componentDescription,
AbstractComparison operator)
Returns true if the comparison between the value of this object and the value
of the corresponding field of the componentDescription returns true |
void |
setValue(java.lang.Object callbackName)
Sets the value of this element |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CALLBACK_ELEMENT
public static final java.lang.String CALLBACK_ELEMENT
- See Also:
- Constant Field Values
CallbackElement
public CallbackElement()
- Creates new CallbackElement
CallbackElement
public CallbackElement(java.lang.Object callbackName)
setValue
public void setValue(java.lang.Object callbackName)
- Description copied from class:
AbstractDescriptionElement
- Sets the value of this element
- Overrides:
setValue
in class AbstractDescriptionElement
extractElement
public java.lang.Object extractElement(java.lang.Object componentDescription)
- Description copied from class:
AbstractDescriptionElement
- Returns the element from the componentDescription corresponding to this
description element
- Specified by:
extractElement
in class AbstractDescriptionElement
- Parameters:
componentDescription
-
- Returns:
- Object
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