Class AccountType.Adapter
- java.lang.Object
-
- com.google.gson.TypeAdapter<AccountType>
-
- br.com.senior.hcm.dependent.pojos.AccountType.Adapter
-
- Enclosing class:
- AccountType
public static class AccountType.Adapter extends com.google.gson.TypeAdapter<AccountType>
-
-
Constructor Summary
Constructors Constructor Description Adapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountTyperead(com.google.gson.stream.JsonReader jsonReader)voidwrite(com.google.gson.stream.JsonWriter jsonWriter, AccountType enumeration)
-
-
-
Method Detail
-
write
public void write(com.google.gson.stream.JsonWriter jsonWriter, AccountType enumeration) throws IOException- Specified by:
writein classcom.google.gson.TypeAdapter<AccountType>- Throws:
IOException
-
read
public AccountType read(com.google.gson.stream.JsonReader jsonReader) throws IOException
- Specified by:
readin classcom.google.gson.TypeAdapter<AccountType>- Throws:
IOException
-
-