|
|
|||||
| Package com.dassault_systemes.catweb.databackend.dataType |
Class PEAttribute
|
| Class Hierarchy |
java.lang.Object | +-com.dassault_systemes.catweb.databackend.dataType.PEAttribute
| Class Location |
| Class Description |
public class PEAttribute
Class representing an attribute of a PEType. For example if a type "car" is defined, this type could have the attribute "version", "color" and "number of door".
| Field Summary |
| public static final int | FORMAT_DATE
|
| public static final int | FORMAT_INT
|
| public static final int | FORMAT_STRING
|
| Constructor Summary |
| PEAttribute(String iName, String iAlias, PEType iType, int iFormat)
Constructs the attribute of a PELeaf. |
| Method Summary |
| public String | getAlias()
Returns a String Object representing the name of the PEAttribute for the user. |
| public String[] | getAuthorizedValues()
Returns the values that the operand can have if an Extended Query is performed. |
| public int | getformatValue()
Returns the format (String, integer, ... |
| public String[] | getHelpValues()
Returns an array of String, containing the operand values, proposed for matching with the PEAttribute if an Extended Query is performed. |
| public String | getName()
Returns a String Object representing the unique identifier of the PEAttribute. |
| public String[] | getOperators()
Returns an array of String, containing the operators that can be applied to this PEAttribute if an Extended Query is performed. |
| public int | getTreeVisibility()
Returns an integer indicating the visibility of the PEAttribute in the Portal Product Explorer. |
| public PEType | getType()
Returns the PEType Object to which the PEAttribute is tied. |
| public void | setAlias(String iAllias)
Sets the name of the PEAttribute for the user. |
| public void | setAuthorizedValues(String[] iAuthorizedValues)
Sets the values that the operand can have during an Extended Query. |
| public void | setformatValue(int iFormat)
Sets the format (String, integer, ... |
| public void | setHelpValues(String[] iHelpValues)
Sets the operand proposed for matching with the PEAttribute during an Extended Query. |
| public void | setName(String iName)
Sets the unique identifier of the PEAttribute. |
| public void | setOperators(String[] iOperators)
Sets the operators that can be applied on the PEAttribute during an Extended Query. |
| public void | setTreeVisibility(int iTreeVisibility)
Tells what is the visibility of the PEAttribute. |
| public void | setType(PEType iType)
Sets the type to which the PEAttribute is tied. |
| Field Detail |
public static final int FORMAT_DATE
public static final int FORMAT_INT
public static final int FORMAT_STRING
| Constructor Detail |
PEAttribute(String iName, String iAlias, PEType iType, int iFormat)
Constructs the attribute of a PELeaf.
iNameiAliasiTypeiFormat| Method Detail |
public String getAlias()
Returns a String Object representing the name of the PEAttribute for the user.
public String[] getAuthorizedValues()
Returns the values that the operand can have if an Extended Query is performed.
public int getformatValue()
Returns the format (String, integer, ... ) of the PEAttribute.
The int Object 0, corresponding to a java.lang.String is the only available format in the curent code version.
public String[] getHelpValues()
Returns an array of String, containing the operand values, proposed for matching with the PEAttribute if an Extended Query is performed.
public String getName()
Returns a String Object representing the unique identifier of the PEAttribute.
public String[] getOperators()
Returns an array of String, containing the operators that can be applied to this PEAttribute if an Extended Query is performed.
public int getTreeVisibility()
Returns an integer indicating the visibility of the PEAttribute in the Portal Product Explorer.
public PEType getType()
Returns the PEType Object to which the PEAttribute is tied.
public void setAlias(String iAllias)
Sets the name of the PEAttribute for the user.
iAlias
public void setAuthorizedValues(String[] iAuthorizedValues)
Sets the values that the operand can have during an Extended Query.
If HelpValues and AuthorizedValues are specified, AuthorizedValues are prioritary.
iAuthorizedValues
public void setformatValue(int iFormat)
Sets the format (String, integer, ... ) of the PEAttribute.
iFormat
public void setHelpValues(String[] iHelpValues)
Sets the operand proposed for matching with the PEAttribute during an Extended Query.
The operand value are options, the user could add his own values in the Extended Query.
iHelpValues
public void setName(String iName)
Sets the unique identifier of the PEAttribute.
iName
public void setOperators(String[] iOperators)
Sets the operators that can be applied on the PEAttribute during an Extended Query.
If no operator is specified, the PEAttribute can not be used in the Extended Query.
iOperators
public void setTreeVisibility(int iTreeVisibility)
Tells what is the visibility of the PEAttribute.
The name of a node in the Portal Product Explorer is defined by the concatenation of the value of all visible PEAttribute of this node.
iTreeVisibility
public void setType(PEType iType)
Sets the type to which the PEAttribute is tied.
iType