summaryrefslogtreecommitdiffstats
blob: 4671b71242cfa0ccc0230b0a3c37c75ecbaf23dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*
 * Copyright (c) 2010-2012, Isode Limited, London, England.
 * All rights reserved.
 */
/*
 * Copyright (c) 2010, Remko Tronçon.
 * All rights reserved.
 */
package com.isode.stroke.elements;

public class Status extends Payload {

    private String text_ = "";

    public Status() {
    }

    public Status(String text) {
        text_ = text;
    }

    public void setText(String text) {
        text_ = text;
    }

    public String getText() {
        return text_;
    }
    
    @Override
    public String toString() {
        return "Status : " + text_;
    }
    
}