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