|
|
|||||
| 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 |
| 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(String iName, boolean iQueryable, String iLocationImage)
Constructs a PEType given its name, its queryability and its icon.
iNameiQueryableiLocationImage
PEType(String iName, String iAlias, boolean iQueryable, String iLocationImage)
Constructs a PEType given its name, its queryability and its icon.
iNameiAliasiQueryableiLocationImage| Method Detail |
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
Env
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.
env
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
iAlias
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.
iAlias
public void setAlias(String Env, String anAlias)
Sets the name of the PEAttribute for the user for an Environment
EnviAlias
public void setAttributes(PEAttribute[] arrayAttri)
Sets the attributes of the PEType when there is no environment.
The "default" environment is used.
arrayAttribute
public void setAttributes(String env, PEAttribute[] arrayAttri)
Sets the attributes of the PEType in a specified environment.
envarrayAttribute
public void setIconRules(Vector vec)
public void setSupportedQueries(int[] p)
Tells what kind of query can be done on this PEType.
Two kinds are available:
queries