public class CommentImpl extends ElementImpl implements Comment
The following features are implemented:
Modifier and Type | Method and Description |
---|---|
<R> R |
accept(Visitor<R> visitor)
Accept a visit from a visitor and return the result of a call to the derived type-specific visitXXX in the visitor.
|
NotificationChain |
basicSetOwningElement(Element newOwningElement,
NotificationChain msgs) |
NotificationChain |
eBasicRemoveFromContainerFeature(NotificationChain msgs) |
Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
NotificationChain |
eInverseAdd(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
Object newValue) |
void |
eUnset(int featureID) |
List<Element> |
getAnnotatedElements() |
String |
getBody() |
Element |
getOwningElement() |
void |
setBody(String newBody) |
void |
setOwningElement(Element newOwningElement) |
String |
toString() |
allOwnedElements, eInvoke, getAnnotatingComments, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValue
getESObject, getETarget, getImage, getTarget, getText, setESObject, setTarget, unloaded
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
allOwnedElements, getAnnotatingComments, getESObject, getETarget, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValue
public List<Element> getAnnotatedElements()
getAnnotatedElements
in interface Comment
PivotPackage.getComment_AnnotatedElements()
,
Element.getAnnotatingComments()
public String getBody()
getBody
in interface Comment
Comment.setBody(String)
,
PivotPackage.getComment_Body()
public void setBody(String newBody)
setBody
in interface Comment
newBody
- the new value of the 'Body' attribute.Comment.getBody()
public Element getOwningElement()
getOwningElement
in interface Comment
Comment.setOwningElement(Element)
,
PivotPackage.getComment_OwningElement()
,
Element.getOwnedComments()
public NotificationChain basicSetOwningElement(Element newOwningElement, NotificationChain msgs)
public void setOwningElement(Element newOwningElement)
setOwningElement
in interface Comment
newOwningElement
- the new value of the 'Owning Element' container reference.Comment.getOwningElement()
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseAdd
in class ElementImpl
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class ElementImpl
public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in class ElementImpl
public void eSet(int featureID, Object newValue)
eSet
in class ElementImpl
public void eUnset(int featureID)
eUnset
in class ElementImpl
public boolean eIsSet(int featureID)
eIsSet
in class ElementImpl
public String toString()
toString
in class ElementImpl
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.