aboutsummaryrefslogtreecommitdiff
path: root/examples/ex6_complex_type_conversion/src/main/java/com/google/android/mobly/snippet/example6/CustomType.java
blob: 223b63e3a07f191037c00ab7ad66621fb1f2c083 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.google.android.mobly.snippet.example6;

/**
 * A data class that defines a non-primitive type.
 *
 * This type is used to demonstrate serialization and de-serialization of complex type objects in
 * Mobly Snippet Lib for Android.
 */
public class CustomType {
    private String myValue;
    CustomType(String value) {
        myValue = value;
    }

    String getMyValue() {
        return myValue;
    }
    public void setMyValue(String newValue) {
        myValue = newValue;
    }
}