public class SNamedElementImpl extends SBaseElementImpl implements SNamedElement
SBaseElementImpl.EQUALS_STATE| Constructor and Description |
|---|
SNamedElementImpl(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
protected SBaseElementImpl.EQUALS_STATE |
checkFurtherNaiveEquality(java.lang.Object obj) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName()
Gets the name of the element.
|
int |
hashCode() |
checkNaiveEquality, getId, setIdclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetIdpublic java.lang.String getName()
SNamedElementgetName in interface SNamedElementpublic int hashCode()
hashCode in class SBaseElementImplprotected SBaseElementImpl.EQUALS_STATE checkFurtherNaiveEquality(java.lang.Object obj)
public boolean equals(java.lang.Object obj)
equals in class SBaseElementImpl