Maximo Java API · psdi.mbo
MboValue psdi.mbo.MboValue
MboValue is a Maximo abstract class. It is in every release from 8.5 to 9.3, with 113 public and protected methods and 3 fields.
Using this class in Jython
Obtain from a record
The value and state of one attribute on a record, including its modification and read-only state. Attribute launch points are a natural home for field logic. Use the matching object and attribute, rather than assuming every MBO has the same fields.
value = mbo.getMboValue("DESCRIPTION")
Signature and hierarchy
public abstract class MboValue implements MboConstants
Extends: java.lang.Object.
Implements: psdi.mbo.MboConstants.
19 direct subclasses in IBM's code.
Where Maximo uses it
No object, attribute, screen, service or cron task names MboValue directly. No internal method callers can be inferred from these registrations.
Upgrading
Nothing on MboValue 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
- isModified
- Check whether this attribute has changed. This is the field state, not the state of every attribute.
mbo.getMboValue("DESCRIPTION").isModified() - getString
- Read this field value as text. The attribute was selected when obtaining the MboValue.
mbo.getMboValue("DESCRIPTION").getString()
Methods
Signatures across captured releases. Use Browse to filter to one version.
| Signature | Releases |
|---|---|
public MboValue() | 8.5–9.3 |
public void _setValueNull() | 8.5–9.3 |
public void addMboValueListener(MboValueListener) | 8.5–9.3 |
public void autoKey() | 8.5–9.3 |
public void autoKeyByMboSiteOrg() | 8.5–9.3 |
public void checkFieldAccess(long) | 8.5–9.3 |
public void construct(Mbo, MboValueInfo) | 8.5–9.3 |
public synchronized void generateUniqueID() | 8.5–9.3 |
public ApplicationError getApplicationError() | 8.5–9.3 |
public String[] getAppLink() | 8.5–9.3 |
public String getAttributeName() | 8.5–9.3 |
public final boolean getBoolean() | 8.5–9.3 |
public final byte getByte() | 8.5–9.3 |
public final byte[] getBytes() | 8.5–9.3 |
public String getColumnTitle() | 8.5–9.3 |
public String getCurProcessValue() | 8.5–9.3 |
public long getCurrentFieldAccess() | 8.5–9.3 |
public MaxType getCurrentValue() | 8.5–9.3 |
public final Date getDate() | 8.5–9.3 |
public String getDefault() | 8.5–9.3 |
public final double getDouble() | 8.5–9.3 |
public void getFieldFlagFromMbo(long) | 8.5–9.3 |
public long getFlags() | 8.5–9.3 |
public final float getFloat() | 8.5–9.3 |
public MaxType getInitialValue() | 8.5–9.3 |
public final int getInt() | 8.5–9.3 |
public ServiceRemote getIntegrationService() | 8.5–9.3 |
public int getLength() | 8.5–9.3 |
public MboSetRemote getList() | 8.5–9.3 |
public Vector getListeners() | 8.5–9.3 |
public final long getLong() | 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 final MaxType getMaxType() | 8.5–9.3 |
public Mbo getMbo() | 8.5–9.3 |
protected MboServerInterface getMboServer() | 8.5–9.3 |
public MboValueData getMboValueData() | 8.5–9.3 |
public MboValueData getMboValueData(boolean) | 8.5–9.3 |
public MboValueInfo getMboValueInfo() | 8.5–9.3 |
public MXException getMXException() | 8.5–9.3 |
public String getName() | 8.5–9.3 |
public MaxType getPreviousValue() | 8.5–9.3 |
protected boolean getPropagateKeyFlag() | 8.5–9.3 |
public int getScale() | 8.5–9.3 |
public final String getString() | 8.5–9.3 |
protected Translate getTranslator() | 8.5–9.3 |
public abstract int getType() | 8.5–9.3 |
public boolean hasFieldAccess(long) | 8.5–9.3 |
public boolean hasList() | 8.5–9.3 |
public boolean hasLongDescription() | 8.5–9.3 |
public void init() | 8.5–9.3 |
public void initValue() | 8.5–9.3 |
public boolean isApplicationRequired() | 8.5–9.3 |
public boolean isExtended() | 8.5–9.3 |
public boolean isFlagSet(long) | 8.5–9.3 |
public boolean isGuaranteedUnique() | 8.5–9.3 |
public boolean isHidden() | 8.5–9.3 |
public boolean isModified() | 8.5–9.3 |
public boolean isNull() | 8.5–9.3 |
public boolean isPersistent() | 8.5–9.3 |
public boolean isReadOnly() | 8.5–9.3 |
public boolean isRecordHover() | 8.5–9.3 |
public boolean isRequired() | 8.5–9.3 |
public boolean isToBeValidated() | 8.5–9.3 |
public void removeMboValueListener(MboValueListener) | 8.5–9.3 |
public void resetCurrentFieldAccess() | 8.5–9.3 |
public void rollbackToCheckpoint() | 8.5–9.3 |
public void setApplicationError(ApplicationError) | 8.5–9.3 |
public void setApplicationRequired(boolean) | 8.5–9.3 |
public void setBypassOperatorCheck(boolean) | 8.5–9.3 |
public void setCurProcessValue(String) | 8.5–9.3 |
public void setCurrentFieldAccess(long) | 8.5–9.3 |
public void setCustomLookupName(String) | 8.5–9.3 |
public void setDefault(String) | 8.5–9.3 |
public void setFlag(long, boolean, MXException) | 8.5–9.3 |
public void setFlag(long, boolean) | 8.5–9.3 |
public void setFlags(long, MXException) | 8.5–9.3 |
public void setFlags(long) | 8.5–9.3 |
public void setGuaranteedUnique(boolean) | 8.5–9.3 |
public void setHidden(boolean) | 8.5–9.3 |
public void setReadOnly(boolean) | 8.5–9.3 |
public void setRecordHover(boolean) | 8.5–9.3 |
public void setRequired(boolean) | 8.5–9.3 |
public void setToBeValidated(boolean) | 8.5–9.3 |
public final void setValue(boolean, long) | 8.5–9.3 |
public final void setValue(boolean) | 8.5–9.3 |
public final void setValue(byte, long) | 8.5–9.3 |
public final void setValue(byte) | 8.5–9.3 |
public final void setValue(byte[], long) | 8.5–9.3 |
public final void setValue(byte[]) | 8.5–9.3 |
public final void setValue(Date, long) | 8.5–9.3 |
public final void setValue(Date) | 8.5–9.3 |
public final void setValue(double, long) | 8.5–9.3 |
public final void setValue(double) | 8.5–9.3 |
public final void setValue(float, long) | 8.5–9.3 |
public final void setValue(float) | 8.5–9.3 |
public final void setValue(int, long) | 8.5–9.3 |
public final void setValue(int) | 8.5–9.3 |
public final void setValue(long, long) | 8.5–9.3 |
public final void setValue(long) | 8.5–9.3 |
public final void setValue(String, long) | 8.5–9.3 |
public final void setValue(String) | 8.5–9.3 |
public void setValueFromLookup(MboRemote) | 8.5–9.3 |
public void setValueNull() | 8.5–9.3 |
public void setValueNull(long) | 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 takeCheckpoint() | 8.5–9.3 |
public String toString() | 8.5–9.3 |
public final void validate() | 8.5–9.3 |
public final void validate(long) | 8.5–9.3 |
From automation scripts
The value and state of one attribute on a record, including its modification and read-only state.
Inspect a changed attribute
Object launch point · ASSET · Save · Update · Before Save · Jython
value = mbo.getMboValue("LOCATION")
if value.isModified():
service.log("Location changed to %s" % mbo.getString("LOCATION"))
For IBM's description of each method, see IBM's Javadoc for Maximo and Manage.