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)
Constructs a PEType given its name, its queryability and its icon.
PEType(String iName, String iAlias, boolean iQueryable, String iLocationImage)
Constructs a PEType given its name, its queryability and its icon.

Method Summary
public String getAlias()
Returns a String Object representing the name in the Environement of the PEAttribute for the user.
public String getAlias(String Env)
Returns the String Object representing for an Environment the name of the PEAttribute for the user
public String[] getAliases()
Returns All Strings Object representing for All Environments the name of the PEAttribute for the user
public PEAttribute[] getAttributes()
Returns the array of PEAttribute defined in this PEType with the "default" environment.
public PEAttribute[] getAttributes(String env)
Returns the array of PEAttribute defined in this PEType with a specified environment.
public Hashtable getAttrRules()
public Hashtable getEnvAlias()
public String[] getEnvironmentListForAlias(String anAlias)
Returns All Environments where the String Object representing the name of the PEAttribute for the user is defined
public int[] getSupportedQueries()
Retrurns of array of int telling what kind of queries are suported.
public void setAlias(String iAlias)
Sets the name of the PEAttribute for the user.
public void setAlias(String Env, String anAlias)
Sets the name of the PEAttribute for the user for an Environment
public void setAttributes(PEAttribute[] arrayAttri)
Sets the attributes of the PEType when there is no environment.
public void setAttributes(String env, PEAttribute[] arrayAttri)
Sets the attributes of the PEType in a specified environment.
public void setIconRules(Vector vec)
public void setSupportedQueries(int[] p)
Tells what kind of query can be done on this PEType.


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

getAlias

    public String getAlias()

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


getAlias

    public 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

    public String[] getAliases()

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


getAttributes

    public PEAttribute[] getAttributes()

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


getAttributes

    public PEAttribute[] getAttributes(String env)

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

Parameters:
env
The environment

getAttrRules

    public Hashtable getAttrRules()


getEnvAlias

    public Hashtable getEnvAlias()


getEnvironmentListForAlias

    public 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.

getSupportedQueries

    public int[] getSupportedQueries()

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


setAlias

    public 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.

setAlias

    public 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.

setAttributes

    public 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.

setAttributes

    public 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.

setIconRules

    public void setIconRules(Vector vec)


setSupportedQueries

    public 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.


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