public interface AttributeContainer
extends java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
void |
addAttribute(java.lang.String attributeName,
java.lang.String attributeValue)
Store the specified attribute and it's value.
|
java.lang.String |
getAttribute(java.lang.String attributeName)
Get the value of an attribute
|
java.lang.String |
getAttribute(java.lang.String attributeName,
java.lang.String defaultValue)
Get the value of an attribute
|
void addAttribute(java.lang.String attributeName,
java.lang.String attributeValue)
attributeName - the name of the attribute to retrieveattributeValue - the attribute's valuejava.lang.String getAttribute(java.lang.String attributeName,
java.lang.String defaultValue)
attributeName - the attribute to retrievedefaultValue - the value to return if the attribute is not presentjava.lang.String getAttribute(java.lang.String attributeName)
attributeName - the attribute to retrieve(C) 2002 - 2005 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.4, 2005-12-30