summaryrefslogtreecommitdiff
path: root/src/com/google/wireless/gdata2/contacts/data/GroupEntry.java
blob: b2999a2579e3ab9f2ca095868e025c67297c6f5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package com.google.wireless.gdata2.contacts.data;

import com.google.wireless.gdata2.data.Entry;
import com.google.wireless.gdata2.data.StringUtils;

/**
 * Entry containing information about a contact group.
 */
public class GroupEntry extends Entry {
  // If this is a system group then this field will be set with the name of the system group.
  private String systemGroup = null;

  public GroupEntry() {
    super();
  }

  public String getSystemGroup() {
    return systemGroup;
  }

  public void clear() {
    super.clear();
    systemGroup = null;
  }

  public void setSystemGroup(String systemGroup) {
    this.systemGroup = systemGroup;
  }

  protected void toString(StringBuffer sb) {
    super.toString(sb);
    sb.append("\n");
    sb.append("GroupEntry:");
    if (!StringUtils.isEmpty(systemGroup)) {
      sb.append(" systemGroup:").append(systemGroup).append("\n");
    }
  }
}