Class ActorsMappingExtension

java.lang.Object
com.axemble.vdoc.sdk.mapping.extensions.BaseMappingExtension
com.axemble.vdp.mapping.extensions.ActorsMappingExtension
All Implemented Interfaces:
Serializable

public class ActorsMappingExtension extends BaseMappingExtension
Author:
vlygeros
See Also:
  • Field Details

    • objectValue

      protected Object objectValue
  • Constructor Details

    • ActorsMappingExtension

      public ActorsMappingExtension()
  • Method Details

    • onChange

      public void onChange(IProperty property, Element element)
      Specified by:
      onChange in class BaseMappingExtension
    • onLoad

      public void onLoad(Element element)
      Specified by:
      onLoad in class BaseMappingExtension
    • getValue

      public Object getValue(String actionKey)
    • evaluateFormula

      public Object evaluateFormula(String actionKey)
      Evaluate a given formula
      Parameters:
      actionKey - The formula to evaluate
      Returns:
      Return a typed value if evalution succeded or null if failed.
    • getFirstBracketIndex

      public int getFirstBracketIndex(String actionKey)
    • getLastBracketIndex

      public int getLastBracketIndex(String actionKey)
    • getActionKeyParam

      public String getActionKeyParam(String actionKey)
      Return param string of a actionKey
      Parameters:
      actionKey - The actionKey. Must look like :
      Returns:
      the param String or null if fail
    • getActionKeyParams

      public String[] getActionKeyParams(String actionKey)
      Return param strings array of a actionKey
      Parameters:
      actionKey - The actionKey. Must look like :
      Returns:
      the param strings array or null if fail
    • cutParams

      public static String[] cutParams(String param)
      Cut param on comma but not in brackets
      Parameters:
      param - The string to cut
      Returns:
      Array of string exemple :