Giri,
Here is the two sets of main scripts. You need to build other logics based on your needs. I assume you are in 10 or above and looking API to get IBA values.
//load obj and get IBA Values of IBA
LWCNormalizedObject normalizedObject = new LWCNormalizedObject(wtPart, null, SessionHelper.getLocale(), null);
normalizedObject.load(ibaName);
Object ibaValue = normalizedObject.get(ibaName);
/*
* This can be used to get only String type IBA value
*/
public static String getIBAValues(Object ibaValue){
String ibaValues = ";
if(ibaValue instanceof Object[]) {
Object[] ibaValueArray = (Object[]) ibaValue;
for (Object aIbaValue : ibaValueArray) {
if ((ibaValues.length()) > 0) {
ibaValues = ibaValues + ",";
}
ibaValues = ibaValues + (String) aIbaValue;
}
}
else{
ibaValues = (String)ibaValue;
}
return ibaValues;
}
}
Shown code only to retrieve string type. You can adjust code to take care other data types.
Thanks
Ayyappan