Class Strategy

java.lang.Object
com.bluebell.greenhouse.platform.models.core.entities.AbstractAuditableEntity
com.bluebell.greenhouse.platform.models.core.entities.strategy.Strategy
All Implemented Interfaces:
GenericEntity

@Entity public class Strategy extends AbstractAuditableEntity
Class representation of an assignable trading strategy.
Version:
3.0.4
Author:
Stephen Prizio
  • Constructor Details

    • Strategy

      public Strategy()
  • Method Details

    • addImplementation

      public void addImplementation(StrategyImplementation implementation)
      Adds an implementation to this strategy.
      Parameters:
      implementation - StrategyImplementation
    • removeImplementation

      public void removeImplementation(StrategyImplementation implementation)
      Removes an implementation from this strategy.
      Parameters:
      implementation - StrategyImplementation
    • equals

      public boolean equals(Object object)
      Defines an object's equivalence with this entity.
      Overrides:
      equals in class Object
      Parameters:
      object - the reference object with which to compare
      Returns:
      true if equal
    • hashCode

      public int hashCode()
      Computes the hash code.
      Overrides:
      hashCode in class Object
      Returns:
      hash code