Class MessageType

java.lang.Object
com.appiancorp.suiteapi.common.Identity
com.appiancorp.suiteapi.messaging.MessageType
All Implemented Interfaces:
LocalId, Serializable

public class MessageType extends Identity
Represents a schema (standard set of properties used for a particular purpose) for a JMS message.
See Also:
  • Constructor Details

    • MessageType

      public MessageType()
    • MessageType

      public MessageType(Long id)
  • Method Details

    • getXmlId

      public Long getXmlId()
    • setXmlId

      public void setXmlId(Long xmlId)
    • isProcessesCanProduce

      public boolean isProcessesCanProduce()
      Gets whether processes can produce this type of message (whether it shows up in the Send Message dialog in the Modeler).
      Returns:
      whether processes can produce this type of message
      See Also:
    • setProcessesCanProduce

      public void setProcessesCanProduce(boolean processesCanProduce_)
      Sets whether processes can produce this type of message (whether it shows up in the Send Message dialog in the Modeler).
      Parameters:
      processesCanProduce_ - whether processes can produce
      See Also:
    • getPropertySchemas

      public MessagePropertySchema[] getPropertySchemas()
      Gets the property schemas.
      Returns:
      the property schemas
      See Also:
    • setPropertySchemas

      public void setPropertySchemas(MessagePropertySchema[] propertySchemas_)
      Sets the property schemas.
      Parameters:
      propertySchemas_ - the property schemas
      See Also:
    • isPropertyCustom

      public boolean isPropertyCustom(String propertyName_)
      Returns whether the specified property is a custom property (i.e., is not part of the message type).
      Parameters:
      propertyName_ - the name of the property
      Returns:
      true if the property does not exist for this message type, false otherwise (also false for InternalMessage.JMS_TYPE_KEY
    • toString

      public String toString()
      Description copied from class: Identity
      Returns a string representation of the Identity. In general, the toString method returns a string that "textually represents" this object.
      Overrides:
      toString in class Identity
      Returns:
      String representation of the object