All Packages Class Hierarchy This Package Previous Next Index
Interface com.ibm.beans.samples.dips.context.ContextElement
- public interface interface ContextElement
The ContextElement interface provides a common view of context elements between the
three different kinds of context dips. Context elements have getters and setters,
have names, and update policies associated with them.
-
getContextElement()
- Gets the context element, either a version, author or annotation information.
-
getContextElementName()
- Gets the name of the context element as a string.
-
getUpdatePolicy()
- Gets the update policy for this context element.
-
setContextElement(Object)
- Sets the context element, either a version, author or annotation information.
-
setUpdatePolicy(ContextUpdatePolicy)
- Sets the update policy for this context element.
getContextElement
public abstract Object getContextElement()
- Gets the context element, either a version, author or annotation information.
- Returns:
- An Object that is the context element.
setContextElement
public abstract void setContextElement(Object o)
- Sets the context element, either a version, author or annotation information.
- Parameters:
- o - An Object that is the context element to be set.
getContextElementName
public abstract String getContextElementName()
- Gets the name of the context element as a string.
- Returns:
- A String representing the name of the context element.
getUpdatePolicy
public abstract ContextUpdatePolicy getUpdatePolicy()
- Gets the update policy for this context element.
- Returns:
- A context policy update object.
setUpdatePolicy
public abstract void setUpdatePolicy(ContextUpdatePolicy u)
- Sets the update policy for this context element.
- Parameters:
- u - The context policy update object for this element.
All Packages Class Hierarchy This Package Previous Next Index