RmiClient  1.0
 Alle Klassen Namensbereiche Dateien Funktionen Variablen
ResultContent.java
gehe zur Dokumentation dieser Datei
1 package main;
2 
3 import java.util.List;
4 
11 public class ResultContent {
12  private Class listType = null;
13  private List<Object> listContent = null;
14 
23  public ResultContent(Class listType, List<Object> listContent) {
24  this.listType = listType;
25  this.listContent = listContent;
26  }
27 
33  public Class getListType() {
34  return listType;
35  }
36 
42  public List<Object> getListContent() {
43  return listContent;
44  }
45 
51  public boolean isEmpty() {
52  return (listType == null || listContent == null || listContent.size() == 0);
53  }
54 }