Codota Logo
Clash.getType
Code IndexAdd Codota to your IDE (free)

How to use
getType
method
in
openllet.core.boxes.abox.Clash

Best Java code snippets using openllet.core.boxes.abox.Clash.getType (Showing top 13 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
OutputStreamWriter o =
  • Codota IconOutputStream out;new OutputStreamWriter(out)
  • Codota IconOutputStream out;String charsetName;new OutputStreamWriter(out, charsetName)
  • Codota IconHttpURLConnection connection;new OutputStreamWriter(connection.getOutputStream())
  • Smart code suggestions by Codota
}
origin: Galigator/openllet

public ClashType getClashType()
{
  return getType();
}
origin: Galigator/openllet

public ClashType getClashType()
{
  return getType();
}
origin: Galigator/openllet

/**
 * Equals method
 */
@Override
public boolean equals(final Object other)
{
  if (other instanceof ClashDependency)
    return _assertion.equals(((ClashDependency) other)._assertion) && _clash.getNode().equals(((ClashDependency) other)._clash.getNode()) && _clash.getType() == ((ClashDependency) other)._clash.getType() && _clash.getDepends().equals(((ClashDependency) other)._clash.getDepends());
  else
    return false;
}
origin: Galigator/openllet

/**
 * Equals method
 */
@Override
public boolean equals(final Object other)
{
  if (other instanceof ClashDependency)
    return _assertion.equals(((ClashDependency) other)._assertion) && _clash.getNode().equals(((ClashDependency) other)._clash.getNode()) && _clash.getType() == ((ClashDependency) other)._clash.getType() && _clash.getDepends().equals(((ClashDependency) other)._clash.getDepends());
  else
    return false;
}
origin: Galigator/openllet

  str = _clashExplanation;
else
  if (getType() == ClashType.UNEXPLAINED)
    str = "No _explanation was generated.";
  else
    if (_args == null)
      str = "No specific _explanation was generated. Generic _explanation: " + getType().getExplanation();
    else
      if (getType() == ClashType.ATOMIC)
        str = atomicExplanation();
      else
        if (getType() == ClashType.BOTTOM_PROP)
          str = bottomExplanation();
        else
          if (getType() == ClashType.MAX_CARD)
            str = maxCardinalityExplanation();
          else
            if (getType() == ClashType.FUNC_MAX_CARD)
              str = functionalCardinalityExplanation();
            else
              if (getType() == ClashType.NOMINAL)
                str = nominalExplanation();
              else
                if (getType() == ClashType.MISSING_DATATYPE)
                  str = missingDatatypeExplanation();
                else
                  if (getType() == ClashType.VALUE_DATATYPE)
                    str = valueDatatypeExplanation();
                  else
origin: Galigator/openllet

  str = _clashExplanation;
else
  if (getType() == ClashType.UNEXPLAINED)
    str = "No _explanation was generated.";
  else
    if (_args == null)
      str = "No specific _explanation was generated. Generic _explanation: " + getType().getExplanation();
    else
      if (getType() == ClashType.ATOMIC)
        str = atomicExplanation();
      else
        if (getType() == ClashType.BOTTOM_PROP)
          str = bottomExplanation();
        else
          if (getType() == ClashType.MAX_CARD)
            str = maxCardinalityExplanation();
          else
            if (getType() == ClashType.FUNC_MAX_CARD)
              str = functionalCardinalityExplanation();
            else
              if (getType() == ClashType.NOMINAL)
                str = nominalExplanation();
              else
                if (getType() == ClashType.MISSING_DATATYPE)
                  str = missingDatatypeExplanation();
                else
                  if (getType() == ClashType.VALUE_DATATYPE)
                    str = valueDatatypeExplanation();
                  else
origin: Galigator/openllet

@Override
public String toString()
{
  return "[Clash " + getNode() + " " + getType() + " " + getDepends().toString() + (_args == null ? "" : " " + Arrays.asList(_args)) + "]";
}
origin: Galigator/openllet

@Override
public String toString()
{
  return "[Clash " + getNode() + " " + getType() + " " + getDepends().toString() + (_args == null ? "" : " " + Arrays.asList(_args)) + "]";
}
origin: Galigator/openllet

/**
 * Hashcode method TODO: this may not be sufficient
 */
@Override
public int hashCode()
{
  return _clash.getType().hashCode() + _clash.getDepends().hashCode() + _clash.getNode().hashCode() + _assertion.hashCode();
}
origin: Galigator/openllet

/**
 * Hashcode method TODO: this may not be sufficient
 */
@Override
public int hashCode()
{
  return _clash.getType().hashCode() + _clash.getDepends().hashCode() + _clash.getNode().hashCode() + _assertion.hashCode();
}
origin: Galigator/openllet

public Clash copyTo(final ABoxImpl abox)
{
  return new Clash(abox.getNode(getNode().getName()), getType(), getDepends(), _clashExplanation);
}
origin: Galigator/openllet

public Clash copyTo(final ABoxImpl abox)
{
  return new Clash(abox.getNode(getNode().getName()), getType(), getDepends(), _clashExplanation);
}
origin: Galigator/openllet

@Test
public void test484()
{
  dataProperties(_p);
  individuals(_a);
  final ATermAppl dt = restrict(Datatypes.INTEGER, minExclusive(literal(0)), maxExclusive(literal(0)));
  _kb.addType(_a, some(_p, dt));
  assertFalse(_kb.isConsistent());
  assertEquals(Clash.ClashType.EMPTY_DATATYPE, _kb.getABox().getLastClash().getType());
}
openllet.core.boxes.aboxClashgetType

Popular methods of Clash

  • <init>
  • atomic
  • atomicExplanation
  • bottomExplanation
  • bottomProperty
  • copyTo
  • describeNode
  • detailedString
  • disjointProps
  • emptyDatatype
  • emptyDatatypeExplanation
  • functionalCardinality
  • emptyDatatypeExplanation,
  • functionalCardinality,
  • functionalCardinalityExplanation,
  • getClashType,
  • getDepends,
  • getNode,
  • invalidLiteral,
  • invalidLiteralExplanation,
  • maxCardinality

Popular in Java

  • Running tasks concurrently on multiple threads
  • runOnUiThread (Activity)
  • requestLocationUpdates (LocationManager)
  • orElseThrow (Optional)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • Table (org.hibernate.mapping)
    A relational table
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now