以下のコードは、Web サービスの応答形式です。このクラスには、2 つの内部静的クラスへの 2 つの参照変数があります。効率よく読む方法を教えてください。
public class DataResponse {
protected DataResponse.Head head ;
protected DataResponse.Result result ;
public static class Result {
protected List<DataResponse.Result.Record> record;
public static class Record {
protected String businesstypec;
protected String part
// several other variables
public static class PARTR {
protected String prefix;
protected String suffix;
}
}
public static class Head {
// some more variables
}
// please assume getter and setters for head,result,record,prefix and suffix variables
}