org.apache.ojb.broker
Class ArticleProxy

java.lang.Object
  extended byorg.apache.ojb.broker.VirtualProxy
      extended byorg.apache.ojb.broker.ArticleProxy
All Implemented Interfaces:
InterfaceArticle, java.io.Serializable

public class ArticleProxy
extends VirtualProxy
implements InterfaceArticle

Proxy class to class Article. Implements interface InterfaceArticle. delegates methods calls to the internal Article-object

Author:
Thomas Mahler
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.ojb.broker.VirtualProxy
serialVersionUID
 
Constructor Summary
ArticleProxy()
           
ArticleProxy(java.lang.reflect.InvocationHandler handler)
           
ArticleProxy(PBKey key, Identity uniqueId)
          ArticleProxy constructor comment.
 
Method Summary
 void addToStock(int diff)
          addToStock method comment.
 int getArticleId()
          getArticleId method comment.
 java.lang.String getArticleName()
          getArticleName method comment.
 InterfaceProductGroup getProductGroup()
          getProductGroup method comment.
 double getStockValue()
          getStockValue method comment.
 void setArticleId(int newArticleId)
          setArticleId method comment.
 void setArticleName(java.lang.String newArticleName)
          setArticleName method comment.
 void setProductGroup(InterfaceProductGroup pg)
           
 
Methods inherited from class org.apache.ojb.broker.VirtualProxy
alreadyMaterialized, createProxy, getIdentity, getIndirectionHandler, getRealSubject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.ojb.broker.InterfaceArticle
toString
 

Constructor Detail

ArticleProxy

public ArticleProxy()

ArticleProxy

public ArticleProxy(PBKey key,
                    Identity uniqueId)
ArticleProxy constructor comment.

Parameters:
uniqueId - org.apache.ojb.broker.Identity

ArticleProxy

public ArticleProxy(java.lang.reflect.InvocationHandler handler)
Method Detail

setProductGroup

public void setProductGroup(InterfaceProductGroup pg)
Specified by:
setProductGroup in interface InterfaceArticle

addToStock

public void addToStock(int diff)
addToStock method comment.

Specified by:
addToStock in interface InterfaceArticle

getArticleId

public int getArticleId()
getArticleId method comment.

Specified by:
getArticleId in interface InterfaceArticle

getArticleName

public java.lang.String getArticleName()
getArticleName method comment.

Specified by:
getArticleName in interface InterfaceArticle

getProductGroup

public InterfaceProductGroup getProductGroup()
getProductGroup method comment.

Specified by:
getProductGroup in interface InterfaceArticle

getStockValue

public double getStockValue()
getStockValue method comment.

Specified by:
getStockValue in interface InterfaceArticle

setArticleId

public void setArticleId(int newArticleId)
setArticleId method comment.

Specified by:
setArticleId in interface InterfaceArticle

setArticleName

public void setArticleName(java.lang.String newArticleName)
setArticleName method comment.

Specified by:
setArticleName in interface InterfaceArticle


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