Class SomMessage

    • Field Detail

      • data

        protected java.lang.String data
    • Constructor Detail

      • SomMessage

        public SomMessage()
    • Method Detail

      • getData

        public java.lang.String getData()
      • getStringAttribute

        public abstract java.lang.String getStringAttribute​(int type)
                                                     throws SomException
        Throws:
        SomException
      • getRecipient

        public abstract com.isode.x400api.Recip getRecipient​(int type,
                                                             int num)
                                                      throws SomException
        Throws:
        SomException
      • getBodypart

        public abstract com.isode.x400api.BodyPart getBodypart​(int num)
                                                        throws SomException
        Throws:
        SomException
      • getByteArrayAttribute

        public abstract byte[] getByteArrayAttribute​(int type)
                                              throws SomException
        Parameters:
        type - attribute type
        Returns:
        a byte array with the value of the requested attribute (type), or null, if the attribute is not present of if there was an error in retrieving it. The attribute type may not be null.
        Throws:
        SomException - on error