|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
public interface Attributes
The attributes provided by a makumba environment (for example a http session). Attributes can be referred and assigned to in business logic code.
| Method Summary | |
|---|---|
Object |
getAttribute(String name)
Gets the attribute with the given name. |
boolean |
hasAttribute(String name)
Checks whether an attribute exists |
void |
removeAttribute(String name)
Removes an attribute |
Object |
setAttribute(String name,
Object value)
Sets the value of an attribute |
| Method Detail |
|---|
Object getAttribute(String name)
throws LogicException
name - the name of the attribute
LogicException - if a business logic problem occured while trying to determine the attribute
AttributeNotFoundException - if there was no error but the attribute could not be found.
Object setAttribute(String name,
Object value)
throws LogicException
name - the name of the attributevalue - the value of the attribute
LogicException - if a business logic problem occured while trying to set the attribute (though at present the BL has
no supported way to check that).
void removeAttribute(String name)
throws LogicException
name - the name of the attribute
LogicException - if a business logic problem occured while trying to remove the attributeboolean hasAttribute(String name)
name - the name of the attribute
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||