|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.gc.aafc.demos.furnituremodel.Table
This is a model of a table.
| Field Summary | |
protected java.lang.String |
colour
The color of this table. |
protected java.lang.Float |
height
The height of this table. |
protected java.util.Vector |
legs
An attribute generated by Mister Model |
protected java.lang.String |
location
|
protected java.util.Vector |
nails
An attribute generated by Mister Model |
protected java.lang.String |
owner
|
protected java.lang.String |
room
|
protected Top |
top
An attribute generated by Mister Model |
protected java.lang.Float |
value
|
protected java.lang.Float |
weight
The weight of this piece of furniture. |
| Constructor Summary | |
Table()
|
|
| Method Summary | |
void |
addLeg(Leg newLeg)
An procedure automagically generated by Mister Model |
void |
addNail(Nail newNail)
An procedure automagically generated by Mister Model |
void |
addTop(Top newTop)
An procedure automagically generated by Mister Model |
java.lang.Float |
degreeOfDecoration()
|
void |
elaborate_signature(int top,
Leg leg,
Nail nail)
This procedure has an elaborate signature. |
java.lang.String |
getColour()
|
java.lang.String |
getFunction()
|
java.lang.Float |
getHeight()
|
Leg[] |
getLegs()
An procedure automagically generated by Mister Model |
java.lang.String |
getLocation()
An procedure automagically generated by Mister Model |
Nail[] |
getNails()
An procedure automagically generated by Mister Model |
java.lang.String |
getOwner()
An procedure automagically generated by Mister Model |
java.lang.String |
getRoom()
An procedure automagically generated by Mister Model |
Top |
getTop()
An procedure automagically generated by Mister Model |
java.lang.Float |
getValue()
An procedure automagically generated by Mister Model |
java.lang.Float |
getWeight()
An procedure automagically generated by Mister Model |
void |
operation_returning_jlvoid()
This operation returns java.lang.void. |
Leg |
operation_returning_leg(int leg_number)
This operation returns a leg.. |
void |
operation_without_signature()
This operation has no signature. |
void |
paint(java.lang.String new_colour)
This operation changes the colour of thie Table. |
void |
removeLeg(Leg Leg)
An procedure automagically generated by Mister Model |
void |
removeNail(Nail Nail)
An procedure automagically generated by Mister Model |
int |
returns_int()
This is an operation that returns an int. |
void |
setColour(java.lang.String newcolour)
|
void |
setHeight(java.lang.Float newheight)
|
void |
setLegs(Leg[] newLeg)
An procedure automagically generated by Mister Model |
void |
setLocation(java.lang.String newlocation)
An procedure automagically generated by Mister Model |
void |
setNails(Nail[] newNail)
An procedure automagically generated by Mister Model |
void |
setOwner(java.lang.String newowner)
An procedure automagically generated by Mister Model |
void |
setRoom(java.lang.String newroom)
An procedure automagically generated by Mister Model |
void |
setTop(Top newtop)
An procedure automagically generated by Mister Model |
void |
setValue(java.lang.Float newvalue)
An procedure automagically generated by Mister Model |
void |
setWeight(java.lang.Float newweight)
An procedure automagically generated by Mister Model |
void |
shorten(java.lang.Float new_height)
This operation shortens the Table. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.Float height
The height of this table.
protected java.lang.String colour
The color of this table.
protected Top top
protected java.util.Vector nails
protected java.util.Vector legs
protected java.lang.Float weight
The weight of this piece of furniture.
protected java.lang.Float value
protected java.lang.String owner
protected java.lang.String location
protected java.lang.String room
| Constructor Detail |
public Table()
| Method Detail |
public void setTop(Top newtop)
newtop - An automagically generated parameter
NotImplementedExceptionpublic Top getTop()
NotImplementedExceptionpublic void addTop(Top newTop)
newTop - An automagically generated parameter
NotImplementedExceptionpublic void addNail(Nail newNail)
newNail - An automagically generated parameter
NotImplementedExceptionpublic void setNails(Nail[] newNail)
newNail - An automagically generated parameter
NotImplementedExceptionpublic Nail[] getNails()
NotImplementedExceptionpublic void removeNail(Nail Nail)
Nail - An automagically generated parameter
NotImplementedExceptionpublic void addLeg(Leg newLeg)
newLeg - An automagically generated parameter
NotImplementedExceptionpublic void setLegs(Leg[] newLeg)
newLeg - An automagically generated parameter
NotImplementedExceptionpublic Leg[] getLegs()
NotImplementedExceptionpublic void removeLeg(Leg Leg)
Leg - An automagically generated parameter
NotImplementedExceptionpublic java.lang.Float getHeight()
public void setHeight(java.lang.Float newheight)
public java.lang.String getColour()
public void setColour(java.lang.String newcolour)
public java.lang.Float getWeight()
Furniture
getWeight in interface Furniturepublic void setWeight(java.lang.Float newweight)
Furniture
setWeight in interface Furniturenewweight - An automagically generated parameter
public java.lang.Float getValue()
Furniture
getValue in interface Furniturepublic void setValue(java.lang.Float newvalue)
Furniture
setValue in interface Furniturenewvalue - An automagically generated parameter
public java.lang.String getOwner()
Furniture
getOwner in interface Furniturepublic void setOwner(java.lang.String newowner)
Furniture
setOwner in interface Furniturenewowner - An automagically generated parameter
public java.lang.String getLocation()
Furniture
getLocation in interface Furniturepublic void setLocation(java.lang.String newlocation)
Furniture
setLocation in interface Furniturenewlocation - An automagically generated parameter
public java.lang.String getRoom()
Furniture
getRoom in interface Furniturepublic void setRoom(java.lang.String newroom)
Furniture
setRoom in interface Furniturenewroom - An automagically generated parameter
public java.lang.String getFunction()
throws NotImplementedException
getFunction in interface FurnitureNotImplementedException
public java.lang.Float degreeOfDecoration()
throws NotImplementedException
degreeOfDecoration in interface FurnitureNotImplementedException
public void operation_without_signature()
throws NotImplementedException
This operation has no signature.
NotImplementedException
public void operation_returning_jlvoid()
throws NotImplementedException
This operation returns java.lang.void.
NotImplementedException
public Leg operation_returning_leg(int leg_number)
throws NotImplementedException
This operation returns a leg..
NotImplementedException
public void shorten(java.lang.Float new_height)
throws NotImplementedException
This operation shortens the Table.
java.lang.StringIndexOutOfBoundsException
NotImplementedException
public void paint(java.lang.String new_colour)
throws NotImplementedException
This operation changes the colour of thie Table.
NotImplementedException
public void elaborate_signature(int top,
Leg leg,
Nail nail)
throws NotImplementedException
This procedure has an elaborate signature.
NotImplementedException
public int returns_int()
throws NotImplementedException
This is an operation that returns an int.
NotImplementedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||