Interface com.ibm.ivj.util.base.PackageEdition
- public interface PackageEdition
- extends RepositoryModel
This interface defines the behavior of a package edition
in the repository
Method Index
- getAllEditions()
- Returns all editions of this package in the repository
- getComment()
- Returns the comment associated with the package in VisualAge for Java
- getLoaded()
- Returns the workspace package corresponding to this
repository package, if it is loaded.
- getTypeEditions()
- Returns all type editions defined in this edition
of the package
- isDefaultPackage()
- Returns true if this is a default package
- loadIntoWorkspace(Project)
- Load this package edition into the workspace and
associate it with the loaded project.
Methods
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
getLoaded
public abstract Package getLoaded() throws IvjException
- Returns the workspace package corresponding to this
repository package, if it is loaded.
- Returns:
- com.ibm.ivj.util.base.Package or null (if not loaded)
getTypeEditions
public abstract TypeEdition[] getTypeEditions() throws IvjException
- Returns all type editions defined in this edition
of the package
- Returns:
- com.ibm.ivj.util.base.TypeEdition[]
isDefaultPackage
public abstract boolean isDefaultPackage()
- Returns true if this is a default package
- Returns:
- boolean
loadIntoWorkspace
public abstract void loadIntoWorkspace(Project intoProject) throws IvjException
- Load this package edition into the workspace and
associate it with the loaded project.
If another edition of this package is already loaded
it is replaced
