org.apache.ojb.performance
Class PerfArticleImpl
java.lang.Object
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)
|
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
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)
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 - 2005 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