Assetize

Maximo Java API · psdi.mbo

MboValueAdapter psdi.mbo.MboValueAdapter

MboValueAdapter is a Maximo class. It is in every release from 8.5 to 9.3, with 22 public and protected methods and 1 fields.

Using this class in Jython

Framework extension point

Base adapter for Java field behaviour such as validation, actions and lookup lists. For a Jython rule, choose an Attribute Validate or Action event. You normally do not instantiate a field adapter and invoke its lifecycle methods.

# Configure an Attribute launch point for scripting behaviour.

Signature and hierarchy

public class MboValueAdapter implements MboValueListener, MboConstants

Extends: java.lang.Object.

Implements: psdi.mbo.MboValueListener, psdi.mbo.MboConstants.

1,206 direct subclasses in IBM's code.

Where Maximo uses it

No object, attribute, screen, service or cron task names MboValueAdapter directly. No internal method callers can be inferred from these registrations.

Upgrading

Nothing on MboValueAdapter was removed or moved between 8.5 and 9.3. No recorded removal is not a runtime compatibility guarantee; compare the exact source and target signatures.

Method context

validate
Field validation lifecycle hook. Maximo calls field logic during validation; a script should supply its rule at the matching launch point. # Use an Attribute Validate launch point.
action
Field action lifecycle hook. Use the action event for dependent changes after field validation. # Use an Attribute Action launch point.
getList
Field lookup-list lifecycle hook. Returns a candidate set for the field; lookup context matters. # Configure a Retrieve List attribute script.

Methods

Signatures across captured releases. Use Browse to filter to one version.

SignatureReleases
public MboValueAdapter()8.5–9.3
public MboValueAdapter(MboValue)8.5–9.3
public void action()8.5–9.3
public String[] getAppLink()8.5–9.3
public ServiceRemote getIntegrationService()8.5–9.3
public MboSetRemote getList()8.5–9.3
public String getLookupName()8.5–9.3
public String getMatchingAttr()8.5–9.3
public String getMatchingAttr(String)8.5–9.3
public MboValue getMboValue()8.5–9.3
public MboValue getMboValue(String)8.5–9.3
protected Translate getTranslator()8.5–9.3
public int getType()8.5–9.3
public boolean hasList()8.5–9.3
public void init()8.5–9.3
public void initValue()8.5–9.3
public void setType(int)8.5–9.3
public void setValueFromLookup(MboRemote)8.5–9.3
public MboSetRemote smartFill(String, boolean)8.5–9.3
public MboSetRemote smartFind(String, boolean)8.5–9.3
public MboSetRemote smartFind(String, String, boolean)8.5–9.3
public void validate()8.5–9.3

From automation scripts

Base adapter for Java field behaviour such as validation, actions and lookup lists.

Replace a field override with a launch point

Attribute launch point · WORKORDER.DESCRIPTION · Validate · Jython

# First create message assetize / descriptionRequired in Messages.
if mbo.isNull("DESCRIPTION"):
    service.error("assetize", "descriptionRequired")

For IBM's description of each method, see IBM's Javadoc for Maximo and Manage.