CodeBeamer 5.4.0.1-RC API

com.intland.codebeamer.persistence.util
Class TrackerItemPropertyLabelIdTranslator

java.lang.Object
  extended by com.intland.codebeamer.persistence.util.TrackerItemPropertyLabelIdTranslator

public class TrackerItemPropertyLabelIdTranslator
extends java.lang.Object

Translates between the property names of TrackerItemDto and Layout IDs back and forth.


Method Summary
static TrackerItemPropertyLabelIdTranslator getInstance()
           
 java.lang.Integer getLabelId(java.lang.String property)
          Translates a property name to label ID.
 java.util.Set<java.lang.Integer> getLabelIds()
          Get all known label-ids.
 java.lang.String getProperty(java.lang.Integer labelId)
          Translates a label ID to property name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static TrackerItemPropertyLabelIdTranslator getInstance()

getLabelId

public java.lang.Integer getLabelId(java.lang.String property)
Translates a property name to label ID.


getProperty

public java.lang.String getProperty(java.lang.Integer labelId)
Translates a label ID to property name.


getLabelIds

public java.util.Set<java.lang.Integer> getLabelIds()
Get all known label-ids.

Returns:
an unmodifiable set of all LabelIds.

CodeBeamer 5.4.0.1-RC API

Copyright © 2006-2009 Intland Software. All rights reserved.