Class Mapping

All Implemented Interfaces:
com.appiancorp.core.expr.portable.PortableNamedTypedValue, com.appiancorp.core.expr.portable.PortableNamedTypedValueWithChildren, com.appiancorp.core.expr.portable.PortableTypedValue, DeepCloneable, JSONable, JSONCacheable, XMLable, AppianTypeHolder, TypedVariableTypes, AppianType, com.appiancorp.type.ExpressionableNamedTypedValue, com.appiancorp.type.HasTypeRef, com.appiancorp.type.NamedType, Serializable, Cloneable

public class Mapping extends TypedVariable implements TypedVariableTypes, AppianTypeHolder, DeepCloneable, com.appiancorp.type.ExpressionableNamedTypedValue
Represents a name-value mapping. Used for JMS-style message properties.
See Also:
  • Constructor Details

  • Method Details

    • getHiddenAttributes

      public HashSet getHiddenAttributes()
      Description copied from interface: JSONable
      Returns the set of attributes (properties) that should not be included in the JSON representation of the object.
      Specified by:
      getHiddenAttributes in interface JSONable
      Overrides:
      getHiddenAttributes in class TypedVariable
      Returns:
      the set of hidden attributes
    • isMultiple

      @Deprecated public boolean isMultiple()
      Deprecated.
      Gets whether this property can contain multiple values.
      Returns:
      whether the property can contain multiple values
      See Also:
    • setMultiple

      @Deprecated public void setMultiple(boolean multiple_)
      Deprecated.
      Sets whether this property can contain multiple values.
      Parameters:
      multiple_ - whether the property can contain multiple values
      See Also:
    • getExpression

      public String getExpression()
      Gets the expression for this property. If the expression is set (i.e., is not null nor the empty string), the expression will be used instead of the value.
      Specified by:
      getExpression in interface com.appiancorp.type.ExpressionableNamedTypedValue
      Returns:
      the expression
      See Also:
    • setExpression

      public void setExpression(String expression_)
      Sets the expression for this property.
      Specified by:
      setExpression in interface com.appiancorp.type.ExpressionableNamedTypedValue
      Parameters:
      expression_ - the expression
      See Also:
    • fillInAppianTypes

      public void fillInAppianTypes(AppianTypeCache cache_)
      Adds the primary keys of any Appian-typed objects that are used by the mapping of this node to the given cache.
      Specified by:
      fillInAppianTypes in interface AppianTypeHolder
      Overrides:
      fillInAppianTypes in class TypedVariable
      Parameters:
      cache_ - the cache that will hold the values