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

org.requirementsascode.UserActor Maven / Gradle / Ivy

There is a newer version: 2.0
Show newest version
package org.requirementsascode;

class UserActor extends Actor{
	private static final long serialVersionUID = 1598263321163535293L;

	public UserActor() {
		super("User");
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		UserActor other = (UserActor) obj;
		if (getName() == null) {
			if (other.getName() != null)
				return false;
		} else if (!getName().equals(other.getName()))
			return false;
		return true;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy