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

com.emc.mongoose.api.model.item.BasicTokenItem Maven / Gradle / Ivy

There is a newer version: 4.0.0-alpha5
Show newest version
package com.emc.mongoose.api.model.item;

/**
 Created by andrey on 28.01.17.
 */
public final class BasicTokenItem
extends BasicItem
implements TokenItem {

	public BasicTokenItem() {
	}

	public BasicTokenItem(final String value) {
		super(value);
	}

	@Override
	public final boolean equals(final Object o) {
		if(o == this) {
			return true;
		}
		if(!(o instanceof BasicTokenItem)) {
			return false;
		}
		final BasicTokenItem other = (BasicTokenItem) o;
		if(name == null) {
			return other.name == null;
		}
		return name.equals(other.name);
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy