org.apache.ojb.performance
Class PerfArticleImpl

java.lang.Object
  extended by org.apache.ojb.performance.PerfArticleImpl
All Implemented Interfaces:
java.io.Serializable, PerfArticle

public class PerfArticleImpl
extends java.lang.Object
implements PerfArticle

Implementation of the PerfArticle interface.

Version:
$Id: PerfArticleImpl.java 365254 2005-12-30 00:01:42Z arminw $
See Also:
Serialized Form

Constructor Summary
PerfArticleImpl()
           
PerfArticleImpl(java.lang.Long articleId, java.lang.String articleName, int minimumStock, double price, java.lang.String unit, int stock, int supplierId, int productGroupId)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.Long getArticleId()
           
 java.lang.String getArticleName()
           
 int getMinimumStock()
           
 double getPrice()
           
 int getProductGroupId()
           
 int getStock()
           
 int getSupplierId()
           
 java.lang.String getUnit()
           
 int hashCode()
           
 void setArticleId(java.lang.Long articleId)
           
 void setArticleName(java.lang.String articleName)
           
 void setMinimumStock(int minimumStock)
           
 void setPrice(double price)
           
 void setProductGroupId(int productGroupId)
           
 void setStock(int stock)
           
 void setSupplierId(int supplierId)
           
 void setUnit(java.lang.String unit)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PerfArticleImpl

public PerfArticleImpl()

PerfArticleImpl

public PerfArticleImpl(java.lang.Long articleId,
                       java.lang.String articleName,
                       int minimumStock,
                       double price,
                       java.lang.String unit,
                       int stock,
                       int supplierId,
                       int productGroupId)
Method Detail

toString

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

getArticleId

public java.lang.Long getArticleId()
Specified by:
getArticleId in interface PerfArticle

setArticleId

public void setArticleId(java.lang.Long articleId)
Specified by:
setArticleId in interface PerfArticle

getArticleName

public java.lang.String getArticleName()
Specified by:
getArticleName in interface PerfArticle

setArticleName

public void setArticleName(java.lang.String articleName)
Specified by:
setArticleName in interface PerfArticle

getMinimumStock

public int getMinimumStock()
Specified by:
getMinimumStock in interface PerfArticle

setMinimumStock

public void setMinimumStock(int minimumStock)
Specified by:
setMinimumStock in interface PerfArticle

getPrice

public double getPrice()
Specified by:
getPrice in interface PerfArticle

setPrice

public void setPrice(double price)
Specified by:
setPrice in interface PerfArticle

getUnit

public java.lang.String getUnit()
Specified by:
getUnit in interface PerfArticle

setUnit

public void setUnit(java.lang.String unit)
Specified by:
setUnit in interface PerfArticle

getStock

public int getStock()
Specified by:
getStock in interface PerfArticle

setStock

public void setStock(int stock)
Specified by:
setStock in interface PerfArticle

getSupplierId

public int getSupplierId()
Specified by:
getSupplierId in interface PerfArticle

setSupplierId

public void setSupplierId(int supplierId)
Specified by:
setSupplierId in interface PerfArticle

getProductGroupId

public int getProductGroupId()
Specified by:
getProductGroupId in interface PerfArticle

setProductGroupId

public void setProductGroupId(int productGroupId)
Specified by:
setProductGroupId in interface PerfArticle

hashCode

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

equals

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


(C) 2002 - 2006 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.4, 2005-12-30