public class ServerMboAdapter
extends java.lang.Object
implements com.ibm.tivoli.maximo.util.mboadapter.MboAdapter, com.ibm.tivoli.maximo.util.mboadapter.MboAdapterConstants
ALLROWS, CHANGEDBY_USER, COUNT_ADDITIONS, COUNT_AFTERSAVE, COUNT_DATABASE, COUNT_DELETED, COUNT_EXISTING, DELAYVALIDATION, DISCARDABLE, NO_RELATEDMBOS_OF_OWNERSCHILDREN_FETCH, NOACCESSCHECK, NOACTION, NOADD, NOCOMMIT, NODELETE, NONE, NOSAVE, NOSETVALUE, NOUPDATE, NOVALIDATION, NOVALIDATION_AND_NOACTION, READONLY, REBUILD, REQUIRED, SAMEVALUEVALIDATION, USER
Constructor and Description |
---|
ServerMboAdapter(Mbo mbo) |
Modifier and Type | Method and Description |
---|---|
boolean |
getBoolean(java.lang.String attributeName) |
java.util.Date |
getDate(java.lang.String attributeName) |
int |
getInt(java.lang.String attributeName) |
boolean |
getMaxVarBoolean(java.lang.String maxvarName) |
int |
getMaxVarInt(java.lang.String maxvarName) |
java.lang.String |
getMaxVarString(java.lang.String maxvarName) |
Mbo |
getMbo() |
com.ibm.tivoli.maximo.util.mboadapter.MboSetAdapter |
getMboSet(java.lang.String relationshipName) |
java.lang.String |
getName() |
com.ibm.tivoli.maximo.util.mboadapter.MboAdapter |
getOwner() |
java.lang.String |
getString(java.lang.String attributeName) |
com.ibm.tivoli.maximo.util.mboadapter.MboSetAdapter |
getThisMboSet() |
boolean |
isNull(java.lang.String attributeName) |
boolean |
isReadOnly(java.lang.String attributeName) |
java.lang.Exception |
newApplicationException(java.lang.String group,
java.lang.String key) |
java.lang.Exception |
newApplicationException(java.lang.String group,
java.lang.String key,
java.lang.Object[] params) |
void |
setReadOnly(java.lang.String attributeName,
boolean readOnly) |
void |
setValue(java.lang.String attributeName,
boolean value) |
void |
setValue(java.lang.String attributeName,
boolean value,
long flags) |
void |
setValue(java.lang.String attributeName,
java.util.Date value) |
void |
setValue(java.lang.String attributeName,
java.util.Date value,
long flags) |
void |
setValue(java.lang.String attributeName,
int value) |
void |
setValue(java.lang.String attributeName,
int value,
long flags) |
void |
setValue(java.lang.String attributeName,
java.lang.String value) |
void |
setValue(java.lang.String attributeName,
java.lang.String value,
long flags) |
void |
setValueIfDifferent(java.lang.String attributeName,
boolean value) |
void |
setValueIfDifferent(java.lang.String attributeName,
boolean value,
long flags) |
boolean |
toBeDeleted() |
static void |
wrapException(java.lang.Exception e)
Attempts to cast the given exception to a Maximo or runtime exception.
|
public ServerMboAdapter(Mbo mbo)
public Mbo getMbo()
public com.ibm.tivoli.maximo.util.mboadapter.MboSetAdapter getMboSet(java.lang.String relationshipName) throws java.rmi.RemoteException, MXException
getMboSet
in interface com.ibm.tivoli.maximo.util.mboadapter.MboAdapter
java.rmi.RemoteException
MXException
public com.ibm.tivoli.maximo.util.mboadapter.MboSetAdapter getThisMboSet() throws java.lang.Exception
getThisMboSet
in interface com.ibm.tivoli.maximo.util.mboadapter.MboAdapter
java.lang.Exception
public void setValue(java.lang.String attributeName, java.lang.String value) throws java.rmi.RemoteException, MXException
setValue
in interface com.ibm.tivoli.maximo.util.mboadapter.MboAdapter
java.rmi.RemoteException
MXException
public void setValue(java.lang.String attributeName, java.lang.String value, long flags) throws java.rmi.RemoteException, MXException
setValue
in interface com.ibm.tivoli.maximo.util.mboadapter.MboAdapter
java.rmi.RemoteException
MXException
public void setValue(java.lang.String attributeName, boolean value) throws java.rmi.RemoteException, MXException
setValue
in interface com.ibm.tivoli.maximo.util.mboadapter.MboAdapter
java.rmi.RemoteException
MXException
public void setValue(java.lang.String attributeName, boolean value, long flags) throws java.rmi.RemoteException, MXException
setValue
in interface com.ibm.tivoli.maximo.util.mboadapter.MboAdapter
java.rmi.RemoteException
MXException
public void setValueIfDifferent(java.lang.String attributeName, boolean value) throws java.rmi.RemoteException, MXException
setValueIfDifferent
in interface com.ibm.tivoli.maximo.util.mboadapter.MboAdapter
java.rmi.RemoteException
MXException
public void setValueIfDifferent(java.lang.String attributeName, boolean value, long flags) throws java.rmi.RemoteException, MXException
setValueIfDifferent
in interface com.ibm.tivoli.maximo.util.mboadapter.MboAdapter
java.rmi.RemoteException
MXException
public void setValue(java.lang.String attributeName, int value) throws java.rmi.RemoteException, MXException
setValue
in interface com.ibm.tivoli.maximo.util.mboadapter.MboAdapter
java.rmi.RemoteException
MXException
public void setValue(java.lang.String attributeName, int value, long flags) throws java.rmi.RemoteException, MXException
setValue
in interface com.ibm.tivoli.maximo.util.mboadapter.MboAdapter
java.rmi.RemoteException
MXException
public void setValue(java.lang.String attributeName, java.util.Date value) throws java.rmi.RemoteException, MXException
setValue
in interface com.ibm.tivoli.maximo.util.mboadapter.MboAdapter
java.rmi.RemoteException
MXException
public void setValue(java.lang.String attributeName, java.util.Date value, long flags) throws java.rmi.RemoteException, MXException
setValue
in interface com.ibm.tivoli.maximo.util.mboadapter.MboAdapter
java.rmi.RemoteException
MXException
public java.lang.String getString(java.lang.String attributeName) throws java.rmi.RemoteException, MXException
getString
in interface com.ibm.tivoli.maximo.util.mboadapter.MboAdapter
java.rmi.RemoteException
MXException
public boolean getBoolean(java.lang.String attributeName) throws java.rmi.RemoteException, MXException
getBoolean
in interface com.ibm.tivoli.maximo.util.mboadapter.MboAdapter
java.rmi.RemoteException
MXException
public int getInt(java.lang.String attributeName) throws java.rmi.RemoteException, MXException
getInt
in interface com.ibm.tivoli.maximo.util.mboadapter.MboAdapter
java.rmi.RemoteException
MXException
public java.util.Date getDate(java.lang.String attributeName) throws java.rmi.RemoteException, MXException
getDate
in interface com.ibm.tivoli.maximo.util.mboadapter.MboAdapter
java.rmi.RemoteException
MXException
public boolean isNull(java.lang.String attributeName) throws java.rmi.RemoteException, MXException
isNull
in interface com.ibm.tivoli.maximo.util.mboadapter.MboAdapter
java.rmi.RemoteException
MXException
public boolean isReadOnly(java.lang.String attributeName) throws java.rmi.RemoteException, MXException
isReadOnly
in interface com.ibm.tivoli.maximo.util.mboadapter.MboAdapter
java.rmi.RemoteException
MXException
public void setReadOnly(java.lang.String attributeName, boolean readOnly) throws java.rmi.RemoteException
setReadOnly
in interface com.ibm.tivoli.maximo.util.mboadapter.MboAdapter
java.rmi.RemoteException
public java.lang.String getName() throws java.rmi.RemoteException
getName
in interface com.ibm.tivoli.maximo.util.mboadapter.MboAdapter
java.rmi.RemoteException
public com.ibm.tivoli.maximo.util.mboadapter.MboAdapter getOwner() throws java.rmi.RemoteException
java.rmi.RemoteException
public java.lang.Exception newApplicationException(java.lang.String group, java.lang.String key, java.lang.Object[] params)
newApplicationException
in interface com.ibm.tivoli.maximo.util.mboadapter.MboAdapter
MboAdapter.newApplicationException(java.lang.String, java.lang.String, java.lang.Object[])
public java.lang.Exception newApplicationException(java.lang.String group, java.lang.String key)
newApplicationException
in interface com.ibm.tivoli.maximo.util.mboadapter.MboAdapter
MboAdapter.newApplicationException(java.lang.String, java.lang.String)
public java.lang.String getMaxVarString(java.lang.String maxvarName) throws java.rmi.RemoteException, MXException
getMaxVarString
in interface com.ibm.tivoli.maximo.util.mboadapter.MboAdapter
java.rmi.RemoteException
MXException
public int getMaxVarInt(java.lang.String maxvarName) throws java.rmi.RemoteException, MXException
getMaxVarInt
in interface com.ibm.tivoli.maximo.util.mboadapter.MboAdapter
java.rmi.RemoteException
MXException
public boolean getMaxVarBoolean(java.lang.String maxvarName) throws java.rmi.RemoteException, MXException
getMaxVarBoolean
in interface com.ibm.tivoli.maximo.util.mboadapter.MboAdapter
java.rmi.RemoteException
MXException
public boolean toBeDeleted()
toBeDeleted
in interface com.ibm.tivoli.maximo.util.mboadapter.MboAdapter
public static void wrapException(java.lang.Exception e) throws MXApplicationException
e
- exception to be cast or wrappedMXApplicationException