Interface IVariableValueMapper
-
- All Known Implementing Classes:
InstanceNameValueMapper
public interface IVariableValueMapperPerforms a variable value mapping.isValidandisEnactingneed special treatment as they represent meta-values.- Author:
- Holger Eichelberger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.ObjectgetValue(IvmlElement element)Returns the value of the specified element.booleanisEnacting(IvmlElement element)Returns whether the givenelementis valid.booleanisValid(IvmlElement element)Returns whether the givenelementis valid.
-
-
-
Method Detail
-
isValid
boolean isValid(IvmlElement element)
Returns whether the givenelementis valid.- Parameters:
element- the element- Returns:
trueif valid (also if no mapping),falseif invalid
-
isEnacting
boolean isEnacting(IvmlElement element)
Returns whether the givenelementis valid.- Parameters:
element- the element- Returns:
trueif valid,falseif invalid (also if no mapping)
-
getValue
java.lang.Object getValue(IvmlElement element)
Returns the value of the specified element.- Parameters:
element- the element- Returns:
- the value, null if undefined or if there is no mapping
-
-