JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.datasource.beans
Class DataSourceBeanInstance

java.lang.Object
  |
  +--com.klg.jclass.datasource.beans.DataSourceBeanInstance
All Implemented Interfaces:
Serializable

public class DataSourceBeanInstance
extends Object
implements Serializable

This class contains a list of instances of data source beans like JCData and JCTreeData. The list is used for JClass data-binding at design-time.

See Also:
Serialized Form

Field Summary
protected static Vector instances
          The list of instances.
 
Constructor Summary
DataSourceBeanInstance()
           
 
Method Summary
static void addInstance(Object bean)
          Add an instance to the list.
static Object getInstance(String model_name)
          Gets the first instance matching a model name of a data source bean.
static Vector getInstances()
          Gets the list of instances.
static void removeInstance(Object bean)
          Remove an instance from the list.
static void removeInstance(String model_name)
          Remove an instance by a model name of a data source bean.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instances

protected static Vector instances
The list of instances.

Constructor Detail

DataSourceBeanInstance

public DataSourceBeanInstance()
Method Detail

addInstance

public static void addInstance(Object bean)
Add an instance to the list.


removeInstance

public static void removeInstance(Object bean)
Remove an instance from the list.


getInstance

public static Object getInstance(String model_name)
Gets the first instance matching a model name of a data source bean.


removeInstance

public static void removeInstance(String model_name)
Remove an instance by a model name of a data source bean.


getInstances

public static Vector getInstances()
Gets the list of instances.


Copyright © 2004 Quest Software Inc..
All rights reserved.