org.semanticweb.owl.model
Interface OWLUntypedConstant

All Superinterfaces:
java.lang.Comparable<OWLObject>, OWLConstant, OWLObject

public interface OWLUntypedConstant
extends OWLConstant

Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group Date: 24-Oct-2006


Method Summary
 java.lang.String getLang()
          Gets the language tag (if present)
 boolean hasLang()
          Language tags on untyped constants are optional.
 boolean hasLang(java.lang.String lang)
          Determines if this constant has a specific language tag.
 
Methods inherited from interface org.semanticweb.owl.model.OWLConstant
accept, accept, asOWLTypedConstant, asOWLUntypedConstant, getLiteral, isTyped
 
Methods inherited from interface org.semanticweb.owl.model.OWLObject
accept, accept
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getLang

java.lang.String getLang()
Gets the language tag (if present)

Returns:
A String which represents the langauge tag, or null if there is no language tag

hasLang

boolean hasLang()
Language tags on untyped constants are optional. This method determines if the language tag is present.

Returns:
true if there is a language tag, or false if there is not a langauge tag.

hasLang

boolean hasLang(java.lang.String lang)
Determines if this constant has a specific language tag.

Parameters:
lang - The specific lang to test for.
Returns:
true if this constant has the specified langauge tag, or false if this constant does not have a language tag or if this constant has a language tag that is not equal to the specified language tag.