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

com.geotab.model.entity.group.RootGroup Maven / Gradle / Ivy

package com.geotab.model.entity.group;

import java.util.ArrayList;
import java.util.List;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class RootGroup extends SystemGroupBase {

  public static final String ROOT_GROUP_ID = "GroupRootId";
  public static final String ROOT_GROUP_NAME = "**Root**";

  @Builder(builderMethodName = "rootGroupBuilder")
  public RootGroup(List children) {
    super(ROOT_GROUP_ID, ROOT_GROUP_NAME, null, children, null, null);
  }

  public RootGroup() {
    super(ROOT_GROUP_ID, ROOT_GROUP_NAME, null, new ArrayList<>(), null, null);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy