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

src.app.core.model.scenario.technical-step.model.ts Maven / Gradle / Ivy

There is a newer version: 3.0.0
Show newest version
import { areEquals, Equals } from '@shared/equals';
import { cloneAsPossible, Clonable } from '@shared/clonable';

export class TechnicalStep implements Equals, Clonable {

  constructor(public task: string = '') { }

  public equals(obj: TechnicalStep): boolean {
    return obj && areEquals(this.task, obj.task);
  }

  public clone(): TechnicalStep {
    return new TechnicalStep(cloneAsPossible(this.task));
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy