Пример #1
0
  public Analysis setClazz(final String value) {

    if (value != null) org.revenj.Guards.checkLength(value, 50);
    this.clazz = value;

    return this;
  }
Пример #2
0
  public Analysis setXyz(final String value) {

    if (value != null) org.revenj.Guards.checkLength(value, 1);
    this.xyz = value;

    return this;
  }
Пример #3
0
  @com.fasterxml.jackson.annotation.JsonCreator
  public ArticleGrid(
      @com.fasterxml.jackson.annotation.JsonProperty("URI") final String URI,
      @com.fasterxml.jackson.annotation.JsonProperty("ID") final long ID,
      @com.fasterxml.jackson.annotation.JsonProperty("projectID") final int projectID,
      @com.fasterxml.jackson.annotation.JsonProperty("sku") final String sku,
      @com.fasterxml.jackson.annotation.JsonProperty("title") final String title) {

    this.URI = URI != null ? URI : new java.util.UUID(0L, 0L).toString();
    this.ID = ID;
    this.projectID = projectID;
    this.sku = sku != null ? sku : "";
    org.revenj.Guards.checkLength(sku, 10);
    this.title = title != null ? title : "";
    org.revenj.Guards.checkLength(title, 25);
  }
Пример #4
0
    public BetweenNumbers setInSet(final java.util.Set<java.math.BigDecimal> value) {

      if (value == null) throw new IllegalArgumentException("Property \"inSet\" cannot be null!");
      org.revenj.Guards.checkNulls(value);
      this.inSet = value;

      return this;
    }
Пример #5
0
  public Clicked setBool(final java.util.Set<Boolean> value) {

    if (value == null) throw new IllegalArgumentException("Property \"bool\" cannot be null!");
    org.revenj.Guards.checkNulls(value);
    this.bool = value;

    return this;
  }
Пример #6
0
    public ForSimple setSimples(final java.util.List<gen.model.test.Simple> value) {

      if (value == null) throw new IllegalArgumentException("Property \"simples\" cannot be null!");
      org.revenj.Guards.checkNulls(value);
      this.simples = value;

      return this;
    }
Пример #7
0
  @com.fasterxml.jackson.annotation.JsonCreator
  public CompositeList(
      @com.fasterxml.jackson.annotation.JsonProperty("URI") final String URI,
      @com.fasterxml.jackson.annotation.JsonProperty("id") final java.util.UUID id,
      @com.fasterxml.jackson.annotation.JsonProperty("enn") final gen.model.test.En[] enn,
      @com.fasterxml.jackson.annotation.JsonProperty("en") final gen.model.test.En en,
      @com.fasterxml.jackson.annotation.JsonProperty("tsl")
          final java.util.List<java.time.OffsetDateTime> tsl,
      @com.fasterxml.jackson.annotation.JsonProperty("change") final java.time.LocalDate change,
      @com.fasterxml.jackson.annotation.JsonProperty("entities")
          final java.util.List<gen.model.test.Entity> entities,
      @com.fasterxml.jackson.annotation.JsonProperty("simple") final gen.model.test.Simple simple,
      @com.fasterxml.jackson.annotation.JsonProperty("number") final int number,
      @com.fasterxml.jackson.annotation.JsonProperty("entitiesCount") final int entitiesCount,
      @com.fasterxml.jackson.annotation.JsonProperty("hasEntities") final boolean hasEntities,
      @com.fasterxml.jackson.annotation.JsonProperty("entityHasMoney")
          final boolean[] entityHasMoney,
      @com.fasterxml.jackson.annotation.JsonProperty("indexes") final long[] indexes) {

    this.URI = URI != null ? URI : new java.util.UUID(0L, 0L).toString();
    this.id = id != null ? id : org.revenj.Utils.MIN_UUID;
    this.enn = enn != null ? enn : new gen.model.test.En[] {};
    org.revenj.Guards.checkNulls(enn);
    this.en = en != null ? en : gen.model.test.En.A;
    this.tsl = tsl != null ? tsl : new java.util.ArrayList<java.time.OffsetDateTime>(4);
    org.revenj.Guards.checkNulls(tsl);
    this.change = change != null ? change : org.revenj.Utils.MIN_LOCAL_DATE;
    this.entities = entities != null ? entities : new java.util.ArrayList<gen.model.test.Entity>(4);
    org.revenj.Guards.checkNulls(entities);
    this.simple = simple != null ? simple : new gen.model.test.Simple();
    this.number = number;
    this.entitiesCount = entitiesCount;
    this.hasEntities = hasEntities;
    this.entityHasMoney = entityHasMoney != null ? entityHasMoney : new boolean[] {};
    this.indexes = indexes;
  }