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

tech.jhipster.lite.module.domain.resource.JHipsterModuleGroup Maven / Gradle / Ivy

There is a newer version: 1.22.0
Show newest version
package tech.jhipster.lite.module.domain.resource;

import java.util.List;
import tech.jhipster.lite.shared.error.domain.Assert;

public record JHipsterModuleGroup(String group) {
  public JHipsterModuleGroup {
    Assert.field("group", group).notBlank().maxLength(50);
  }

  public String get() {
    return group();
  }

  public List list() {
    return List.of(group());
  }

  @Override
  public String toString() {
    return group();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy