public class Entity
extends java.lang.Object
| Constructor and Description |
|---|
Entity(java.lang.String name,
int code)
instantiates a new entity.
|
| Modifier and Type | Method and Description |
|---|---|
short |
getCode()
Getter for
code. |
java.lang.String |
getName()
Getter for
name. |