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

de.intarsys.tools.objectmodel.JavaClassSelector Maven / Gradle / Ivy

There is a newer version: 4.11
Show newest version
package de.intarsys.tools.objectmodel;

public class JavaClassSelector extends CommonClassSelector {

	private final java.lang.Class clazz;

	public JavaClassSelector(java.lang.Class clazz) {
		super();
		this.clazz = clazz;
	}

	@Override
	public boolean equals(Object obj) {
		if (!(obj instanceof JavaClassSelector)) {
			return false;
		}
		return clazz.equals(((JavaClassSelector) obj).clazz);
	}

	public java.lang.Class getClazz() {
		return clazz;
	}

	public String getName() {
		return clazz.getName();
	}

	@Override
	public int hashCode() {
		return clazz.hashCode();
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy