org.eclipse.emf.java
Interface JClass

All Superinterfaces:
EObject, JMember, JModelElement, Notifier
All Known Implementing Classes:
JClassImpl

public interface JClass
extends JMember

A representation of the model object 'JClass'.

The following features are supported:

See Also:
JavaPackage.getJClass()

Method Summary
 EList<JField> getAllFields()
          Returns the value of the 'All Fields' reference list.
 EList<JMethod> getAllMethods()
          Returns the value of the 'All Methods' reference list.
 EList<JClass> getAllSuperTypes()
          Returns the value of the 'All Super Types' reference list.
 EList<JClass> getAllTypes()
          Returns the value of the 'All Types' reference list.
 JClass getArrayType()
          Returns the value of the 'Array Type' containment reference.
 JClass getComponentType()
          Returns the value of the 'Component Type' container reference.
 EList<JField> getFields()
          Returns the value of the 'Fields' reference list.
 java.lang.Class<?> getJavaClass()
          Returns the value of the 'Java Class' attribute
 EList<JMember> getMembers()
          Returns the value of the 'Members' containment reference list.
 EList<JMethod> getMethods()
          Returns the value of the 'Methods' reference list.
 JPackage getPackage()
          Returns the value of the 'Package' reference.
 EList<JClass> getSuperTypes()
          Returns the value of the 'Super Types' reference list.
 EList<JClass> getTypes()
          Returns the value of the 'Types' reference list.
 JCompilationUnit getUnit()
          Returns the value of the 'Unit' container reference.
 boolean isAbstract()
          Returns the value of the 'Abstract' attribute
 boolean isFinal()
          Returns the value of the 'Final' attribute
 boolean isInterface()
          Returns the value of the 'Interface' attribute
 boolean isThrowable()
          Returns the value of the 'Throwable' attribute
 JClass resolveJClass(java.lang.String qualifiedName)
           
 void setAbstract(boolean value)
          Sets the value of the 'Abstract' attribute
 void setArrayType(JClass value)
          Sets the value of the 'Array Type' containment reference
 void setComponentType(JClass value)
          Sets the value of the 'Component Type' container reference
 void setFinal(boolean value)
          Sets the value of the 'Final' attribute
 void setInterface(boolean value)
          Sets the value of the 'Interface' attribute
 void setJavaClass(java.lang.Class<?> value)
          Sets the value of the 'Java Class' attribute
 void setPackage(JPackage value)
          Sets the value of the 'Package' reference
 void setThrowable(boolean value)
          Sets the value of the 'Throwable' attribute
 void setUnit(JCompilationUnit value)
          Sets the value of the 'Unit' container reference
 
Methods inherited from interface org.eclipse.emf.java.JMember
getComment, getContainingType, getVisibility, isStatic, setComment, setContainingType, setStatic, setVisibility
 
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

isAbstract

boolean isAbstract()
Returns the value of the 'Abstract' attribute.

Returns:
the value of the 'Abstract' attribute.
See Also:
setAbstract(boolean), JavaPackage.getJClass_Abstract()

setAbstract

void setAbstract(boolean value)
Sets the value of the 'Abstract' attribute.

Parameters:
value - the new value of the 'Abstract' attribute.
See Also:
isAbstract()

isFinal

boolean isFinal()
Returns the value of the 'Final' attribute.

Returns:
the value of the 'Final' attribute.
See Also:
setFinal(boolean), JavaPackage.getJClass_Final()

setFinal

void setFinal(boolean value)
Sets the value of the 'Final' attribute.

Parameters:
value - the new value of the 'Final' attribute.
See Also:
isFinal()

isInterface

boolean isInterface()
Returns the value of the 'Interface' attribute.

Returns:
the value of the 'Interface' attribute.
See Also:
setInterface(boolean), JavaPackage.getJClass_Interface()

setInterface

void setInterface(boolean value)
Sets the value of the 'Interface' attribute.

Parameters:
value - the new value of the 'Interface' attribute.
See Also:
isInterface()

isThrowable

boolean isThrowable()
Returns the value of the 'Throwable' attribute.

Returns:
the value of the 'Throwable' attribute.
See Also:
setThrowable(boolean), JavaPackage.getJClass_Throwable()

setThrowable

void setThrowable(boolean value)
Sets the value of the 'Throwable' attribute.

Parameters:
value - the new value of the 'Throwable' attribute.
See Also:
isThrowable()

getJavaClass

java.lang.Class<?> getJavaClass()
Returns the value of the 'Java Class' attribute.

