com.tivoli.twg.engine
Interface TWGGetSetDescInterface

All Superinterfaces:
TWGGetSetInterface
All Known Implementing Classes:
TWGManagedObject, TWGManagedObjectStatusGroup, TWGManagedObjectStatusSet

public interface TWGGetSetDescInterface
extends TWGGetSetInterface

Interface extension for TWGGetSetInterface to include support for locale-specific descriptions for attributes.


Method Summary
 java.lang.String getAttributeDescription(java.lang.String id, java.util.Locale loc)
          Get description string for given attribute in given locale
 java.lang.String getAttributeValueString(java.lang.String id, java.util.Locale loc)
          Get descriptive value string for given attribute in given locale
 
Methods inherited from interface com.tivoli.twg.engine.TWGGetSetInterface
getAttributeIDList, getAttributeType, getAttributeValue, setAttributeValue
 

Method Detail

getAttributeDescription

public java.lang.String getAttributeDescription(java.lang.String id,
                                                java.util.Locale loc)
Get description string for given attribute in given locale

Parameters:
id - - attribute ID
loc - - locale to use for description
Returns:
description string, or null if not available

getAttributeValueString

public java.lang.String getAttributeValueString(java.lang.String id,
                                                java.util.Locale loc)
Get descriptive value string for given attribute in given locale

Parameters:
id - - attribute ID
loc - - locale to use for description
Returns:
descriptive string for attribute value, or null if not available, or "" if value shouldn't be presented descriptively (not end-user data)