Package org.semanticweb.owlapi.model
Interface SWRLBinaryAtom<A extends SWRLArgument,B extends SWRLArgument>
- Type Parameters:
A
- type of first argumentB
- type of second argument
- All Superinterfaces:
Comparable<OWLObject>
,HasAnnotationPropertiesInSignature
,HasAnonymousIndividuals
,HasClassesInSignature
,HasComponents
,HasContainsEntityInSignature
,HasDataPropertiesInSignature
,HasDatatypesInSignature
,HasHashIndex
,HasIndex
,HasIndividualsInSignature
,HasObjectPropertiesInSignature
,HasSignature
,IsAnonymous
,OWLObject
,Serializable
,SWRLAtom
,SWRLObject
- All Known Subinterfaces:
SWRLDataPropertyAtom
,SWRLDifferentIndividualsAtom
,SWRLObjectPropertyAtom
,SWRLSameIndividualAtom
- All Known Implementing Classes:
SWRLBinaryAtomImpl
,SWRLDataPropertyAtomImpl
,SWRLDifferentIndividualsAtomImpl
,SWRLObjectPropertyAtomImpl
,SWRLSameIndividualAtomImpl
Represents an atom with two ordered arguments.
- Since:
- 2.0.0
- Author:
- Matthew Horridge, The University Of Manchester, Medical Informatics Group
-
Method Summary
Modifier and TypeMethodDescriptiondefault Stream<?>
Gets the first argument.Gets the second argument.default int
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface org.semanticweb.owlapi.model.HasAnnotationPropertiesInSignature
annotationPropertiesInSignature, getAnnotationPropertiesInSignature
Methods inherited from interface org.semanticweb.owlapi.model.HasAnonymousIndividuals
anonymousIndividuals, getAnonymousIndividuals
Methods inherited from interface org.semanticweb.owlapi.model.HasClassesInSignature
classesInSignature, getClassesInSignature
Methods inherited from interface org.semanticweb.owlapi.model.HasComponents
componentsAnnotationsFirst, componentsWithoutAnnotations
Methods inherited from interface org.semanticweb.owlapi.model.HasContainsEntityInSignature
containsEntityInSignature
Methods inherited from interface org.semanticweb.owlapi.model.HasDataPropertiesInSignature
dataPropertiesInSignature, getDataPropertiesInSignature
Methods inherited from interface org.semanticweb.owlapi.model.HasDatatypesInSignature
datatypesInSignature, getDatatypesInSignature
Methods inherited from interface org.semanticweb.owlapi.model.HasHashIndex
hashIndex
Methods inherited from interface org.semanticweb.owlapi.model.HasIndividualsInSignature
getIndividualsInSignature, individualsInSignature
Methods inherited from interface org.semanticweb.owlapi.model.HasObjectPropertiesInSignature
getObjectPropertiesInSignature, objectPropertiesInSignature
Methods inherited from interface org.semanticweb.owlapi.model.HasSignature
getSignature, signature, unsortedSignature
Methods inherited from interface org.semanticweb.owlapi.model.IsAnonymous
isAnonymous, isNamed
Methods inherited from interface org.semanticweb.owlapi.model.OWLObject
accept, accept, getNestedClassExpressions, hasSharedStructure, isAnonymousExpression, isAxiom, isBottomEntity, isIndividual, isIRI, isOntology, isTopEntity, nestedClassExpressions
Methods inherited from interface org.semanticweb.owlapi.model.SWRLAtom
allArguments, getAllArguments, getPredicate
Methods inherited from interface org.semanticweb.owlapi.model.SWRLObject
accept, accept
-
Method Details
-
components
- Specified by:
components
in interfaceHasComponents
- Returns:
- components as a stream. The stream is ordered (by visit order) but not sorted. Implementations that override components() must ensure the order is compatible with equals() and hashCode().
-
initHashCode
default int initHashCode()- Specified by:
initHashCode
in interfaceOWLObject
- Returns:
- hash code for the object; called on first use, cached by OWLObjectImpl in the default implementation.
-
getFirstArgument
A getFirstArgument()Gets the first argument.- Returns:
- The second argument
-
getSecondArgument
B getSecondArgument()Gets the second argument.- Returns:
- The second argument
-