Class ResourceBundleLookupExpression

  • All Implemented Interfaces:
    Serializable, Cloneable, Expression

    public class ResourceBundleLookupExpression
    extends AbstractExpression
    Performs a resource-bundle lookup using the value read from the defined field as key in the resource-bundle. This expression behaves like the Resource-field.
    Author:
    Thomas Morgner
    See Also:
    Serialized Form
    • Constructor Detail

      • ResourceBundleLookupExpression

        public ResourceBundleLookupExpression()
        Default Constructor.
    • Method Detail

      • getField

        public String getField()
        Returns the name of the datarow-column from where to read the resourcebundle key value.
        Returns:
        the field.
      • setField

        public void setField​(String field)
        Defines the name of the datarow-column from where to read the resourcebundle key value.
        Parameters:
        field - the field.
      • getResourceIdentifier

        public String getResourceIdentifier()
        Returns the name of the resource-bundle. If none is defined here, the default resource-bundle is used instead.
        Returns:
        the resource-bundle identifier.
      • setResourceIdentifier

        public void setResourceIdentifier​(String resourceIdentifier)
        Defines name of the resource-bundle. If none is defined here, the default resource-bundle is used instead.
        Parameters:
        resourceIdentifier - the resource-bundle identifier.
      • getValue

        public Object getValue()
        Returns the current value for the data source.
        Returns:
        the value.