public interface IlrTypeInfo
| Modifier and Type | Method and Description |
|---|---|
IlrCardinality |
getCardinality()
Return the cardinality for this type info.
|
IlrConcept |
getConcept()
Returns the concept for this type info.
|
boolean |
isCompatibleWith(IlrConcept concept,
IlrVocabulary vocabulary)
Returns
true if the concept is compatible with this type info. |
boolean |
isCompatibleWith(IlrTypeInfo typeInfo,
IlrVocabulary vocabulary)
Return
true if the type info is compatible with this type info. |
IlrConcept getConcept()
null for an unspecified concept.IlrCardinality getCardinality()
IlrCardinality.SINGLE_LITERAL,
IlrCardinality.MULTIPLE_LITERAL, or null for an
unspecified cardinality.boolean isCompatibleWith(IlrConcept concept, IlrVocabulary vocabulary)
true if the concept is compatible with this type info.
A type info is compatible with a concept if this concept is a subconcept of
the type info concept.boolean isCompatibleWith(IlrTypeInfo typeInfo, IlrVocabulary vocabulary)
true if the type info is compatible with this type info.
A type info is compatible with another one if:
© Copyright IBM Corp. 1987, 2017