Package com.dassault_systemes.ENOVJCESInterfaces.CESJAPIInterface

   
Class CESSearchProjectOption

 
Class Hierarchy
java.lang.Object
  |
  +-com.dassault_systemes.ENOVJCESInterfaces.CESJAPIInterface.CESSearchProjectOption
Class Location

Framework : ENOJCESInterfaces

Module : CESJAPIInterface

Class Description

public class CESSearchProjectOption

This class specifies the Project and Revision constant values used in the Part Selection API Search calls.

Field Summary
CESSearchProjectOption CURRENT_PROJECT_CURRENT_REVISION
CESSearchProjectOption CURRENT_PROJECT_ALL_REVISION
CESSearchProjectOption ALL_PROJECT_CURRENT_REVISION
CESSearchProjectOption ALL_PROJECT_ALL_REVISION
CESSearchProjectOption ALL_APPROVED_PROJECTS_CURRENT_REVISION
CESSearchProjectOption ALL_APPROVED_PROJECTS_ALL_REVISION

Constructor Summary
CESSearchProjectOption(int init)

Method Summary
String toString()
int value()
boolean equals(CESSearchProjectOption spo)


Field Detail

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


Constructor Detail

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

Method Detail

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