public abstract class NamedMetaData extends IdMetaDataImpl implements MappableMetaData
Constructor and Description |
---|
NamedMetaData() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getKey()
The key
|
String |
getName()
Get the name.
|
int |
hashCode() |
void |
setName(String name)
Set the name.
|
String |
toString() |
clone, getId, setId
public String getKey()
MappableMetaData
getKey
in interface MappableMetaData
public String getName()
public void setName(String name)
name
- the name.IllegalArgumentException
- for a null namepublic boolean equals(Object obj)
equals
in class IdMetaDataImpl
public int hashCode()
hashCode
in class IdMetaDataImpl
Copyright © 2017 JBoss by Red Hat. All rights reserved.