Where Am I? Class Hierarchy All Classes All Fields and Methods

Interface com.ibm.ivj.util.base.Type

public interface Type
extends WorkspaceModel

This interface defines the behavior of a type loaded into the workspace


Method Index

createVersion(String, boolean)
Create new version of this type
getAllEditions()
Returns all editions of this type in the repository
getAllSubtypes()
Returns all subtypes of this type.
getDeveloperName()
Return the name of the person designated as the developer of this type
getEdition()
Returns the repository type edition corresponding to this workspace type
getPackage()
Returns the package containing this type
getProject()
Returns the project containing this type
getQualifiedName()
Returns the fully qualified name of this type
isApplet()
Returns true if type is an applet
isApplication()
Returns true if the type is an application (has main()).
isClass()
Returns true if the type defines a Java class
isInDefaultPackage()
Returns true if this type is defined in a default package
isInterface()
Returns true if the type defines a Java interface
isReleased()
Returns true if this type is released
openBrowser()
Opens the class or interface browser against this type
release()
Release this type into its package

Methods

createVersion
 public abstract void createVersion(String name,
                                    boolean release) throws IvjException
Create new version of this type

Parameters:
name - java.lang.String version or null (automatic versioning)
release - boolean automatically release type
getAllEditions
 public abstract TypeEdition[] getAllEditions() throws IvjException
Returns all editions of this type in the repository

Returns:
com.ibm.ivj.util.base.TypeEdition[]
getAllSubtypes
 public abstract Type[] getAllSubtypes()
Returns all subtypes of this type. If this type is a class, than the result represents all classes that directly or indirectly extend this class. If this type is an interface, than the result represents all classes that directly or indirectly implement this interface *and* all interfaces that directly or indirectly extend this interface.

Returns:
com.ibm.ivj.util.base.Type[]
getDeveloperName
 public abstract String getDeveloperName() throws IvjException
Return the name of the person designated as the developer of this type

Returns:
java.lang.String
getEdition
 public abstract TypeEdition getEdition() throws IvjException
Returns the repository type edition corresponding to this workspace type

Returns:
com.ibm.ivj.util.base.TypeEdition
getPackage
 public abstract Package getPackage() throws IvjException
Returns the package containing this type

Returns:
com.ibm.ivj.util.base.Package
getProject
 public abstract Project getProject() throws IvjException
Returns the project containing this type

Returns:
com.ibm.ivj.util.base.Project
getQualifiedName
 public abstract String getQualifiedName()
Returns the fully qualified name of this type

Returns:
java.lang.String
isApplet
 public abstract boolean isApplet() throws IvjException
Returns true if type is an applet

Returns:
boolean
isApplication
 public abstract boolean isApplication() throws IvjException
Returns true if the type is an application (has main()).

Returns:
boolean
isClass
 public abstract boolean isClass() throws IvjException
Returns true if the type defines a Java class

Returns:
boolean
isInDefaultPackage
 public abstract boolean isInDefaultPackage()
Returns true if this type is defined in a default package

Returns:
boolean
isInterface
 public abstract boolean isInterface() throws IvjException
Returns true if the type defines a Java interface

Returns:
boolean
isReleased
 public abstract boolean isReleased() throws IvjException
Returns true if this type is released

Returns:
boolean
openBrowser
 public abstract void openBrowser() throws IvjException
Opens the class or interface browser against this type

release
 public abstract void release() throws IvjException
Release this type into its package


Where Am I? Class Hierarchy All Classes All Fields and Methods