@FunctionalInterface public interface IHasObjectType
ObjectType.| Modifier and Type | Method and Description |
|---|---|
ObjectType |
getObjectType() |
default String |
getObjectTypeName() |
default boolean |
hasObjectType(ObjectType aOT)
Check if this object has the provided
ObjectType. |
@Nonnull ObjectType getObjectType()
null.@Nonnull @Nonempty default String getObjectTypeName()
null nor empty.default boolean hasObjectType(@Nullable ObjectType aOT)
ObjectType.aOT - The object type to check. May be null.true if this object has the passed ObjectType,
false otherwise.Copyright © 2014–2020 Philip Helger. All rights reserved.