Class EmptyTypedParameter

java.lang.Object
com.aquima.interactions.portal.model.def.EmptyTypedParameter
All Implemented Interfaces:
ITypedParameter, Serializable

public class EmptyTypedParameter extends Object implements ITypedParameter
See Also:
  • Constructor Details

  • Method Details

    • getName

      public String getName()
    • getType

      public ParameterType getType()
      Description copied from interface: ITypedParameter
      This method returns the type of this typed parameter.
      Specified by:
      getType in interface ITypedParameter
      Returns:
      The type of this typed parameter, never null.
    • getDirection

      public Direction getDirection()
      Description copied from interface: ITypedParameter
      This method returns the direction of this typed parameter.
      Specified by:
      getDirection in interface ITypedParameter
      Returns:
      The direction of this typed parameter, never null.
    • getValues

      public ITypedParameterValue[] getValues()
      Description copied from interface: ITypedParameter
      This method return all the values contained in this parameter.
      Specified by:
      getValues in interface ITypedParameter
      Returns:
      The parameter values, never null (possibly an empty array).
    • getSingleValue

      public ITypedParameterValue getSingleValue()
      Description copied from interface: ITypedParameter
      This method return a single value contained in this parameter (the first in case of a multivalued parameter).
      Specified by:
      getSingleValue in interface ITypedParameter
      Returns:
      The parameter value, may be null
    • getExpression

      public IExpression getExpression()
      Description copied from interface: ITypedParameter
      This method returns the expression of this typed parameter when this is an expression parameter.
      Specified by:
      getExpression in interface ITypedParameter
      Returns:
      The expression, may be null.
    • getValue

      public IValue getValue()
      Description copied from interface: ITypedParameter
      This method returns the value of this typed parameter when this is an value parameter For multivalued parameters this method wil return an IListValue.
      Specified by:
      getValue in interface ITypedParameter
      Returns:
      The value, may be null.
    • getReferenceName

      public String getReferenceName()
      Description copied from interface: ITypedParameter
      This method returns the name of an object this parameter is referring to when this is an reference parameter I.e a button name
      Specified by:
      getReferenceName in interface ITypedParameter
      Returns:
      The name of the referring object, may be null.
    • getReferenceNames

      public String[] getReferenceNames()
      Description copied from interface: ITypedParameter
      This method returns the names of an object this parameter is referring to when this is an reference parameter. I.e a button names.
      Specified by:
      getReferenceNames in interface ITypedParameter
      Returns:
      The names of the referring object, cannot be null, but can return an empty array..
    • isEmpty

      public boolean isEmpty()
      Description copied from interface: ITypedParameter
      This method returns the true if this typed parameter contains a value.
      Specified by:
      isEmpty in interface ITypedParameter
      Returns:
      True if this typed parameters contains no value.
    • isMultiValue

      public boolean isMultiValue()
      Description copied from interface: ITypedParameter
      This method returns a boolean indicating if the parameter can have multiple values.
      Specified by:
      isMultiValue in interface ITypedParameter
      Returns:
      boolean indicating if the parameter can have multiple values.
    • asString

      public String asString()
      Description copied from interface: ITypedParameter
      This method returns the String representation of this typed parameter.
      Specified by:
      asString in interface ITypedParameter
      Returns:
      The string representation of this typed parameter, may be null.