Returns:
the value of the 'Java Class' attribute.
See Also:
setJavaClass(Class), JavaPackage.getJClass_JavaClass()

setJavaClass

void setJavaClass(java.lang.Class<?> value)
Sets the value of the 'Java Class' attribute.

Parameters:
value - the new value of the 'Java Class' attribute.
See Also:
getJavaClass()

getFields

EList<JField> getFields()
Returns the value of the 'Fields' reference list. The list contents are of type JField.

Returns:
the value of the 'Fields' reference list.
See Also:
JavaPackage.getJClass_Fields()

getMethods

EList<JMethod> getMethods()
Returns the value of the 'Methods' reference list. The list contents are of type JMethod.

Returns:
the value of the 'Methods' reference list.
See Also:
JavaPackage.getJClass_Methods()

getSuperTypes

EList<JClass> getSuperTypes()
Returns the value of the 'Super Types' reference list. The list contents are of type JClass.

Returns:
the value of the 'Super Types' reference list.
See Also:
JavaPackage.getJClass_SuperTypes()

getAllSuperTypes

EList<JClass> getAllSuperTypes()
Returns the value of the 'All Super Types' reference list. The list contents are of type JClass.

Returns:
the value of the 'All Super Types' reference list.
See Also:
JavaPackage.getJClass_AllSuperTypes()

getMembers

EList<JMember> getMembers()
Returns the value of the 'Members' containment reference list. The list contents are of type JMember. It is bidirectional and its opposite is 'Containing Type'.

Returns:
the value of the 'Members' containment reference list.
See Also:
JavaPackage.getJClass_Members(), JMember.getContainingType()

getComponentType

JClass getComponentType()
Returns the value of the 'Component Type' container reference. It is bidirectional and its opposite is 'Array Type'.

Returns:
the value of the 'Component Type' container reference.
See Also:
setComponentType(JClass), JavaPackage.getJClass_ComponentType(), getArrayType()

setComponentType

void setComponentType(JClass value)
Sets the value of the 'Component Type' container reference.

Parameters:
value - the new value of the 'Component Type' container reference.
See Also:
getComponentType()

getArrayType

JClass getArrayType()
Returns the value of the 'Array Type' containment reference. It is bidirectional and its opposite is 'Component Type'.

Returns:
the value of the 'Array Type' containment reference.
See Also:
setArrayType(JClass), JavaPackage.getJClass_ArrayType(), getComponentType()

setArrayType

void setArrayType(JClass value)
Sets the value of the 'Array Type' containment reference.

Parameters:
value - the new value of the 'Array Type' containment reference.
See Also:
getArrayType()

getUnit

JCompilationUnit getUnit()
Returns the value of the 'Unit' container reference. It is bidirectional and its opposite is 'Types'.

Returns:
the value of the 'Unit' container reference.
See Also:
setUnit(JCompilationUnit), JavaPackage.getJClass_Unit(), JCompilationUnit.getTypes()

setUnit

void setUnit(JCompilationUnit value)
Sets the value of the 'Unit' container reference.

Parameters:
value - the new value of the 'Unit' container reference.
See Also:
getUnit()

getAllMethods

EList<JMethod> getAllMethods()
Returns the value of the 'All Methods' reference list. The list contents are of type JMethod.

Returns:
the value of the 'All Methods' reference list.
See Also:
JavaPackage.getJClass_AllMethods()

getAllFields

EList<JField> getAllFields()
Returns the value of the 'All Fields' reference list. The list contents are of type JField.

Returns:
the value of the 'All Fields' reference list.
See Also:
JavaPackage.getJClass_AllFields()

getPackage

JPackage getPackage()
Returns the value of the 'Package' reference. It is bidirectional and its opposite is 'Types'.

Returns:
the value of the 'Package' reference.
See Also:
setPackage(JPackage), JavaPackage.getJClass_Package(), JPackage.getTypes()

setPackage

void setPackage(JPackage value)
Sets the value of the 'Package' reference.

Parameters:
value - the new value of the 'Package' reference.
See Also:
getPackage()

getTypes

EList<JClass> getTypes()
Returns the value of the 'Types' reference list. The list contents are of type JClass.

Returns:
the value of the 'Types' reference list.
See Also:
JavaPackage.getJClass_Types()

getAllTypes

EList<JClass> getAllTypes()
Returns the value of the 'All Types' reference list. The list contents are of type JClass.

Returns:
the value of the 'All Types' reference list.
See Also:
JavaPackage.getJClass_AllTypes()

resolveJClass

JClass resolveJClass(java.lang.String qualifiedName)

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