Class ONTSWRLAtomImpl.OPB

java.lang.Object
com.github.owlcs.ontapi.owlapi.OWLObjectImpl
com.github.owlcs.ontapi.internal.objects.ONTObjectImpl
com.github.owlcs.ontapi.internal.objects.ONTResourceImpl
com.github.owlcs.ontapi.internal.objects.ONTExpressionImpl<org.apache.jena.ontapi.model.OntSWRL.Atom.WithObjectProperty>
com.github.owlcs.ontapi.internal.objects.ONTSWRLAtomImpl<org.apache.jena.ontapi.model.OntSWRL.Atom.WithObjectProperty,org.semanticweb.owlapi.model.SWRLObjectPropertyAtom>
com.github.owlcs.ontapi.internal.objects.ONTSWRLAtomImpl.Binary<org.apache.jena.ontapi.model.OntObjectProperty,org.apache.jena.ontapi.model.OntSWRL.IArg,org.apache.jena.ontapi.model.OntSWRL.IArg,org.apache.jena.ontapi.model.OntSWRL.Atom.WithObjectProperty,org.semanticweb.owlapi.model.OWLObjectPropertyExpression,org.semanticweb.owlapi.model.SWRLIArgument,org.semanticweb.owlapi.model.SWRLIArgument,org.semanticweb.owlapi.model.SWRLObjectPropertyAtom>
com.github.owlcs.ontapi.internal.objects.ONTSWRLAtomImpl.ObjectBinary<org.apache.jena.ontapi.model.OntObjectProperty,org.semanticweb.owlapi.model.OWLObjectPropertyExpression,org.apache.jena.ontapi.model.OntSWRL.Atom.WithObjectProperty,org.semanticweb.owlapi.model.SWRLObjectPropertyAtom>
com.github.owlcs.ontapi.internal.objects.ONTSWRLAtomImpl.OPB
All Implemented Interfaces:
AsNode, AsRDFNode, HasObjectFactory, ModelObject<org.semanticweb.owlapi.model.SWRLObjectPropertyAtom>, ONTComposite, WithContent<ONTExpressionImpl<org.apache.jena.ontapi.model.OntSWRL.Atom.WithObjectProperty>>, ONTObject<org.semanticweb.owlapi.model.SWRLObjectPropertyAtom>, Serializable, Comparable<org.semanticweb.owlapi.model.OWLObject>, org.semanticweb.owlapi.model.HasAnnotationPropertiesInSignature, org.semanticweb.owlapi.model.HasAnonymousIndividuals, org.semanticweb.owlapi.model.HasClassesInSignature, org.semanticweb.owlapi.model.HasComponents, org.semanticweb.owlapi.model.HasContainsEntityInSignature, org.semanticweb.owlapi.model.HasDataPropertiesInSignature, org.semanticweb.owlapi.model.HasDatatypesInSignature, org.semanticweb.owlapi.model.HasHashIndex, org.semanticweb.owlapi.model.HasIndex, org.semanticweb.owlapi.model.HasIndividualsInSignature, org.semanticweb.owlapi.model.HasObjectPropertiesInSignature, org.semanticweb.owlapi.model.HasSignature, org.semanticweb.owlapi.model.IsAnonymous, org.semanticweb.owlapi.model.OWLObject, org.semanticweb.owlapi.model.SWRLAtom, org.semanticweb.owlapi.model.SWRLBinaryAtom<org.semanticweb.owlapi.model.SWRLIArgument,org.semanticweb.owlapi.model.SWRLIArgument>, org.semanticweb.owlapi.model.SWRLObject, org.semanticweb.owlapi.model.SWRLObjectPropertyAtom
Enclosing class:
ONTSWRLAtomImpl<ONT extends org.apache.jena.ontapi.model.OntSWRL.Atom<?>,OWL extends org.semanticweb.owlapi.model.SWRLAtom>

public static class ONTSWRLAtomImpl.OPB extends ONTSWRLAtomImpl.ObjectBinary<org.apache.jena.ontapi.model.OntObjectProperty,org.semanticweb.owlapi.model.OWLObjectPropertyExpression,org.apache.jena.ontapi.model.OntSWRL.Atom.WithObjectProperty,org.semanticweb.owlapi.model.SWRLObjectPropertyAtom> implements org.semanticweb.owlapi.model.SWRLObjectPropertyAtom
See Also:
  • Constructor Details

  • Method Details

    • asRDFNode

      public org.apache.jena.ontapi.model.OntSWRL.Atom.WithObjectProperty asRDFNode()
      Description copied from interface: AsRDFNode
      Answers the RDFNode associated with this object.
      Specified by:
      asRDFNode in interface AsRDFNode
      Specified by:
      asRDFNode in class ONTExpressionImpl<org.apache.jena.ontapi.model.OntSWRL.Atom.WithObjectProperty>
      Returns:
      RDF Model Node, cannot be null
    • getSimplified

      public org.semanticweb.owlapi.model.SWRLObjectPropertyAtom getSimplified()
      Specified by:
      getSimplified in interface org.semanticweb.owlapi.model.SWRLObjectPropertyAtom
    • collectContent

      protected Object[] collectContent(org.apache.jena.ontapi.model.OntSWRL.Atom.WithObjectProperty obj, ONTObjectFactory factory)
      Description copied from class: ONTExpressionImpl
      Collects the cache Array. The array was chosen as the best option in sense of memory consumption and access speed.
      Overrides:
      collectContent in class ONTSWRLAtomImpl.Binary<org.apache.jena.ontapi.model.OntObjectProperty,org.apache.jena.ontapi.model.OntSWRL.IArg,org.apache.jena.ontapi.model.OntSWRL.IArg,org.apache.jena.ontapi.model.OntSWRL.Atom.WithObjectProperty,org.semanticweb.owlapi.model.OWLObjectPropertyExpression,org.semanticweb.owlapi.model.SWRLIArgument,org.semanticweb.owlapi.model.SWRLIArgument,org.semanticweb.owlapi.model.SWRLObjectPropertyAtom>
      Parameters:
      obj - ONTExpressionImpl, not null
      factory - ONTObjectFactory, not null
      Returns:
      an Array of Objects (content items)
      See Also:
    • isClassExpression

      default boolean isClassExpression()
      Answers true iff this is an OWL Class Expression.
      Returns:
      boolean
    • isAnonymousIndividual

      default boolean isAnonymousIndividual()
      Answers true iff this is an OWL Anonymous Individual.
      Returns:
      boolean
    • isNamedClass

      default boolean isNamedClass()
      Answers true iff this is an OWL Class.
      Returns:
      boolean
    • isNamedIndividual

      default boolean isNamedIndividual()
      Answers true iff this is an OWL Named Individual.
      Returns:
      boolean
    • isDatatype

      default boolean isDatatype()
      Answers true iff this is an OWL Datatype.
      Returns:
      boolean
    • isObjectProperty

      default boolean isObjectProperty()
      Answers true iff this is an OWL Object Property.
      Returns:
      boolean
    • isDataProperty

      default boolean isDataProperty()
      Answers true iff this is an OWL Data Property.
      Returns:
      boolean
    • isAnnotationProperty

      default boolean isAnnotationProperty()
      Answers true iff this is an OWL Annotation Property.
      Returns:
      boolean