de.init.its.ds
Class ItsDataCategoryResolver

java.lang.Object
  extended by de.init.its.ds.ItsDataCategoryResolver

public class ItsDataCategoryResolver
extends java.lang.Object

Service class to obtain data category mapping for the name and the respective attributes

Author:
mkandora

Method Summary
static ItsDataCategoryResolver getResolver()
          Returns a singletone instance of the ItsDataCategoryResolver
 void put(java.lang.String attributeName, ItsAttributes.DataCategories dc)
          Puts a bi-directional mapping for ItsAttributes.DataCategories and their respective attributes
 java.util.Set<ItsAttributes> retrieveAttributes(ItsAttributes.DataCategories dc)
          Returns all atributes defined by a ItsAttributes.DataCategories
 ItsAttributes.DataCategories retrieveDataCategory(java.lang.String attributeName)
          Returns the ItsAttributes.DataCategories for an its attribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getResolver

public static ItsDataCategoryResolver getResolver()
Returns a singletone instance of the ItsDataCategoryResolver

Returns:

put

public void put(java.lang.String attributeName,
                ItsAttributes.DataCategories dc)
Puts a bi-directional mapping for ItsAttributes.DataCategories and their respective attributes

Parameters:
attributeName -
dc -

retrieveDataCategory

public ItsAttributes.DataCategories retrieveDataCategory(java.lang.String attributeName)
Returns the ItsAttributes.DataCategories for an its attribute

Parameters:
attributeName -
Returns:

retrieveAttributes

public java.util.Set<ItsAttributes> retrieveAttributes(ItsAttributes.DataCategories dc)
Returns all atributes defined by a ItsAttributes.DataCategories

Parameters:
dc -
Returns: