org.deckfour.xes.info
Interface XAttributeNameMap

All Known Implementing Classes:
XAttributeNameMapImpl, XGlobalAttributeNameMap

public interface XAttributeNameMap

Author:
Christian W. Guenther (christian@deckfour.org)

Method Summary
 String getMappingName()
          Returns the name of this mapping.
 String map(String attributeKey)
          Returns the name mapped onto the provided attribute key by this mapping.
 String map(XAttribute attribute)
          Returns the name mapped onto the provided attribute by this mapping.
 

Method Detail

getMappingName

String getMappingName()
Returns the name of this mapping.

Returns:
The name of this mapping.

map

String map(XAttribute attribute)
Returns the name mapped onto the provided attribute by this mapping. If no mapping for the given attribute is provided by this map, null is returned.

Parameters:
attribute - Attribute to retrieve mapping for.
Returns:
The mapping for the given attribute, or null, if no such mapping exists.

map

String map(String attributeKey)
Returns the name mapped onto the provided attribute key by this mapping. If no mapping for the given attribute key is provided by this map, null is returned.

Parameters:
attributeKey - Attribute key to retrieve mapping for.
Returns:
The mapping for the given attribute key, or null, if no such mapping exists.