Package com.dassault_systemes.ENOVJCESInterfaces.CESJAPIInterface

   
Class CESViewType

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

Framework : ENOJCESInterfaces

Module : CESJAPIInterface

Class Description

public class CESViewType

This class specifies the View 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 CESViewType RESULT_FORM
Result Form
public static final CESViewType SEARCH_FORM
Search Form

Constructor Summary
CESViewType(int init)
Constructor

Method Summary
public boolean equals(CESViewType vt)
Compares this CESViewType with the CESViewType object passed.
public String toString()
Returns the string representation of the viewType
public int value()
Returns the integer value corresponding to the View Type.


Field Detail

RESULT_FORM

    public static final CESViewType RESULT_FORM
Result Form


SEARCH_FORM

    public static final CESViewType SEARCH_FORM
Search Form


Constructor Detail

CESViewType

    CESViewType(int init)

Constructor

Parameters:
init
integer value corresponding to the View Type.
1 = "Search Form", 2 = "Result Form".

Method Detail

equals

    public boolean equals(CESViewType vt)

Compares this CESViewType with the CESViewType object passed.

Parameters:
vt
a CESViewType object to compare this CESViewType against.
Return:
true if CESViewTypes are the same; false otherwise

toString

    public String toString()

Returns the string representation of the viewType

Return:
String:Returns the string representation of the ViewType

value

    public int value()

Returns the integer value corresponding to the View Type.

Return:
The integer value corresponding to the View Type.


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