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

org.swrlapi.drools.owl.dataranges.DUO Maven / Gradle / Ivy

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

import org.checkerframework.checker.nullness.qual.NonNull;

import java.util.Set;

// TODO Data union of data range not implemented

/**
 * Class representing an OWL data union of data range
 *
 * @see org.semanticweb.owlapi.model.OWLDataUnionOf
 */
public class DUO implements DR
{
  private static final long serialVersionUID = 1L;

  @NonNull private final String drid;
  @NonNull private final Set<@NonNull String> unionOfDataRangeIDs;

  public DUO(@NonNull String drid, @NonNull Set<@NonNull String> unionOfDataRangeIDs)
  {
    this.drid = drid;
    this.unionOfDataRangeIDs = unionOfDataRangeIDs;
  }

  @NonNull @Override public String getdrid()
  {
    return this.drid;
  }

  @NonNull public Set<@NonNull String> getUnionOfDataRangeIDs()
  {
    return this.unionOfDataRangeIDs;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy