@Entity public abstract class Shape extends BaseObject
| Constructor and Description |
|---|
Shape() |
| Modifier and Type | Method and Description |
|---|---|
long |
getId() |
int |
getPosx() |
int |
getPosy() |
protected void |
setId(long id) |
void |
setPosx(int posx) |
void |
setPosy(int posy) |
String |
toString() |
getName, getVersion, setVersionpublic long getId()
getId in class BaseObjectprotected void setId(long id)
setId in class BaseObjectpublic int getPosx()
public void setPosx(int posx)
public int getPosy()
public void setPosy(int posy)
public String toString()
toString in class BaseObjectCopyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.