Package com.dassault_systemes.catweb.databackend.dataType

   
Class PEType

 
Class Hierarchy
java.lang.Object
  |
  +-com.dassault_systemes.catweb.databackend.dataType.PELeaf
        |
        +-com.dassault_systemes.catweb.databackend.dataType.PEType
Class Location

Framework : CATJDataAccessBasicModel

Module : PLAdatabackend

Class Description

public class PEType

Field Summary

Constructor Summary
PEType(String iName, boolean iQueryable, String iLocationImage)
PEType(String iName, String iAlias, boolean iQueryable, String iLocationImage)

Method Summary
void setAlias(String iAlias)
String getAlias()
void setAlias(String Env, String anAlias)
String getAlias(String Env)
String[] getAliases()
String[] getEnvironmentListForAlias(String anAlias)
Hashtable getEnvAlias()
void setAttributes(PEAttribute[] arrayAttri)
PEAttribute[] getAttributes()
void setAttributes(String env, PEAttribute[] arrayAttri)
PEAttribute[] getAttributes(String env)
void setSupportedQueries(int[] p)
int[] getSupportedQueries()
void setIconRules(Vector vec)
Hashtable getAttrRules()


Field Detail

Constructor Detail

PEType

    PEType(String iName, boolean iQueryable, String iLocationImage)

Constructs a PEType given its name, its queryability and its icon.

Parameters:
iName
The String representing the identifier of the PEType and the name seen by the user.
iQueryable
A boolean telling if this PEType is queryable. True: this PEType is queryable, false: it is not.
iLocationImage
The location of the icon. It is the location in the jar or the dsar of your Driver.

PEType

    PEType(String iName, String iAlias, boolean iQueryable, String iLocationImage)

Constructs a PEType given its name, its queryability and its icon.

Parameters:
iName
The String representing the identifier of the PEType.
iAlias
The String representing the name seen by the user.
iQueryable
A boolean telling if this PEType is queryable. True: this PEType is queryable, false: it is not.
iLocationImage
The location of the icon. It is the location in the jar or the dsar of your Driver.

Method Detail

setAlias

    void setAlias(String iAlias)

Sets the name of the PEAttribute for the user.

Parameters:
iAlias
The String Object representing the name of the PEAttribute for the user.

getAlias

    String getAlias()

Returns a String Object representing the name in the Environement of the PEAttribute for the user.


setAlias

    void setAlias(String Env, String anAlias)

Sets the name of the PEAttribute for the user for an Environment

Parameters:
Env
The String representing the environment.
iAlias
The String Object representing the name of the PEAttribute for the user.

getAlias

    String getAlias(String Env)

Returns the String Object representing for an Environment the name of the PEAttribute for the user

Parameters:
Env
The String representing the environment.

getAliases

    String[] getAliases()

Returns All Strings Object representing for All Environments the name of the PEAttribute for the user


getEnvironmentListForAlias

    String[] getEnvironmentListForAlias(String anAlias)

Returns All Environments where the String Object representing the name of the PEAttribute for the user is defined

Parameters:
iAlias
The String Object representing the name of the PEAttribute for the user.

getEnvAlias

    Hashtable getEnvAlias()


setAttributes

    void setAttributes(PEAttribute[] arrayAttri)

Sets the attributes of the PEType when there is no environment. The "default" environment is used.

Parameters:
arrayAttribute
The array of PEAttribute defined in this PEType.

getAttributes

    PEAttribute[] getAttributes()

Returns the array of PEAttribute defined in this PEType with the "default" environment.


setAttributes

    void setAttributes(String env, PEAttribute[] arrayAttri)

Sets the attributes of the PEType in a specified environment.

Parameters:
env
The String representing the environment.
arrayAttribute
The array of PEAttribute contained in the PEType.

getAttributes

    PEAttribute[] getAttributes(String env)

Returns the array of PEAttribute defined in this PEType with a specified environment.

Parameters:
env
The environment

setSupportedQueries

    void setSupportedQueries(int[] p)

Tells what kind of query can be done on this PEType. Two kinds are available:

Parameters:
queries
An array of int:
  • if the String query is supported, this array contains 0
  • if the extended query is supported, this array contains 1.

getSupportedQueries

    int[] getSupportedQueries()

Retrurns of array of int telling what kind of queries are suported.


setIconRules

    void setIconRules(Vector vec)


getAttrRules

    Hashtable getAttrRules()



Copyright © 2000, Dassault Systèmes. All rights reserved