ca.gc.aafc.demos.furnituremodel
Class Table

java.lang.Object
  extended byca.gc.aafc.demos.furnituremodel.Table
All Implemented Interfaces:
DecorativeItem, FunctionalItem, Furniture, HouseholdItem
Direct Known Subclasses:
CSMTable

public class Table
extends java.lang.Object
implements Furniture

This is a model of a table.

Version:
0.1
Author:
Chad S. Matsalla

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

height

protected java.lang.Float height

The height of this table.


colour

protected java.lang.String colour

The color of this table.


top

protected Top top
An attribute generated by Mister Model


nails

protected java.util.Vector nails
An attribute generated by Mister Model


legs

protected java.util.Vector legs
An attribute generated by Mister Model


weight

protected java.lang.Float weight

The weight of this piece of furniture.


value

protected java.lang.Float value

owner

protected java.lang.String owner

location

protected java.lang.String location

room

protected java.lang.String room
Constructor Detail

Table

public Table()
Method Detail

setTop

public void setTop(Top newtop)
An procedure automagically generated by Mister Model

Parameters:
newtop - An automagically generated parameter
Returns:
An automagically generated return type
Throws:
NotImplementedException

getTop

public Top getTop()
An procedure automagically generated by Mister Model

Returns:
An automagically generated return type
Throws:
NotImplementedException

addTop

public void addTop(Top newTop)
An procedure automagically generated by Mister Model

Parameters:
newTop - An automagically generated parameter
Returns:
An automagically generated return type
Throws:
NotImplementedException

addNail

public void addNail(Nail newNail)
An procedure automagically generated by Mister Model

Parameters:
newNail - An automagically generated parameter
Returns:
An automagically generated return type
Throws:
NotImplementedException

setNails

public void setNails(Nail[] newNail)
An procedure automagically generated by Mister Model

Parameters:
newNail - An automagically generated parameter
Returns:
An automagically generated return type
Throws:
NotImplementedException

getNails

public Nail[] getNails()
An procedure automagically generated by Mister Model

Returns:
An automagically generated return type
Throws:
NotImplementedException

removeNail

public void removeNail(Nail Nail)
An procedure automagically generated by Mister Model

Parameters:
Nail - An automagically generated parameter
Returns:
An automagically generated return type
Throws:
NotImplementedException

addLeg

public void addLeg(Leg newLeg)
An procedure automagically generated by Mister Model

Parameters:
newLeg - An automagically generated parameter
Returns:
An automagically generated return type
Throws:
NotImplementedException

setLegs

public void setLegs(Leg[] newLeg)
An procedure automagically generated by Mister Model

Parameters:
newLeg - An automagically generated parameter
Returns:
An automagically generated return type
Throws:
NotImplementedException

getLegs

public Leg[] getLegs()
An procedure automagically generated by Mister Model

Returns:
An automagically generated return type
Throws:
NotImplementedException

removeLeg

public void removeLeg(Leg Leg)
An procedure automagically generated by Mister Model

Parameters:
Leg - An automagically generated parameter
Returns:
An automagically generated return type
Throws:
NotImplementedException

getHeight

public java.lang.Float getHeight()

setHeight

public void setHeight(java.lang.Float newheight)

getColour

public java.lang.String getColour()

setColour

public void setColour(java.lang.String newcolour)

getWeight

public java.lang.Float getWeight()
Description copied from interface: Furniture
An procedure automagically generated by Mister Model

Specified by:
getWeight in interface Furniture
Returns:
An automagically generated return type

setWeight

public void setWeight(java.lang.Float newweight)
Description copied from interface: Furniture
An procedure automagically generated by Mister Model

Specified by:
setWeight in interface Furniture
Parameters:
newweight - An automagically generated parameter
Returns:
An automagically generated return type

getValue

public java.lang.Float getValue()
Description copied from interface: Furniture
An procedure automagically generated by Mister Model

Specified by:
getValue in interface Furniture
Returns:
An automagically generated return type

setValue

public void setValue(java.lang.Float newvalue)
Description copied from interface: Furniture
An procedure automagically generated by Mister Model

Specified by:
setValue in interface Furniture
Parameters:
newvalue - An automagically generated parameter
Returns:
An automagically generated return type

getOwner

public java.lang.String getOwner()
Description copied from interface: Furniture
An procedure automagically generated by Mister Model

Specified by:
getOwner in interface Furniture
Returns:
An automagically generated return type

setOwner

public void setOwner(java.lang.String newowner)
Description copied from interface: Furniture
An procedure automagically generated by Mister Model

Specified by:
setOwner in interface Furniture
Parameters:
newowner - An automagically generated parameter
Returns:
An automagically generated return type

getLocation

public java.lang.String getLocation()
Description copied from interface: Furniture
An procedure automagically generated by Mister Model

Specified by:
getLocation in interface Furniture
Returns:
An automagically generated return type

setLocation

public void setLocation(java.lang.String newlocation)
Description copied from interface: Furniture
An procedure automagically generated by Mister Model

Specified by:
setLocation in interface Furniture
Parameters:
newlocation - An automagically generated parameter
Returns:
An automagically generated return type

getRoom

public java.lang.String getRoom()
Description copied from interface: Furniture
An procedure automagically generated by Mister Model

Specified by:
getRoom in interface Furniture
Returns:
An automagically generated return type

setRoom

public void setRoom(java.lang.String newroom)
Description copied from interface: Furniture
An procedure automagically generated by Mister Model

Specified by:
setRoom in interface Furniture
Parameters:
newroom - An automagically generated parameter
Returns:
An automagically generated return type

getFunction

public java.lang.String getFunction()
                             throws NotImplementedException
Specified by:
getFunction in interface Furniture
Throws:
NotImplementedException

degreeOfDecoration

public java.lang.Float degreeOfDecoration()
                                   throws NotImplementedException
Specified by:
degreeOfDecoration in interface Furniture
Throws:
NotImplementedException

operation_without_signature

public void operation_without_signature()
                                 throws NotImplementedException

This operation has no signature.

Throws:
NotImplementedException

operation_returning_jlvoid

public void operation_returning_jlvoid()
                                throws NotImplementedException

This operation returns java.lang.void.

Throws:
NotImplementedException

operation_returning_leg

public Leg operation_returning_leg(int leg_number)
                            throws NotImplementedException

This operation returns a leg..

Throws:
NotImplementedException

shorten

public void shorten(java.lang.Float new_height)
             throws NotImplementedException

This operation shortens the Table.

Throws:
java.lang.StringIndexOutOfBoundsException
NotImplementedException

paint

public void paint(java.lang.String new_colour)
           throws NotImplementedException

This operation changes the colour of thie Table.

Throws:
NotImplementedException

elaborate_signature

public void elaborate_signature(int top,
                                Leg leg,
                                Nail nail)
                         throws NotImplementedException

This procedure has an elaborate signature.

Throws:
NotImplementedException

returns_int

public int returns_int()
                throws NotImplementedException

This is an operation that returns an int.

Throws:
NotImplementedException