Interface com.ibm.ivj.util.base.Package
- public interface Package
- extends WorkspaceModel
This interface defines the behavior of a package loaded into
the workspace
Method Index
- createVersion(String, boolean)
- Create new version of this package.
- getAllEditions()
- Returns all editions of this package in the repository
- getComment()
- Returns the comment associated with the package in VisualAge for Java
- getEdition()
- Returns the repository package edition corresponding to this
workspace package
- getProject()
- Returns the project containing this package
- getTypes()
- Returns all types defined in this package
- isDefaultPackage()
- Returns true if this is a default package
- isReleased()
- Returns true if this package is released
- isScratchEdition()
- Returns true if this model is a scratch edition
- openBrowser()
- Opens the package browser against this package
- release()
- Release this package into its project
- setComment(String)
- Sets the comment associated with the package in VisualAge for Java
Methods
createVersion
public abstract void createVersion(String name,
boolean release) throws IvjException
- Create new version of this package.
- Parameters:
- name - java.lang.String version or null (automatic versioning)
- release - boolean automatically release package
getAllEditions
public abstract PackageEdition[] getAllEditions() throws IvjException
- Returns all editions of this package in the repository
- Returns:
- com.ibm.ivj.util.base.PackageEdition[]
getComment
public abstract String getComment() throws IvjException
- Returns the comment associated with the package in VisualAge for Java
- Returns:
- java.lang.String
getEdition
public abstract PackageEdition getEdition() throws IvjException
- Returns the repository package edition corresponding to this
workspace package
- Returns:
- com.ibm.ivj.util.base.PackageEdition
getProject
public abstract Project getProject() throws IvjException
- Returns the project containing this package
- Returns:
- com.ibm.ivj.util.base.Project
getTypes
public abstract Type[] getTypes() throws IvjException
- Returns all types defined in this package
- Returns:
- com.ibm.ivj.util.base.Type[]
isDefaultPackage
public abstract boolean isDefaultPackage()
- Returns true if this is a default package
- Returns:
- boolean
isReleased
public abstract boolean isReleased() throws IvjException
- Returns true if this package is released
- Returns:
- boolean
isScratchEdition
public abstract boolean isScratchEdition() throws IvjException
- Returns true if this model is a scratch edition
- Returns:
- boolean
openBrowser
public abstract void openBrowser() throws IvjException
- Opens the package browser against this package
release
public abstract void release() throws IvjException
- Release this package into its project
setComment
public abstract void setComment(String comment) throws IvjException
- Sets the comment associated with the package in VisualAge for Java
- Parameters:
- comment - java.lang.String
