home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Languages Suite
/
ProgLangD.iso
/
VCAFE.3.0A
/
Main.bin
/
ProductEdition.java
< prev
next >
Wrap
Text File
|
1998-10-25
|
2KB
|
69 lines
/*
* Copyright 1998 Symantec Corporation, All Rights Reserved.
*/
package com.symantec.itools.vcafe.openapi;
/**
* The API used to represent and access information about which product edition of Visual
* Cafe is running, and its capabilities.
* @see VisualCafe#getProductEdition
*
* @author Symantec Internet Tools Division
* @version 1.0
* @since VCafe 3.0
*/
public interface ProductEdition
{
/**
* Identifies the <i>Visual Cafe Standard Edition</i> product variant.
* @see #getProductVariant
*/
public static final int STANDARD_EDITION = 1;
/**
* Identifies the <i>Visual Cafe Professional Edition</i> product variant.
* @see #getProductVariant
*/
public static final int PROFESSIONAL_EDITION = 2;
/**
* Identifies the <i>Visual Cafe Database Edition</i> product variant.
* @see #getProductVariant
*/
public static final int DATABASE_EDITION = 3;
/**
* Identifies the <i>Visual Cafe Enterprise Suite</i> product variant.
* @see #getProductVariant
*/
public static final int ENTERPRISE_SUITE = 4;
/**
* Determines which product variant (edition) of Visual Cafe is currently running.
* @return one of STANDARD_EDITION, PROFESSIONAL_EDITION, DATABASE_EDITION, or
* ENTERPRISE_SUITE.
*/
public abstract int getProductVariant();
/**
* Determines if the <i>Visual Cafe Database Edition</i> features are available.
* @return <code>true</code> if so, <code>false</code> otherwise.
*/
public boolean isDatabaseEdition();
/**
* Determines if the <i>Visual Cafe Professional Edition</i> features are available.
* @return <code>true</code> if so, <code>false</code> otherwise.
*/
public boolean isProfessionalEdition();
/**
* Determines if Distributed Debugging is supported.
* @return <code>true</code> if so, <code>false</code> otherwise.
*/
public boolean hasDistributedDebugging();
}