Class VCBinding

java.lang.Object
de.uplanet.lucy.server.auxiliaries.VCBinding

@VelocityCallable("instance") @VelocityVariable("Binding") public final class VCBinding extends Object
  • Constructor Details

    • VCBinding

      public VCBinding(de.uplanet.lucy.server.binding.IBinding p_binding)
  • Method Details

    • getValue

      public IIxValue getValue(String p_strBinding)
      Parameters:
      p_strBinding - The binding key
      Returns:
      Returns the value for the binding. null if no value is available for the given binding key
    • getValue

      public IIxValue getValue(String p_strBinding, Object p_fallback)
      Parameters:
      p_strBinding - The binding key
      Returns:
      Returns the value for the binding. p_fallback if no value is available for the given binding key
    • getValueAsString

      public String getValueAsString(String p_strBinding)
      Parameters:
      p_strBinding - The binding key
      Returns:
      Returns the string value for the binding. null if no value is available for the given binding key
    • getValueAsString

      public String getValueAsString(String p_strBinding, String p_fallback)
      Parameters:
      p_strBinding - The binding key
      Returns:
      Returns the string value for the binding. p_fallback if no value is available for the given binding key
    • isValueAvailable

      public boolean isValueAvailable(String p_strBinding)
      Parameters:
      p_strBinding - The binding key
      Returns:
      Returns true if a value is available and exists for the binding otherwise false
    • hasValue

      public boolean hasValue(String p_strBinding)
      Parameters:
      p_strBinding - The binding key
      Returns:
      Returns true if a value is available and a value exists for the binding otherwise false