Class ManchesterOnlyClass
java.lang.Object
it.uniroma2.art.semanticturkey.syntax.manchester.owl2.structures.ManchesterClassInterface
it.uniroma2.art.semanticturkey.syntax.manchester.owl2.structures.ManchesterOnlyClass
-
Nested Class Summary
Nested classes/interfaces inherited from class it.uniroma2.art.semanticturkey.syntax.manchester.owl2.structures.ManchesterClassInterface
ManchesterClassInterface.PossType
-
Constructor Summary
ConstructorDescriptionManchesterOnlyClass
(boolean inverse, org.eclipse.rdf4j.model.IRI onlyProp, ManchesterClassInterface onlyClass) ManchesterOnlyClass
(org.eclipse.rdf4j.model.IRI onlyProp, ManchesterClassInterface onlyClass) -
Method Summary
Modifier and TypeMethodDescriptiongetManchExpr
(Map<String, String> namespaceToPrefixsMap, boolean getPrefixName, boolean useUppercaseSyntax) Returns the representation of this class expression conforming to the Manchester syntax.org.eclipse.rdf4j.model.IRI
boolean
Methods inherited from class it.uniroma2.art.semanticturkey.syntax.manchester.owl2.structures.ManchesterClassInterface
getManchExpr, getType, printLiteral, printRes
-
Constructor Details
-
ManchesterOnlyClass
public ManchesterOnlyClass(org.eclipse.rdf4j.model.IRI onlyProp, ManchesterClassInterface onlyClass) -
ManchesterOnlyClass
public ManchesterOnlyClass(boolean inverse, org.eclipse.rdf4j.model.IRI onlyProp, ManchesterClassInterface onlyClass)
-
-
Method Details
-
hasInverse
public boolean hasInverse() -
getOnlyProp
public org.eclipse.rdf4j.model.IRI getOnlyProp() -
getOnlyClass
-
print
- Specified by:
print
in classManchesterClassInterface
-
getManchExpr
public String getManchExpr(Map<String, String> namespaceToPrefixsMap, boolean getPrefixName, boolean useUppercaseSyntax) Description copied from class:ManchesterClassInterface
Returns the representation of this class expression conforming to the Manchester syntax. The parametergetPrefixName
controls whether URIs are shortened into qualified names or presented in their full form. The qualified names use prefixes defined in the parameterprefixMapping
.- Specified by:
getManchExpr
in classManchesterClassInterface
- Parameters:
namespaceToPrefixsMap
- the prefix map class to use then getPrefixName is truegetPrefixName
- to use the qname, if the appropriate prefix has been defineduseUppercaseSyntax
- to return the the reserved keyword in upper (true) or lower case (false)- Returns:
-