Package com.dassault_systemes.ENOVJCESInterfaces.CESJAPIInterface

   
Class CESSearchType

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

Framework : ENOJCESInterfaces

Module : CESJAPIInterface

Class Description

public class CESSearchType

This class specifies the Search Type 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 CESSearchType SIMPLE_SEARCH
Simple Search (aka Keyword Search or Smart Search)
public static final CESSearchType STANDARD_SEARCH
Standard Search (aka Parametric Search or Advanced Search)

Constructor Summary
CESSearchType(int init)
Constructor

Method Summary
public boolean equals(CESSearchType st)
Compares this CESSearchType with the CESSearchType object passed.
public String toString()
Returns the string representation of the searchType
public int value()
Returns the integer value corresponding to the Search Type.


Field Detail

SIMPLE_SEARCH

    public static final CESSearchType SIMPLE_SEARCH
Simple Search (aka Keyword Search or Smart Search)


STANDARD_SEARCH

    public static final CESSearchType STANDARD_SEARCH
Standard Search (aka Parametric Search or Advanced Search)


Constructor Detail

CESSearchType

    CESSearchType(int init)

Constructor

Parameters:
init
integer value corresponding to the Search Type.
1 = "Standard Search", 2 = "Simple Search".

Method Detail

equals

    public boolean equals(CESSearchType st)

Compares this CESSearchType with the CESSearchType object passed.

Parameters:
st
a CESSearchType object to compare this CESSearchType against.
Return:
true if CESSearchTypes are the same; false otherwise

toString

    public String toString()

Returns the string representation of the searchType

Return:
String Returns the string representation of the searchType

value

    public int value()

Returns the integer value corresponding to the Search Type.

Return:
The integer value corresponding to the Search Type.


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