@Entity public class Rectangle extends Shape
Constructor and Description |
---|
Rectangle() |
Modifier and Type | Method and Description |
---|---|
int |
getHeight() |
String |
getName() |
int |
getWidth() |
void |
setHeight(int height) |
void |
setWidth(int width) |
String |
toString() |
getId, getPosx, getPosy, setId, setPosx, setPosy
getVersion, setVersion
public String getName()
getName
in class BaseObject
public int getHeight()
public void setHeight(int height)
public int getWidth()
public void setWidth(int width)
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.