ext.tools
Class UpdateIBAs
java.lang.Object
ext.tools.UpdateIBAs
- All Implemented Interfaces:
- wt.method.RemoteAccess
public class UpdateIBAs
- extends java.lang.Object
- implements wt.method.RemoteAccess
purpose: create/instantiate the IBAHolder, then checkout IBAHolder, add IBAs, checkin
-a adds IBA values,
-t "types" the objects
-e allow empty attribute values
-c allows update of classification nodes.
-c option is to be considered experimental ... handle with care !!
| Fields inherited from interface wt.method.RemoteAccess |
versionID |
|
Method Summary |
static wt.iba.value.litevalue.AbstractValueView |
createAbstractValueView(wt.iba.definition.litedefinition.AttributeDefDefaultView def,
java.lang.String value)
helper method for iba stuff |
static void |
forcedUpdate(wt.iba.value.IBAHolder h,
java.lang.Object cpm,
java.util.Locale l,
wt.units.service.MeasurementSystemDefaultView m)
|
static void |
main(java.lang.String[] a)
entry point from commandline invocation - check args and act accordingly. |
static java.lang.String |
updateIBAs(java.lang.String[] a)
does the work, string array description see main() |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CVSVersion
public static final java.lang.String CVSVersion
- See Also:
- Constant Field Values
FORMATTERT
public static java.text.SimpleDateFormat FORMATTERT
UpdateIBAs
public UpdateIBAs()
main
public static void main(java.lang.String[] a)
throws java.lang.Exception
- entry point from commandline invocation - check args and act accordingly.
- Parameters:
a - arguments: OBID iba value iba value ...
- Throws:
java.lang.Exception
updateIBAs
public static java.lang.String updateIBAs(java.lang.String[] a)
throws wt.util.WTException
- does the work, string array description see main()
- Parameters:
a - arguments
- Returns:
- String diagnostics, mailny for command line usage.
- Throws:
wt.util.WTException
createAbstractValueView
public static wt.iba.value.litevalue.AbstractValueView createAbstractValueView(wt.iba.definition.litedefinition.AttributeDefDefaultView def,
java.lang.String value)
throws java.lang.Exception
- helper method for iba stuff
- Parameters:
def - value -
- Returns:
- AbstractValueView
- Throws:
java.lang.Exception
forcedUpdate
public static void forcedUpdate(wt.iba.value.IBAHolder h,
java.lang.Object cpm,
java.util.Locale l,
wt.units.service.MeasurementSystemDefaultView m)
throws wt.util.WTException
- Throws:
wt.util.WTException