Public Member Functions

de.fraunhofer.isst.axbench.axlang.api.IAttributeStore Interface Reference

Interface for an attribute storage. More...

List of all members.

Public Member Functions

void addAttribute (AXLangAttribute newAttribute)
 Attribut des Elements festlegen.
AXLangAttribute getAttribute (String sAttName)
 Attribut des Elements zurückgeben.
Collection< AXLangAttributegetAttributes ()
 Attribute des Elements zurückgeben.
String getAttributeValue (String sAttName)
 Returns the value of an attribute.
void removeAttribute (String sAttName) throws AXLException
 Remove attribute from the element.
void setAttributeValue (String sAttName, String newValue)
 Sets the value of an attribute.

Detailed Description

Interface for an attribute storage.

Author:
ekleinod
Version:
0.7.2
Since:
0.7.2

Member Function Documentation

void de.fraunhofer.isst.axbench.axlang.api.IAttributeStore.addAttribute ( AXLangAttribute  newAttribute  ) 

Attribut des Elements festlegen.

Parameters:
newAttribute neues Attribut

Implemented in de.fraunhofer.isst.axbench.axlang.api.AbstractAttributeStore.

AXLangAttribute de.fraunhofer.isst.axbench.axlang.api.IAttributeStore.getAttribute ( String  sAttName  ) 

Attribut des Elements zurückgeben.

Parameters:
sAttName Name des Attributs
Returns:
attribute
Return values:
null if the attribute does not exist

Implemented in de.fraunhofer.isst.axbench.axlang.api.AbstractAttributeStore.

Collection<AXLangAttribute> de.fraunhofer.isst.axbench.axlang.api.IAttributeStore.getAttributes (  ) 

Attribute des Elements zurückgeben.

Returns:
Attribute

Implemented in de.fraunhofer.isst.axbench.axlang.api.AbstractAttributeStore.

String de.fraunhofer.isst.axbench.axlang.api.IAttributeStore.getAttributeValue ( String  sAttName  ) 

Returns the value of an attribute.

Parameters:
sAttName attribute name
Returns:
attribute value

Implemented in de.fraunhofer.isst.axbench.axlang.api.AbstractAttributeStore.

void de.fraunhofer.isst.axbench.axlang.api.IAttributeStore.removeAttribute ( String  sAttName  )  throws AXLException

Remove attribute from the element.

Remarks:
An attribute can only be deleted if it is marked as deleteable.
Parameters:
sAttName name of the attribute
Exceptions:
AXLException if the attribute does not exist or is not deleteable

Implemented in de.fraunhofer.isst.axbench.axlang.api.AbstractAttributeStore.

void de.fraunhofer.isst.axbench.axlang.api.IAttributeStore.setAttributeValue ( String  sAttName,
String  newValue 
)

Sets the value of an attribute.

Parameters:
sAttName attribute name
newValue new attribute value

Implemented in de.fraunhofer.isst.axbench.axlang.api.AbstractAttributeStore.