Class symantec.itools.db.beans.brl.adapter.editors.BRLImplClassDataItem
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class symantec.itools.db.beans.brl.adapter.editors.BRLImplClassDataItem

Object
   |
   +----symantec.itools.db.beans.brl.adapter.editors.BRLImplClassDataItem

public class BRLImplClassDataItem
extends Object
implements DataItem
BRLImplClassDataItem is a DataItem which represents data for a Business Rule class implementor registered with the component library

Version:
1.0 06/18/98
Author:
Puru Balakrishnan

Constructor Index

 o symantec.itools.db.beans.brl.adapter.editors.BRLImplClassDataItem()
Default Constructor
 o symantec.itools.db.beans.brl.adapter.editors.BRLImplClassDataItem(String, String)
Constructor with rule name and class Name used while building tree nodes
 o symantec.itools.db.beans.brl.adapter.editors.BRLImplClassDataItem(Class)
Constructor with className used by customizer for the bean

Method Index

 o getClassName()
Method to get the class name
 o getRuleClass()
Method to return the class for a particular data item
 o getRuleClassType(Class)
Get the rule class type for a particular class
 o getRuleDescription()
Method to get the rule description
 o getRuleName()
Method to get the name of rule
 o isDescAvailable()
Method to return if rule description has been obtained
 o setClassName(String)
Method to set the class Name
 o setDescAvailable(boolean)
Method to set the value for description available
 o setRuleDescription(String)
Method to set the rule description
 o setRuleName(String)
Method to set the name of rule
 o toString()
toString() method

Constructors

 o BRLImplClassDataItem
public BRLImplClassDataItem()
Default Constructor

 o BRLImplClassDataItem
public BRLImplClassDataItem(String rule,
                            String className)
Constructor with rule name and class Name used while building tree nodes

 o BRLImplClassDataItem
public BRLImplClassDataItem(Class cl)
Constructor with className used by customizer for the bean

Methods

 o getClassName
public java.lang.String getClassName()
Method to get the class name

Returns:
class Name
 o getRuleClass
public java.lang.Class getRuleClass()
Method to return the class for a particular data item

Returns:
the class object for a given item
 o getRuleClassType
public static int getRuleClassType(Class cl)
Get the rule class type for a particular class

Returns:
integer
 o getRuleDescription
public java.lang.String getRuleDescription()
Method to get the rule description

Returns:
rule description
 o getRuleName
public java.lang.String getRuleName()
Method to get the name of rule

Returns:
name of rule
 o isDescAvailable
public boolean isDescAvailable()
Method to return if rule description has been obtained

Returns:
true if description is available
 o setClassName
public void setClassName(String name)
Method to set the class Name

Parameters:
name - the class Name
 o setDescAvailable
public void setDescAvailable(boolean avail)
Method to set the value for description available

Parameters:
avail - boolean if a description is available
 o setRuleDescription
public void setRuleDescription(String desc)
Method to set the rule description

Parameters:
desc - the rule description
 o setRuleName
public void setRuleName(String name)
Method to set the name of rule

Parameters:
name - the rule name
 o toString
public java.lang.String toString()
toString() method

Returns:
rule name
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index