modules/sms/src/main/java/org/apache/axis2/transport/sms/SMSMessage.java [63:106]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        this.sender = sender;
        this.content = content;
        this.receiver = reciever;
        if (direction == IN_MESSAGE || direction == OUT_MESSAGE ) {
            this.direction = direction;

        } else {
            throw new AxisFault("Message must be in or out");
        }

    }

    /**
     * Retuen the Phone Number of the Sender
     * @return String that contain the senders phone Number
     */
    public String getSender() {
        return sender;
    }

    /**
     * Return the phone Number that SMS must be received to
     * @return String  that Contain the receivers phone Number
     */
    public String getReceiver() {
        return receiver;
    }

    /**
     * Return The Contect that will be send with the SMS
     * @return String that contain the content
     */
    public String getContent() {
        return content;
    }

    /**
     * return the Message Direction of the SMSMessage
     * That should be either SMS_IN_MESSAGE :1
     * Or SMS_OUT_MESSAGE : 2
     * @return int that will infer the message direction
     */
    public int getDirection() {
        return direction;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



modules/sms/src/main/java/org/apache/axis2/transport/sms/smpp/SMPPMessage.java [39:64]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        this.sender = sender;
        this.content = content;
        this.receiver = reciever;
        if (direction == IN_MESSAGE || direction == OUT_MESSAGE ) {
            this.direction = direction;

        } else {
            throw new AxisFault("Message must be in or out");    
        }

    }

    public String getSender() {
        return sender;
    }

    public String getReceiver() {
        return receiver;
    }

    public String getContent() {
        return content;
    }

    public int getDirection() {
        return direction;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



