Class ObjectTypeMapping

java.lang.Object
com.appiancorp.suiteapi.common.LocalObjectTypeMapping
com.appiancorp.suiteapi.common.ObjectTypeMapping

@GwtCompatible public class ObjectTypeMapping extends LocalObjectTypeMapping
Enables mapping between Appian type objects and their corresponding type constants. Appian Type objects (also referred to as "first-class" or "Appian" objects) are defined for all top-level data structures specific in the product, such as Forums, Documents, Process Models, etc.
  • Constructor Details

    • ObjectTypeMapping

      public ObjectTypeMapping()
  • Method Details

    • map

      public Integer map(Class<?> c)
      Returns the type constant for a given Appian object Class.
      Parameters:
      o_ - An Appian object Class.
      Returns:
      The type constant for the object, which is one of the TYPE_XXX constants defined by this class.
      Throws:
      IllegalArgumentException - If the passed object is not an Appian object.