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

org.swrlapi.drools.owl.axioms.DroolsBinaryNamedIndividualsAxiom Maven / Gradle / Ivy

There is a newer version: 2.1.2
Show newest version
package org.swrlapi.drools.owl.axioms;

import org.checkerframework.checker.nullness.qual.NonNull;
import org.swrlapi.drools.owl.core.DroolsBinaryObject;
import org.swrlapi.drools.owl.individuals.I;

abstract class DroolsBinaryNamedIndividualsAxiom extends DroolsBinaryObject implements A
{
  private static final long serialVersionUID = 1L;

  protected DroolsBinaryNamedIndividualsAxiom(I individual1, I individual2)
  {
    super(individual1, individual2);
  }

  @NonNull public I geti1()
  {
    return getT1();
  }

  @NonNull public I geti2()
  {
    return getT2();
  }

  @NonNull public String geti1id()
  {
    return getT1().getid();
  }

  @NonNull public String geti2id()
  {
    return getT2().getid();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy