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.

Since:
R18 SP1
Author:
PTP
Author:
OIN
Version:
R18, 12/01/2007
Field Summary
public static final CESSearchProjectOption ALL_APPROVED_PROJECTS_ALL_REVISION
All Approved Projects and All Revisions
public static final CESSearchProjectOption ALL_APPROVED_PROJECTS_CURRENT_REVISION
All Approved Projects and Current Revision
public static final CESSearchProjectOption ALL_PROJECT_ALL_REVISION
All Projects and All Revisions
public static final CESSearchProjectOption ALL_PROJECT_CURRENT_REVISION
All Projects and Current Revision
public static final CESSearchProjectOption CURRENT_PROJECT_ALL_REVISION
Current Project and All Revisions
public static final CESSearchProjectOption CURRENT_PROJECT_CURRENT_REVISION
Current Project and Current Revision

Constructor Summary
CESSearchProjectOption(int init)
Constructor

Method Summary
public boolean equals(CESSearchProjectOption spo)
Compares this CESSearchProjectOption with the CESSearchProjectOption object passed.
public String toString()
Returns the string representation of the CESSearchProjectOption
public int value()
Returns the integer value corresponding to the Project and Revision option.


Field Detail

ALL_APPROVED_PROJECTS_ALL_REVISION

    public static final CESSearchProjectOption ALL_APPROVED_PROJECTS_ALL_REVISION
All Approved Projects and All Revisions


ALL_APPROVED_PROJECTS_CURRENT_REVISION

    public static final CESSearchProjectOption ALL_APPROVED_PROJECTS_CURRENT_REVISION
All Approved Projects and Current Revision


ALL_PROJECT_ALL_REVISION

    public static final CESSearchProjectOption ALL_PROJECT_ALL_REVISION
All Projects and All Revisions


ALL_PROJECT_CURRENT_REVISION

    public static final CESSearchProjectOption ALL_PROJECT_CURRENT_REVISION
All Projects and Current Revision


CURRENT_PROJECT_ALL_REVISION

    public static final CESSearchProjectOption CURRENT_PROJECT_ALL_REVISION
Current Project and All Revisions


CURRENT_PROJECT_CURRENT_REVISION

    public static final CESSearchProjectOption CURRENT_PROJECT_CURRENT_REVISION
Current Project and Current Revision


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

equals

    public boolean equals(CESSearchProjectOption spo)

Compares this CESSearchProjectOption with the CESSearchProjectOption object passed.

Parameters:
spo
a CESSearchProjectOption object to compare this CESSearchProjectOption against.
Return:
true if CESSearchProjectOptions are the same; false otherwise

toString

    public String toString()

Returns the string representation of the CESSearchProjectOption

Return:
String Returns the string representation of the CESSearchProjectOption

value

    public int value()

Returns the integer value corresponding to the Project and Revision option.

Return:
The integer value corresponding to the Project and Revision option.


Copyright © 2000, Dassault Systèmes. All rights reserved