public abstract class AbstractScopedKey extends Object implements Serializable
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractScopedKey() |
protected |
AbstractScopedKey(String scope) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Returns true when:
the obj argument has the same reference than this object
or the obj has class equality (
getClass().equals(obj.getClass())) and scope equality
Subclasses should override this method and call the super method to ensure that the objects are of the same class and
have the same scope. |
String |
getScope() |
int |
hashCode()
Returns the scope value hashCode.
|
protected AbstractScopedKey()
protected AbstractScopedKey(String scope) throws NullPointerException
NullPointerExceptionpublic final String getScope()
public int hashCode()
public boolean equals(Object obj)
getClass().equals(obj.getClass())) and scope equalityCopyright © 2017 JBoss by Red Hat. All Rights Reserved.