Class ServerApplicationAttributeRepository
java.lang.Object
com.e1c.g5.dt.internal.applications.wst.ServerApplicationAttributeRepository
- All Implemented Interfaces:
IApplicationAttributeRepository
public class ServerApplicationAttributeRepository
extends Object
implements IApplicationAttributeRepository
The WST server application attribute repository delegate implementation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute
(IApplication application, String key) Returns the attribute value by thekey
for the specifiedapplication
.void
setAttribute
(IApplication application, String key, String value) Sets the specified attribute for the givenapplication
.
-
Constructor Details
-
ServerApplicationAttributeRepository
public ServerApplicationAttributeRepository()
-
-
Method Details
-
setAttribute
Description copied from interface:IApplicationAttributeRepository
Sets the specified attribute for the givenapplication
.- Specified by:
setAttribute
in interfaceIApplicationAttributeRepository
- Parameters:
application
- the application to set the attribute, cannot benull
.key
- the string field that represents the key of the attribute, cannot benull
.value
- the string field that represents the value of the attribute, can benull
.
-
getAttribute
Description copied from interface:IApplicationAttributeRepository
Returns the attribute value by thekey
for the specifiedapplication
.- Specified by:
getAttribute
in interfaceIApplicationAttributeRepository
- Parameters:
application
- the application to obtain the attribute, cannot benull
.key
- the string field that represents the key of the attribute, cannot benull
.- Returns:
- the string field that represents the value of the attribute, never
null
.
-