Class symantec.itools.db.beans.binding.Name
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class symantec.itools.db.beans.binding.Name

Object
   |
   +----symantec.itools.db.beans.binding.Name

public class Name
extends Object

Variable Index

 o AliasSeparator
 o AllColumnsString
 o AllRows
 o AllRowsString
 o ColumnNotFoundField
 o ColumnSeparator
 o FieldName
 o FullName
Different parts of the name: "FullName=TableName
 o LinkSeparator
Separators in the name.
 o MethodSeparator
 o NumberOfRows
 o NumericColumnOffset
 o SizeSeparator
 o TableName
 o TableSeparator

Constructor Index

 o symantec.itools.db.beans.binding.Name()
Default constructor
 o symantec.itools.db.beans.binding.Name(String)
Creates a Name given its fullname.
 o symantec.itools.db.beans.binding.Name(String, String, int)
 o symantec.itools.db.beans.binding.Name(String, String)

Method Index

 o getColumnFromName(String)
Returns the index of a column given its name.
 o getColumnsFromName(String)
Returns an array of indexes of the columns included in the name.
 o getFieldName()
Returns the current fields name
 o getFieldName(String)
Returns the fields name given the full name.
 o getFullName()
Returns the current full name
 o getNumberOfCols()
Returns the number of columns defined in the name.
 o getNumberOfCols(String)
Returns the number of columns given the full name.
 o getNumberOfRows()
Returns the number of rows defined in the name.
 o getNumberOfRows(String)
Returns the number of rows given the full name.
 o getTableName()
Returns the current table name
 o getTableName(String)
Returns the table name given the full name.
 o isMyField(String)
Compares the fields of the mediatorDs to those in hismane.
 o setFieldName(String)
 o setName(String)
Sets the differnt sets all the parts of the name.
 o setNumberOfRows(int)
 o setTableName(String)

Variables

 o AliasSeparator
public static final java.lang.String AliasSeparator
 o AllColumnsString
public static final java.lang.String AllColumnsString
 o AllRows
public static final int AllRows
 o AllRowsString
public static final java.lang.String AllRowsString
 o ColumnNotFoundField
public static final int ColumnNotFoundField
 o ColumnSeparator
public static final java.lang.String ColumnSeparator
 o FieldName
protected java.lang.String FieldName
 o FullName
protected java.lang.String FullName
Different parts of the name: "FullName=TableName@FieldName"

 o LinkSeparator
public static final java.lang.String LinkSeparator
Separators in the name.

 o MethodSeparator
public static final java.lang.String MethodSeparator
 o NumberOfRows
protected int NumberOfRows
 o NumericColumnOffset
public static final int NumericColumnOffset
 o SizeSeparator
public static final java.lang.String SizeSeparator
 o TableName
protected java.lang.String TableName
 o TableSeparator
public static final java.lang.String TableSeparator

Constructors

 o Name
public Name()
Default constructor

 o Name
public Name(String fullname)
Creates a Name given its fullname.

Parameters:
fullname - the full name.
 o Name
public Name(String tname,
            String fname,
            int rows)
 o Name
public Name(String tname,
            String fname)

Methods

 o getColumnFromName
public int getColumnFromName(String name)
Returns the index of a column given its name.

Parameters:
name - the name.
Returns:
the index of a column given its name.
 o getColumnsFromName
public int[] getColumnsFromName(String name)
Returns an array of indexes of the columns included in the name.

Parameters:
name - the full name.
Returns:
an array of indexes of the columns included in the name.
 o getFieldName
public java.lang.String getFieldName()
Returns the current fields name

Returns:
the current fields name
 o getFieldName
public static java.lang.String getFieldName(String name)
Returns the fields name given the full name.

Parameters:
name - the full name.
Returns:
the fields name given the full name.
 o getFullName
public java.lang.String getFullName()
Returns the current full name

Returns:
the current full name
 o getNumberOfCols
public int getNumberOfCols()
Returns the number of columns defined in the name.

Returns:
the number of columns defined in the name.
 o getNumberOfCols
public static int getNumberOfCols(String name)
Returns the number of columns given the full name.

Parameters:
name - the full name.
Returns:
the number of columns given the full name.
 o getNumberOfRows
public int getNumberOfRows()
Returns the number of rows defined in the name.

Returns:
the number of rows defined in the name.
 o getNumberOfRows
public static int getNumberOfRows(String name)
Returns the number of rows given the full name.

Parameters:
name - the full name.
Returns:
the number of rows given the full name.
 o getTableName
public java.lang.String getTableName()
Returns the current table name

Returns:
the current table name
 o getTableName
public static java.lang.String getTableName(String name)
Returns the table name given the full name.

Parameters:
name - the full name.
Returns:
the table name given the full name.
 o isMyField
protected boolean isMyField(String testName)
Compares the fields of the mediatorDs to those in hismane. It is used when the mediatorDS recives a request for a DataItem and wants to know if it can fulfill it.

Parameters:
testName - the field name to check
Returns:
true if it is my field.
 o setFieldName
public void setFieldName(String fname)
 o setName
public void setName(String fullname)
Sets the differnt sets all the parts of the name.

Parameters:
fullname - the full name.
 o setNumberOfRows
public void setNumberOfRows(int rows)
 o setTableName
public void setTableName(String tname)

All Packages  Class Hierarchy  This Package  Previous  Next  Index