public interface IHasTermType
Modifier and Type | Method and Description |
---|---|
static void |
checkTermTypeEqualOrDescendant(IHasTermType ancestor,
IHasTermType descendant)
Checks if term types of term1 and term2 are either equal
term type of descendant is kind of term type of ancestor.
|
static void |
checkTermTypeNull(IHasTermType term)
Checks if term type of term1 is not
null . |
static void |
checkTermTypes(IHasTermType term1,
IHasTermType term2)
Checks if term types of term1 and term2 are equal
and both term types are not
null . |
TermType |
getTermType() |
TermType getTermType()
static void checkTermTypeNull(IHasTermType term)
null
.term
- any instance implementing IHasTermType
java.lang.IllegalStateException
- if term typeis null
static void checkTermTypes(IHasTermType term1, IHasTermType term2)
null
.
If term1 or term2 is null nothing happens.term1
- any instance implementing IHasTermType
term2
- any instance implementing IHasTermType
java.lang.IllegalStateException
- if term types are either null or not equalstatic void checkTermTypeEqualOrDescendant(IHasTermType ancestor, IHasTermType descendant)
null
and
If ancestor or descendant is null nothing happens.ancestor
- descendant
- java.lang.IllegalStateException
- if any of the checks are not successfulcheckTermTypes(IHasTermType, IHasTermType)
Copyright © 2007-2020 EDIT. All Rights Reserved.