|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.iba.value.IBAValueUtility
This is a utility class designed to retrieve all the instance-based and modeled attributes for a specified IBAHolder object. There is also a utility method to retrieve a localized display string for a given instance-based attribute value. Debug statements for this class can be turned on by setting wt.iba.value.IBAValueUtility.verbose=true in wt.properties.
Field Summary | |
private String[][] |
attributeValues
|
private int |
attributeValuesIndex
|
private AbstractValueView[] |
avv
|
private DefaultAttributeContainer |
ibaContainer
|
private IBAHolder |
ibaHolder
|
private static String |
measurementSystem
|
private String[] |
propertyNames
|
private int |
propertyNamesIndex
|
private static boolean |
VERBOSE
|
Constructor Summary | |
IBAValueUtility(IBAHolder ibah)
|
|
IBAValueUtility(IBAHolder ibah,
List skipList)
Constructor that creates the IBAValueUtility object with the specified IBAHolder and a default Locale. |
|
IBAValueUtility(IBAHolder ibah,
List skipList,
Locale locale)
|
|
IBAValueUtility(IBAHolder ibah,
Locale locale)
Constructor that creates the IBAValueUtility object with the specified IBAHolder and Locale. |
Method Summary | |
private void |
debug(String message)
Helper method to print debug messages to the system console. |
String[][] |
getAttributeValues()
This method returns an array[][] of all the instance-based and modeled attributes for the IBAHolder object specified. |
static String |
getLocalizedIBAValueDisplayString(AbstractValueView abstractValueView,
Locale locale)
This method will retrieve the localized string value for the specified AbstractValueView and Locale. |
static String |
toString(IBAHolder ibaholder)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static boolean VERBOSE
private static String measurementSystem
private IBAHolder ibaHolder
private DefaultAttributeContainer ibaContainer
private AbstractValueView[] avv
private String[] propertyNames
private String[][] attributeValues
private int attributeValuesIndex
private int propertyNamesIndex
Constructor Detail |
public IBAValueUtility(IBAHolder ibah, Locale locale)
ibah
- The IBAHolder
object referenced by IBAValueUtility.locale
- The Locale
that should be utilized by IBAValueUtility.public IBAValueUtility(IBAHolder ibah, List skipList, Locale locale)
public IBAValueUtility(IBAHolder ibah, List skipList)
ibah
- The IBAHolder
object referenced by IBAValueUtility.public IBAValueUtility(IBAHolder ibah)
Method Detail |
public static String toString(IBAHolder ibaholder)
public String[][] getAttributeValues()
Array[][]
of all the instance-based and modeled
attributes.public static String getLocalizedIBAValueDisplayString(AbstractValueView abstractValueView, Locale locale) throws WTException
String
representing the specified AbstractValueView
object.
WTException
private void debug(String message)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |