public interface MessageObjectType extends MessageObject
Modifier and Type | Method and Description |
---|---|
boolean |
isAssignableFrom(Class<?> type)
Determines if this type is either the same as, or is a supertype of, the class represented by the
type
parameter. |
boolean |
isSameAs(Class<?> type)
Determines if this type is the same type as the class represented by the
type parameter. |
boolean |
isSubtypeOf(Class<?> type)
Determines if this type is a subtype of the class represented by the
type parameter. |
String |
type()
Returns the qualified type name of the object.
|
name, reference
String type()
Object.class.getName()
boolean isAssignableFrom(Class<?> type)
type
parameter. If this type is assignable from the class true
is returned, otherwise false
.type
- the class type to check.true
if this type is the same as or a superclass of the class, otherwise false
.boolean isSubtypeOf(Class<?> type)
type
parameter. If this type is a
subtype of the class true
is returned, otherwise false
.type
- the class type to check.true
if this type is a subtype of the class, otherwise false
.boolean isSameAs(Class<?> type)
type
parameter. If this type is
the same type as the class true
is returned, otherwise false
.type
- the class type to check.true
if this type is the same type as the class, otherwise false
.Copyright © 2023 JBoss by Red Hat. All rights reserved.