return m_depOnField.containsKey(columnName); "C_DocTypeTarget_ID"
return m_depOnField.containsValue(gridField); '@IsSOTrx@''@IsReturnTrx@'
CalloutOrder.docType:
m_vo.ValidationCode=C_DocType.DocBaseType IN ('SOO', 'POO')
AND C_DocType.IsSOTrx='@IsSOTrx@'
AND C_DocType.IsReturnTrx='@IsReturnTrx@' [11]
/**************************************************************************
* Has this field dependents ?
* @param columnName column name
* @return true if column has dependent
*/
public boolean hasDependants (String columnName)
{
// m_depOnField.printToLog();
return m_depOnField.containsKey(columnName);
} // isDependentOn
/**
* Get dependents fields of columnName
* @param columnName column name
* @return ArrayList with GridFields dependent on columnName
*/
public ArrayList
{
return m_depOnField.getValues(columnName);
} // getDependentFields
public boolean containsKey(Object key)
{
return m_keys.contains(key);
} // containsKey
/**
* Contains Value
* @param value test value
* @return true if value exists
*/
public boolean containsValue(Object value)
{
return m_values.contains(value);
} // containsKey
沒有留言:
張貼留言