Class TypeDependency

java.lang.Object
com.aquima.interactions.rule.inference.Dependency
com.aquima.interactions.rule.inference.TypeDependency
All Implemented Interfaces:
Serializable

public class TypeDependency extends Dependency
This class contains defines a dependency on a specific entity type.
Since:
7.1
Author:
O. Kerpershoek
See Also:
  • Constructor Details

    • TypeDependency

      protected TypeDependency(String type)
      Constructs a type dependency for the specified entity type.
      Parameters:
      type - The entity type the dependency represents.
  • Method Details

    • getEntityType

      public String getEntityType()
      This method returns the type the dependency is defined for.
      Returns:
      the type the dependency is defined for.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object