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

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

package com.geotab.model.entity.group;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonProperty.Access;
import com.geotab.model.drawing.Color;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.SuperBuilder;

/**
 * The base class for all groups that are a system group.
 */
@Getter @Setter
@NoArgsConstructor
@SuperBuilder(builderMethodName = "systemGroupBaseBuilder")
public class SystemGroupBase extends Group {

  @JsonProperty(access = Access.WRITE_ONLY)
  public String getName() {
    return super.getName();
  }

  @Override
  public Color getColor() {
    return Color.EMPTY;
  }

  @Override
  public boolean isSystemEntity() {
    return true;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy