public abstract class AbstractMboValueListener extends java.lang.Object implements MboValueListener
TYPE_DOMAIN, TYPE_FIELDCLASS, TYPE_KEY, TYPE_UNKNOWN| Constructor and Description |
|---|
AbstractMboValueListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
action()
Called if the data is valid, to perform some action
|
java.lang.String[] |
getAppLink()
Return the application names for the application link.
|
MboSetRemote |
getList()
Get value list (if it has one).
|
java.lang.String |
getLookupName()
Return the lookup name.
|
java.lang.String |
getMatchingAttr()
Get the attribute in the lookup table which matches this
field.
|
java.lang.String |
getMatchingAttr(java.lang.String sourceObjectName)
Get the attribute in the lookup table which matches this
field for the given source name
|
int |
getType()
Get the type of listener.
|
boolean |
hasList()
Has the MboValue got a value list ?
|
void |
init()
Called to initalize the listener.
|
void |
initValue()
Called to initialize the MboValue's value.
|
void |
setType(int type)
Set the type of listener.
|
void |
setValueFromLookup(MboRemote sourceMbo)
If hasList() is true for this listener, setValueFromLookup() method should be
implemented by the listner and will be invoked when
a value is set from the lookup list.
|
MboSetRemote |
smartFill(java.lang.String value,
boolean exact) |
MboSetRemote |
smartFind(java.lang.String value,
boolean exact) |
MboSetRemote |
smartFind(java.lang.String objectName,
java.lang.String value,
boolean exact) |
void |
validate()
Called to validate the data
|
public void action()
throws MXException,
java.rmi.RemoteException
MboValueListeneraction in interface MboValueListenerMXExceptionjava.rmi.RemoteExceptionpublic java.lang.String[] getAppLink()
throws MXException,
java.rmi.RemoteException
MboValueListenergetAppLink in interface MboValueListenerMXExceptionjava.rmi.RemoteExceptionpublic MboSetRemote getList() throws MXException, java.rmi.RemoteException
MboValueListenergetList in interface MboValueListenerMXExceptionjava.rmi.RemoteExceptionpublic java.lang.String getLookupName()
throws MXException,
java.rmi.RemoteException
MboValueListenergetLookupName in interface MboValueListenerMXExceptionjava.rmi.RemoteExceptionpublic java.lang.String getMatchingAttr()
throws MXException,
java.rmi.RemoteException
MboValueListenergetMatchingAttr in interface MboValueListenerMXExceptionjava.rmi.RemoteExceptionpublic java.lang.String getMatchingAttr(java.lang.String sourceObjectName)
throws MXException,
java.rmi.RemoteException
MboValueListenergetMatchingAttr in interface MboValueListenerMXExceptionjava.rmi.RemoteExceptionpublic boolean hasList()
MboValueListenerhasList in interface MboValueListenerpublic void init()
throws MXException,
java.rmi.RemoteException
MboValueListenerinit in interface MboValueListenerMXExceptionjava.rmi.RemoteExceptionpublic void initValue()
throws MXException,
java.rmi.RemoteException
MboValueListenerinitValue in interface MboValueListenerMXExceptionjava.rmi.RemoteExceptionpublic void setValueFromLookup(MboRemote sourceMbo) throws MXException, java.rmi.RemoteException
MboValueListenersetValueFromLookup in interface MboValueListenerMXExceptionjava.rmi.RemoteExceptionpublic MboSetRemote smartFill(java.lang.String value, boolean exact) throws MXException, java.rmi.RemoteException
smartFill in interface MboValueListenerMXExceptionjava.rmi.RemoteExceptionpublic MboSetRemote smartFind(java.lang.String value, boolean exact) throws MXException, java.rmi.RemoteException
smartFind in interface MboValueListenerMXExceptionjava.rmi.RemoteExceptionpublic MboSetRemote smartFind(java.lang.String objectName, java.lang.String value, boolean exact) throws MXException, java.rmi.RemoteException
smartFind in interface MboValueListenerMXExceptionjava.rmi.RemoteExceptionpublic void validate()
throws MXException,
java.rmi.RemoteException
MboValueListenervalidate in interface MboValueListenerMXExceptionjava.rmi.RemoteExceptionpublic int getType()
MboValueListenergetType in interface MboValueListenerMboValueListener.TYPE_UNKNOWN,
MboValueListener.TYPE_FIELDCLASS,
MboValueListener.TYPE_DOMAIN,
MboValueListener.TYPE_KEYpublic void setType(int type)
MboValueListenersetType in interface MboValueListener