// This file was generated by the TNO Bean Generator.
// Any modifications to this file will be lost upon re-generation.
// Generated on: 2020/03/27 12:19:05

package nl.tno.rpr.objects;

import nl.tno.rpr.datatypes.EntityIdentifierStruct;
import nl.tno.rpr.datatypes.EnvironmentModelTypeEnum8;
import nl.tno.rpr.datatypes.EnvironmentRecStruct;
import nl.tno.rpr.datatypes.EnvironmentTypeStruct;
import nl.tno.rpr.datatypes.RPRboolean;

/** An object class used to communicate information about environmental processes and effects. */
public class EnvironmentProcess {

  /** Identifies which process issued the environmental process update */
  EntityIdentifierStruct ProcessIdentifier;

  /** Identifies the environmental process type */
  EnvironmentTypeStruct Type;

  /**
   * Identifies the model used for generating this environmental process update ; defined in 1278.1a
   * as being exercise specific
   */
  EnvironmentModelTypeEnum8 ModelType;

  /** Specifies the status of the environmental process (active or inactive) */
  RPRboolean EnvironmentProcessActive;

  /**
   * Optional, used to support update sequencing ; if not used, set to EP_NO_SEQUENCE ; when used,
   * set to zero for each exercise and incremented by one for each update sent
   */
  short SequenceNumber;

  /** Specifies environment records */
  EnvironmentRecStruct[] EnvironmentRecData;

  public EntityIdentifierStruct getProcessIdentifier() {
    return this.ProcessIdentifier;
  }

  public void setProcessIdentifier(EntityIdentifierStruct ProcessIdentifier) {
    this.ProcessIdentifier = ProcessIdentifier;
  }

  public EnvironmentTypeStruct getType() {
    return this.Type;
  }

  public void setType(EnvironmentTypeStruct Type) {
    this.Type = Type;
  }

  public EnvironmentModelTypeEnum8 getModelType() {
    return this.ModelType;
  }

  public void setModelType(EnvironmentModelTypeEnum8 ModelType) {
    this.ModelType = ModelType;
  }

  public RPRboolean getEnvironmentProcessActive() {
    return this.EnvironmentProcessActive;
  }

  public void setEnvironmentProcessActive(RPRboolean EnvironmentProcessActive) {
    this.EnvironmentProcessActive = EnvironmentProcessActive;
  }

  public short getSequenceNumber() {
    return this.SequenceNumber;
  }

  public void setSequenceNumber(short SequenceNumber) {
    this.SequenceNumber = SequenceNumber;
  }

  public EnvironmentRecStruct[] getEnvironmentRecData() {
    return this.EnvironmentRecData;
  }

  public void setEnvironmentRecData(EnvironmentRecStruct[] EnvironmentRecData) {
    this.EnvironmentRecData = EnvironmentRecData;
  }
}
