|
|
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 |
int | FORMAT_STRING |
int | FORMAT_INT |
int | FORMAT_DATE |
Constructor Summary |
PEAttribute(String iName, String iAlias, PEType iType, int iFormat) |
Method Summary |
void | setName(String iName) |
String | getName() |
void | setAlias(String iAllias) |
String | getAlias() |
void | setType(PEType iType) |
PEType | getType() |
void | setformatValue(int iFormat) |
int | getformatValue() |
void | setOperators(String[] iOperators) |
String[] | getOperators() |
void | setHelpValues(String[] iHelpValues) |
String[] | getHelpValues() |
void | setAuthorizedValues(String[] iAuthorizedValues) |
String[] | getAuthorizedValues() |
void | setTreeVisibility(int iTreeVisibility) |
int | getTreeVisibility() |
Field Detail |
int FORMAT_STRING
int FORMAT_INT
int FORMAT_DATE
Constructor Detail |
PEAttribute(String iName, String iAlias, PEType iType, int iFormat)Constructs the attribute of a PELeaf.
iName
iAlias
iType
iFormat
Method Detail |
void setName(String iName)Sets the unique identifier of the PEAttribute.
iName
String getName()Returns a String Object representing the unique identifier of the PEAttribute.
void setAlias(String iAllias)Sets the name of the PEAttribute for the user.
iAlias
String getAlias()Returns a String Object representing the name of the PEAttribute for the user.
void setType(PEType iType)Sets the type to which the PEAttribute is tied.
iType
PEType getType()Returns the PEType Object to which the PEAttribute is tied.
void setformatValue(int iFormat)Sets the format (String, integer, ... ) of the PEAttribute.
iFormat
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.
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
String[] getOperators()Returns an array of String, containing the operators that can be applied to this PEAttribute if an Extended Query is performed.
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
String[] getHelpValues()Returns an array of String, containing the operand values, proposed for matching with the PEAttribute if an Extended Query is performed.
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
String[] getAuthorizedValues()Returns the values that the operand can have if an Extended Query is performed.
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
int getTreeVisibility()Returns an integer indicating the visibility of the PEAttribute in the Portal Product Explorer.