Package org.adempiere.util
Class GridRowCtx
Context (Properties) wrapper to be able to evaluate grid row context
- Author:
- Teo Sarca, teo.sarca@gmail.com
- See Also:
-
Field Summary
Fields inherited from class java.util.Properties
defaults -
Constructor Summary
ConstructorsConstructorDescriptionGridRowCtx(Properties ctx, GridTab tab) GridRowCtx(Properties ctx, GridTab tab, int row) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()clone()booleanbooleancontainsKey(Object key) booleancontainsValue(Object value) elements()entrySet()get_ValueAsString(String variableName) Get Variable ValuegetProperty(String key) Get the typed value of a column in the row of this contextbooleanisEmpty()keys()keySet()voidintsize()toString()values()Methods inherited from class java.util.Properties
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, getProperty, hashCode, list, list, load, load, loadFromXML, merge, propertyNames, putIfAbsent, rehash, remove, replace, replace, replaceAll, save, setProperty, store, store, storeToXML, storeToXML, storeToXML, stringPropertyNames
-
Constructor Details
-
GridRowCtx
- Parameters:
ctx-tab-
-
GridRowCtx
- Parameters:
ctx-tab-row-
-
-
Method Details
-
get
-
getValue
Get the typed value of a column in the row of this context- Parameters:
columnName- column name- Returns:
- value of the column in the row of this context, null if the tab has no field for the column
-
clear
public void clear() -
clone
- Overrides:
clonein classProperties
-
contains
- Overrides:
containsin classProperties
-
containsKey
- Specified by:
containsKeyin interfaceMap<Object,Object> - Overrides:
containsKeyin classProperties
-
containsValue
- Specified by:
containsValuein interfaceMap<Object,Object> - Overrides:
containsValuein classProperties
-
elements
- Overrides:
elementsin classProperties
-
entrySet
-
isEmpty
public boolean isEmpty() -
keys
- Overrides:
keysin classProperties
-
keySet
-
put
-
putAll
-
remove
-
size
public int size() -
toString
- Overrides:
toStringin classProperties
-
values
-
getProperty
- Overrides:
getPropertyin classProperties
-
get_ValueAsString
Description copied from interface:EvaluateeGet Variable Value- Specified by:
get_ValueAsStringin interfaceEvaluatee- Parameters:
variableName- name- Returns:
- value
-