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
MboValueListener
action
in interface MboValueListener
MXException
java.rmi.RemoteException
public java.lang.String[] getAppLink() throws MXException, java.rmi.RemoteException
MboValueListener
getAppLink
in interface MboValueListener
MXException
java.rmi.RemoteException
public MboSetRemote getList() throws MXException, java.rmi.RemoteException
MboValueListener
getList
in interface MboValueListener
MXException
java.rmi.RemoteException
public java.lang.String getLookupName() throws MXException, java.rmi.RemoteException
MboValueListener
getLookupName
in interface MboValueListener
MXException
java.rmi.RemoteException
public java.lang.String getMatchingAttr() throws MXException, java.rmi.RemoteException
MboValueListener
getMatchingAttr
in interface MboValueListener
MXException
java.rmi.RemoteException
public java.lang.String getMatchingAttr(java.lang.String sourceObjectName) throws MXException, java.rmi.RemoteException
MboValueListener
getMatchingAttr
in interface MboValueListener
MXException
java.rmi.RemoteException
public boolean hasList()
MboValueListener
hasList
in interface MboValueListener
public void init() throws MXException, java.rmi.RemoteException
MboValueListener
init
in interface MboValueListener
MXException
java.rmi.RemoteException
public void initValue() throws MXException, java.rmi.RemoteException
MboValueListener
initValue
in interface MboValueListener
MXException
java.rmi.RemoteException
public void setValueFromLookup(MboRemote sourceMbo) throws MXException, java.rmi.RemoteException
MboValueListener
setValueFromLookup
in interface MboValueListener
MXException
java.rmi.RemoteException
public MboSetRemote smartFill(java.lang.String value, boolean exact) throws MXException, java.rmi.RemoteException
smartFill
in interface MboValueListener
MXException
java.rmi.RemoteException
public MboSetRemote smartFind(java.lang.String value, boolean exact) throws MXException, java.rmi.RemoteException
smartFind
in interface MboValueListener
MXException
java.rmi.RemoteException
public MboSetRemote smartFind(java.lang.String objectName, java.lang.String value, boolean exact) throws MXException, java.rmi.RemoteException
smartFind
in interface MboValueListener
MXException
java.rmi.RemoteException
public void validate() throws MXException, java.rmi.RemoteException
MboValueListener
validate
in interface MboValueListener
MXException
java.rmi.RemoteException
public int getType()
MboValueListener
getType
in interface MboValueListener
MboValueListener.TYPE_UNKNOWN
,
MboValueListener.TYPE_FIELDCLASS
,
MboValueListener.TYPE_DOMAIN
,
MboValueListener.TYPE_KEY
public void setType(int type)
MboValueListener
setType
in interface MboValueListener