package com.moriahacky.imgcrslapp.imgcrslmodule;

public class ImageDataSource {

    public static enum ImageType {DRAWABLE, URL}

    private String _title, _value;
    private ImageType _type;

    public void setTitle(String title) {
        _title = title;
    }

    public void setValue(String value) {
        _value = value;
    }

    public void setType(ImageType type) {
        _type = type;
    }

    public String getTitle() {
        return _title;
    }

    public String getValue() {
        return _value;
    }

    public ImageType getType() {
        return _type;
    }
}

@@ -190,16 +190,142 @@
 _type;%0A%0A
+    ImageDataSource(ImageType type, String value) %7B%0A        _type = type;%0A        _value = value;%0A        _title = %22%22;%0A    %7D%0A%0A
     publ

add constructor for image datasource