All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.flowthings.client.domain.Group Maven / Gradle / Ivy

There is a newer version: 0.9.3.2
Show newest version
package com.flowthings.client.domain;

import java.util.HashSet;

public class Group extends FlowDomainObject {
  protected String displayName;
  protected String description;
  protected HashSet memberIds;

  public String getDisplayName() {
    return displayName;
  }

  public void setDisplayName(String displayName) {
    this.displayName = displayName;
  }

  public String getDescription() {
    return description;
  }

  public void setDescription(String description) {
    this.description = description;
  }

  public HashSet getMemberIds() {
    return memberIds;
  }

  public void setMemberIds(HashSet memberIds) {
    this.memberIds = memberIds;
  }

  @Override
  public String toString() {
    return "Group [displayName=" + displayName + ", memberIds=" + memberIds + ", toString()=" + super.toString() + "]";
  }

  public static class Builder extends FlowDomainObject.Builder {
    public Builder setDisplayName(String displayName) {
      base.setDisplayName(displayName);
      return this;
    }

    public Builder setDescription(String description) {
      base.setDescription(description);
      return this;
    }

    public Builder setMemberIds(HashSet memberIds) {
      base.setMemberIds(memberIds);
      return this;
    }

  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy