Overview | Package | Class | Use | Tree | Serialized | Deprecated | Index | Help
| ABLE 2.3.0 07/13/2005 14:21:00
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.ibm.able.examples.rules
Class Ring

    java.lang.Object
      com.ibm.able.examples.rules.Ring

All Implemented Interfaces:
  java.io.Serializable

public class Ring
extends java.lang.Object
implements java.io.Serializable

A ring has a name, diameter, and is on a post identified by a number.

See Also:
  Serialized Form

Constructor Summary
`Ring()`
`Ring(java.lang.String name)`
`Ring(java.lang.String name, int diam, int onPost)`

Method Summary
`int` | `getDiam()`
`int` | `getOnPost()`
`void` | `setDiam(int diam)`
`void` | `setOnPost(int onPost)`
`java.lang.String` | `toString()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### Ring

    public Ring()

### Ring

    public Ring(java.lang.String name)

### Ring

    public Ring(java.lang.String name,
                int diam,
                int onPost)

Method Detail

### setDiam

    public void setDiam(int diam)

### getDiam

    public int getDiam()

### setOnPost

    public void setOnPost(int onPost)

### getOnPost

    public int getOnPost()

### toString

    public java.lang.String toString()

Overview | Package | Class | Use | Tree | Serialized | Deprecated | Index | Help
| ABLE 2.3.0 07/13/2005 14:21:00
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

(C) Copyright IBM Corporation 1999, 2005