|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents the base interface for all OCL elements.
Method Summary | |
void |
accept(IOclModelVisitor visitor)
Accepts the given visitor. |
void |
addChild(IOclElement elem)
Adds an OCL element as a child. |
IOclElement[] |
getChildren()
Returns the children that are also OCL elements. |
int |
getColumn()
|
int |
getEndColumn()
|
int |
getEndLine()
|
int |
getLength()
|
int |
getLine()
|
java.lang.String |
getName()
|
IOclElement |
getParent()
|
boolean |
hasChildren()
Returns whether the OCL element has children. |
void |
setColumn(int column)
|
void |
setEndColumn(int endColumn)
|
void |
setEndLine(int endLine)
|
void |
setLine(int line)
|
Method Detail |
public java.lang.String getName()
public void setLine(int line)
line
- The start line to set.public int getLine()
public void setColumn(int column)
column
- The start column to set.public int getColumn()
public void setEndLine(int endLine)
endLine
- The end line to set.public int getEndLine()
public void setEndColumn(int endColumn)
endColumn
- The end column to set.public int getEndColumn()
public int getLength()
public IOclElement getParent()
public void addChild(IOclElement elem)
(Composite design pattern)
public boolean hasChildren()
(Composite design pattern)
public IOclElement[] getChildren()
(Composite design pattern)
public void accept(IOclModelVisitor visitor)
visit
method is called with this
delta if applicable. If the visitor returns true
,
the children are also visited.
(Visitor design pattern)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |