package com.expidev.gcmapp.model;

import android.support.annotation.NonNull;

import java.io.Serializable;

/**
 * Created by William.Randall on 1/9/2015.
 */
public class Ministry extends Base implements Serializable
{
    private static final long serialVersionUID = 0L;

    public static final String INVALID_ID = "";

    @NonNull
    private String ministryId = INVALID_ID;
    private String name;

    @NonNull
    public String getMinistryId()
    {
        return ministryId;
    }

    public void setMinistryId(@NonNull final String ministryId)
    {
        this.ministryId = ministryId;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    @Override
    public String toString()
    {
        return name;
    }
}

@@ -70,16 +70,60 @@
 NonNull;
+%0Aimport android.support.annotation.Nullable;
 %0A%0Aimport
@@ -144,16 +144,41 @@
 lizable;
+%0Aimport java.util.Locale;
 %0A%0A/**%0A *
@@ -283,16 +283,16 @@
 zable%0A%7B%0A
-
     priv
@@ -337,16 +337,538 @@
  = 0L;%0A%0A
+    public enum Mcc %7B%0A        UNKNOWN, SLM, LLM, DS, GCM;%0A%0A        public static Mcc fromRaw(@Nullable final String raw) %7B%0A            switch (raw != null ? raw.toUpperCase(Locale.US) : %22%22) %7B%0A                case %22SLM%22:%0A                    return SLM;%0A                case %22LLM%22:%0A                    return LLM;%0A                case %22DS%22:%0A                    return DS;%0A                case %22GCM%22:%0A                    return GCM;%0A                default:%0A                    return UNKNOWN;%0A            %7D%0A        %7D%0A    %7D%0A%0A
     publ

create an Mcc enum of supported MCCs