org.apache.ojb.broker
Interface InterfaceArticle

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
AbstractArticle, Article, ArticleProxy

public interface InterfaceArticle
extends java.io.Serializable

defines the behaviour of Articles. implemented by real 'Articles' and their ArticleProxies


Method Summary
 void addToStock(int diff)
           
 int getArticleId()
           
 java.lang.String getArticleName()
           
 InterfaceProductGroup getProductGroup()
           
 double getStockValue()
           
 void setArticleId(int newArticleId)
           
 void setArticleName(java.lang.String newArticleName)
           
 void setProductGroup(InterfaceProductGroup pg)
           
 java.lang.String toString()
           
 

Method Detail

addToStock

public void addToStock(int diff)

getArticleId

public int getArticleId()

getArticleName

public java.lang.String getArticleName()

getProductGroup

public InterfaceProductGroup getProductGroup()

setProductGroup

public void setProductGroup(InterfaceProductGroup pg)

getStockValue

public double getStockValue()

setArticleId

public void setArticleId(int newArticleId)

setArticleName

public void setArticleName(java.lang.String newArticleName)

toString

public java.lang.String toString()


Authors: Thomas Mahler and others. (C) 2000 - 2003 Apache Software Foundation
All rights reserved. Published under the Apache License.
http://db.apache.org/ojb
Version: 1.0.rc5, 2003-12-14