All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jboss.logging.generator.intf.model.MessageObjectType Maven / Gradle / Ivy

There is a newer version: 1.0.0.CR5
Show newest version
package org.jboss.logging.generator.intf.model;

/**
 * Date: 23.08.2011
 *
 * @author James R. Perkins
 */
public interface MessageObjectType {

    /**
     * Determines if this type is either the same as, or is a supertype of, the class represented by the {@code type}
     * parameter. If this type is assignable from the class {@code true} is returned, otherwise {@code false}.
     *
     * @param type the class type to check.
     *
     * @return {@code true} if this type is the same as or a superclass of the class, otherwise {@code false}.
     */
    boolean isAssignableFrom(Class type);

    /**
     * Determines if this type is a subtype of the class represented by the {@code type} parameter. If this type is a
     * subtype of the class {@code true} is returned, otherwise {@code false}.
     *
     * @param type the class type to check.
     *
     * @return {@code true} if this type is a subtype of the class, otherwise {@code false}.
     */
    boolean isSubtypeOf(Class type);

    /**
     * Determines if this type is the same type as the class represented by the {@code type} parameter. If this type is
     * the same type as the class {@code true} is returned, otherwise {@code false}.
     *
     * @param type the class type to check.
     *
     * @return {@code true} if this type is the same type as the class, otherwise {@code false}.
     */
    boolean isSameAs(Class type);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy