org.eclipse.xtext.common.types
Interface JvmDeclaredType

All Superinterfaces:
org.eclipse.emf.ecore.EObject, JvmAnnotationTarget, JvmComponentType, JvmIdentifiableElement, JvmMember, JvmType, org.eclipse.emf.common.notify.Notifier
All Known Subinterfaces:
JvmAnnotationType, JvmEnumerationType, JvmGenericType
All Known Implementing Classes:
JvmAnnotationTypeImpl, JvmDeclaredTypeImpl, JvmDeclaredTypeImplCustom, JvmEnumerationTypeImpl, JvmEnumerationTypeImplCustom, JvmGenericTypeImpl, JvmGenericTypeImplCustom

public interface JvmDeclaredType
extends JvmMember, JvmComponentType

A representation of the model object 'Jvm Declared Type'.

The following features are supported:

See Also:
TypesPackage.getJvmDeclaredType()
EMF generated code
EMF model element
abstract="true"

Method Summary
 java.lang.Iterable<JvmField> getDeclaredFields()
           
 java.lang.Iterable<JvmOperation> getDeclaredOperations()
           
 org.eclipse.emf.common.util.EList<JvmMember> getMembers()
          Returns the value of the 'Members' containment reference list.
 java.lang.String getPackageName()
          Returns the value of the 'Package Name' attribute
 org.eclipse.emf.common.util.EList<JvmTypeReference> getSuperTypes()
          Returns the value of the 'Super Types' containment reference list.
 boolean isAbstract()
          Returns the value of the 'Abstract' attribute
 boolean isFinal()
          Returns the value of the 'Final' attribute
 boolean isStatic()
          Returns the value of the 'Static' attribute
 void setAbstract(boolean value)
          Sets the value of the 'Abstract' attribute
 void setFinal(boolean value)
          Sets the value of the 'Final' attribute
 void setPackageName(java.lang.String value)
          Sets the value of the 'Package Name' attribute
 void setStatic(boolean value)
          Sets the value of the 'Static' attribute
 
Methods inherited from interface org.eclipse.xtext.common.types.JvmMember
getDeclaringType, getIdentifier, getSimpleName, getVisibility, internalSetIdentifier, setDeclaringType, setSimpleName, setVisibility
 
Methods inherited from interface org.eclipse.xtext.common.types.JvmAnnotationTarget
getAnnotations
 
Methods inherited from interface org.eclipse.xtext.common.types.JvmComponentType
getArrayType, setArrayType
 
Methods inherited from interface org.eclipse.xtext.common.types.JvmIdentifiableElement
getQualifiedName, getQualifiedName
 
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

getSuperTypes

org.eclipse.emf.common.util.EList<JvmTypeReference> getSuperTypes()
Returns the value of the 'Super Types' containment reference list. The list contents are of type JvmTypeReference.

If the meaning of the 'Super Types' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Super Types' containment reference list.
See Also:
TypesPackage.getJvmDeclaredType_SuperTypes()
EMF generated code
EMF model element
containment="true" resolveProxies="true"

getMembers

org.eclipse.emf.common.util.EList<JvmMember> getMembers()
Returns the value of the 'Members' containment reference list. The list contents are of type JvmMember. It is bidirectional and its opposite is 'Declaring Type'.

If the meaning of the 'Members' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Members' containment reference list.
See Also:
TypesPackage.getJvmDeclaredType_Members(), JvmMember.getDeclaringType()
EMF generated code
EMF model element
opposite="declaringType" containment="true" resolveProxies="true"

isAbstract

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

If the meaning of the 'Abstract' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Abstract' attribute.
See Also:
setAbstract(boolean), TypesPackage.getJvmDeclaredType_Abstract()
EMF generated code
EMF model element

setAbstract

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

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

isStatic

boolean isStatic()
Returns the value of the 'Static' attribute.

If the meaning of the 'Static' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Static' attribute.
See Also:
setStatic(boolean), TypesPackage.getJvmDeclaredType_Static()
EMF generated code
EMF model element

setStatic

void setStatic(boolean value)
Sets the value of the 'Static' attribute.

Parameters:
value - the new value of the 'Static' attribute.
See Also:
isStatic()
EMF generated code

isFinal

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

If the meaning of the 'Final' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Final' attribute.
See Also:
setFinal(boolean), TypesPackage.getJvmDeclaredType_Final()
EMF generated code
EMF model element

setFinal

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

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

getPackageName

java.lang.String getPackageName()
Returns the value of the 'Package Name' attribute.

If the meaning of the 'Package Name' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Package Name' attribute.
See Also:
setPackageName(String), TypesPackage.getJvmDeclaredType_PackageName()
EMF generated code
EMF model element

setPackageName

void setPackageName(java.lang.String value)
Sets the value of the 'Package Name' attribute.

Parameters:
value - the new value of the 'Package Name' attribute.
See Also:
getPackageName()
EMF generated code

getDeclaredOperations

java.lang.Iterable<JvmOperation> getDeclaredOperations()

EMF generated code
EMF model element
kind="operation" dataType="org.eclipse.xtext.common.types.Iterable" required="true"

getDeclaredFields

java.lang.Iterable<JvmField> getDeclaredFields()

EMF generated code
EMF model element
kind="operation" dataType="org.eclipse.xtext.common.types.Iterable" required="true"