org.eclipse.emf.java
Interface JMember

All Superinterfaces:
EObject, JModelElement, Notifier
All Known Subinterfaces:
JClass, JField, JInitializer, JMethod
All Known Implementing Classes:
JClassImpl, JFieldImpl, JInitializerImpl, JMemberImpl, JMethodImpl

public interface JMember
extends JModelElement

A representation of the model object 'JMember'.

The following features are supported:

See Also:
JavaPackage.getJMember()

Method Summary
 java.lang.String getComment()
          Returns the value of the 'Comment' attribute
 JClass getContainingType()
          Returns the value of the 'Containing Type' container reference.
 JVisibility getVisibility()
          Returns the value of the 'Visibility' attribute.
 boolean isStatic()
          Returns the value of the 'Static' attribute
 void setComment(java.lang.String value)
          Sets the value of the 'Comment' attribute
 void setContainingType(JClass value)
          Sets the value of the 'Containing Type' container reference
 void setStatic(boolean value)
          Sets the value of the 'Static' attribute
 void setVisibility(JVisibility value)
          Sets the value of the 'Visibility' 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

isStatic

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

Returns:
the value of the 'Static' attribute.
See Also:
setStatic(boolean), JavaPackage.getJMember_Static()

setStatic

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

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

getVisibility

JVisibility getVisibility()
Returns the value of the 'Visibility' attribute. The literals are from the enumeration JVisibility.

Returns:
the value of the 'Visibility' attribute.
See Also:
JVisibility, setVisibility(JVisibility), JavaPackage.getJMember_Visibility()

setVisibility

void setVisibility(JVisibility value)
Sets the value of the 'Visibility' attribute.

Parameters:
value - the new value of the 'Visibility' attribute.
See Also:
JVisibility, getVisibility()

getComment

java.lang.String getComment()
Returns the value of the 'Comment' attribute.

Returns:
the value of the 'Comment' attribute.
See Also:
setComment(String), JavaPackage.getJMember_Comment()

setComment

void setComment(java.lang.String value)
Sets the value of the 'Comment' attribute.

Parameters:
value - the new value of the 'Comment' attribute.
See Also:
getComment()

getContainingType

JClass getContainingType()
Returns the value of the 'Containing Type' container reference. It is bidirectional and its opposite is 'Members'.

Returns:
the value of the 'Containing Type' container reference.
See Also:
setContainingType(JClass), JavaPackage.getJMember_ContainingType(), JClass.getMembers()

setContainingType

void setContainingType(JClass value)
Sets the value of the 'Containing Type' container reference.

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

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