Package com.dassault_systemes.ENOVJCESInterfaces.CESJAPIInterface |
|
Class CESSearchProjectOption
|
java.lang.Object
|
+-com.dassault_systemes.ENOVJCESInterfaces.CESJAPIInterface.CESSearchProjectOption
Framework : ENOJCESInterfaces
Module : CESJAPIInterface
public class CESSearchProjectOption
This class specifies the Project and Revision constant values used in the Part Selection API Search calls.
CURRENT_PROJECT_CURRENT_REVISION
CESSearchProjectOption CURRENT_PROJECT_CURRENT_REVISION
Current Project and Current Revision
CURRENT_PROJECT_ALL_REVISION
CESSearchProjectOption CURRENT_PROJECT_ALL_REVISION
Current Project and All Revisions
ALL_PROJECT_CURRENT_REVISION
CESSearchProjectOption ALL_PROJECT_CURRENT_REVISION
All Projects and Current Revision
ALL_PROJECT_ALL_REVISION
CESSearchProjectOption ALL_PROJECT_ALL_REVISION
All Projects and All Revisions
ALL_APPROVED_PROJECTS_CURRENT_REVISION
CESSearchProjectOption ALL_APPROVED_PROJECTS_CURRENT_REVISION
All Approved Projects and Current Revision
ALL_APPROVED_PROJECTS_ALL_REVISION
CESSearchProjectOption ALL_APPROVED_PROJECTS_ALL_REVISION
All Approved Projects and All Revisions
CESSearchProjectOption
CESSearchProjectOption(int init)
Constructor
- Parameters:
init
- integer value corresponding to the Project and Revision option.
1 = "Current Project and Current Revision", 2 = "Current Project and All Revisions", 3 = "All Projects and Current Revision", 4 = "All Projects and All Revisions", 5 = "All Approved Projects and Current Revision", 6 = "All Approved Projects and All Revisions".
toString
String toString()
Returns the string representation of the CESSearchProjectOption
- Returns:
String Returns the string representation of the CESSearchProjectOption
value
int value()
Returns the integer value corresponding to the Project and Revision option.
- Returns:
The integer value corresponding to the Project and Revision option.
equals
boolean equals(CESSearchProjectOption spo)
Compares this CESSearchProjectOption with the CESSearchProjectOption object passed.
- Parameters:
spo
- a CESSearchProjectOption object to compare this CESSearchProjectOption against.
- Returns:
true if CESSearchProjectOptions are the same; false otherwise
Copyright © 2000, Dassault Systèmes. All rights reserved