org.acmsl.queryj.rdb.oracle
Class CardtypesFactory

java.lang.Object
  |
  +--org.acmsl.queryj.rdb.oracle.CardtypesFactory

public class CardtypesFactory
extends java.lang.Object

Has the responsiblity of creating in-memory copies of Cardtypes table rows. Such copies follow the Inmutable pattern, so they can only be modified using the persistence layer and resynchronizing.

Version:
$Revision: 1.1 $
Author:
Jose San Leandro

Constructor Summary
protected CardtypesFactory()
          Protected constructor to avoid accidental instantiation.
 
Method Summary
 CardtypesValueObject createCardtypes(long typeid, java.lang.String typetext)
          Creates a Cardtypes value object from given information.
static CardtypesFactory getInstance()
          Retrieves a CardtypesFactory instance.
protected static java.lang.ref.WeakReference getReference()
          Retrieves the weak reference.
protected static void setReference(CardtypesFactory factory)
          Specifies a new weak reference.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CardtypesFactory

protected CardtypesFactory()
Protected constructor to avoid accidental instantiation.

Method Detail

setReference

protected static void setReference(CardtypesFactory factory)
Specifies a new weak reference.

Parameters:
factory - the factory instance to use.

getReference

protected static java.lang.ref.WeakReference getReference()
Retrieves the weak reference.

Returns:
such reference.

getInstance

public static CardtypesFactory getInstance()
Retrieves a CardtypesFactory instance.

Returns:
such instance.

createCardtypes

public CardtypesValueObject createCardtypes(long typeid,
                                            java.lang.String typetext)
Creates a Cardtypes value object from given information.

Parameters:
typeid - the typeid.


Copyright © 2003 ACM S.L.. All Rights Reserved.