java.lang.Object
groovy.lang.GroovyObjectSupport
de.uplanet.lucy.server.businesslogic.util.scriptable.GroovyBinding
Alle implementierten Schnittstellen:
groovy.lang.GroovyObject

@Scriptable public class GroovyBinding extends groovy.lang.GroovyObjectSupport
  • Konstruktordetails

    • GroovyBinding

      public GroovyBinding(de.uplanet.lucy.server.binding.IBinding p_binding)
  • Methodendetails

    • get

      public Object get(String p_strKey)
      Returns a value of the given binding.
      Parameter:
      p_strKey - The binding key.
      Gibt zurück:
      The value or null if no value found for the binding.
    • get

      public Object get(String p_strKey, Object p_fallback)
      Returns the value of the binding.
      Parameter:
      p_strKey - The binding key.
      p_fallback - The fallback value. Will returned when no value found or the binding value is null.
      Gibt zurück:
      The binding value or the given fallback value for a not existing or an null binding value.
    • isAvailable

      public boolean isAvailable(String p_strKey)
      Parameter:
      p_strKey - The binding key.
      Gibt zurück:
      Returns true if an binding value exists otherwise false.
    • getProperty

      public Object getProperty(String p_strKey)
    • setProperty

      public void setProperty(String p_strKey, Object p_value)
      Löst aus:
      UnsupportedOperationException - Since the binding is read-only.
    • getAt

      public Object getAt(String p_strKey)
    • putAt

      public void putAt(String p_strKey, Object p_value)
      Löst aus:
      UnsupportedOperationException - Since the binding is read-only.