org.apache.commons.betwixt.dotbetwixt
Class ExampleImpl

java.lang.Object
  extended by org.apache.commons.betwixt.dotbetwixt.ExampleImpl
All Implemented Interfaces:
IExample

public class ExampleImpl
extends java.lang.Object
implements IExample

Implementation for example interface

Author:
Robert Burrell Donkin

Constructor Summary
ExampleImpl()
           
ExampleImpl(int id, java.lang.String name)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int getId()
           
 java.lang.String getName()
           
 int hashCode()
           
 void setId(int id)
           
 void setName(java.lang.String name)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExampleImpl

public ExampleImpl()

ExampleImpl

public ExampleImpl(int id,
                   java.lang.String name)
Method Detail

getId

public int getId()
Specified by:
getId in interface IExample

setId

public void setId(int id)
Specified by:
setId in interface IExample

getName

public java.lang.String getName()
Specified by:
getName in interface IExample

setName

public void setName(java.lang.String name)
Specified by:
setName in interface IExample

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright 2002-2008 The Apache Software Foundation. All Rights Reserved.