org.eclipse.emf.java
Interface JPackage

All Superinterfaces:
EObject, JModelElement, Notifier
All Known Implementing Classes:
JPackageImpl

public interface JPackage
extends JModelElement

A representation of the model object 'JPackage'.

The following features are supported:

See Also:
JavaPackage.getJPackage()

Method Summary
 java.lang.Package getJavaPackage()
          Returns the value of the 'Java Package' attribute
 EList<JClass> getTypes()
          Returns the value of the 'Types' reference list.
 void setJavaPackage(java.lang.Package value)
          Sets the value of the 'Java Package' attribute
 
Methods inherited from interface org.eclipse.emf.java.JModelElement
getJNode, getName, getQualifiedName, setJNode, setName
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getJavaPackage

java.lang.Package getJavaPackage()
Returns the value of the 'Java Package' attribute.

Returns:
the value of the 'Java Package' attribute.
See Also:
setJavaPackage(Package), JavaPackage.getJPackage_JavaPackage()

setJavaPackage

void setJavaPackage(java.lang.Package value)
Sets the value of the 'Java Package' attribute.

Parameters:
value - the new value of the 'Java Package' attribute.
See Also:
getJavaPackage()

getTypes

EList<JClass> getTypes()
Returns the value of the 'Types' reference list. The list contents are of type JClass. It is bidirectional and its opposite is 'Package'.

Returns:
the value of the 'Types' reference list.
See Also:
JavaPackage.getJPackage_Types(), JClass.getPackage()

Copyright 2001-2006 IBM Corporation and others.
All Rights Reserved.