public class OCLPatterns extends Object
| Modifier and Type | Field and Description |
|---|---|
(package private) static String |
NAVIGATIONAL_PATH
Matches on the pattern of a navigational path (i.e.
|
(package private) static String |
SCOPE_PATH
Matches on the pattern of a scope path (i.e.
|
| Constructor and Description |
|---|
OCLPatterns() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isAndOrOrExpression(Object expression)
Indicates if this
expression is an and
or or expression (or some.path, and some.path, etc) |
static boolean |
isCollectionOperationCall(Object expression)
Indicates if this
expression is a collection (->) operation call. |
static boolean |
isCollectionOperationResultNavigationalPath(Object expression)
Indicates if this
expression is a collection operation result navigational path
(->someOperation().some.path) |
static boolean |
isNavigationalPath(Object expression)
Indicates if this
expression is a navigational path
(some.path) |
static boolean |
isOperation(Object expression)
Indicates if this
expression is an operation. |
static final String SCOPE_PATH
static final String NAVIGATIONAL_PATH
public OCLPatterns()
public static boolean isOperation(Object expression)
expression is an operation.expression - the expression to match.public static boolean isCollectionOperationCall(Object expression)
expression is a collection (->) operation call.expression - the expression to match.public static boolean isCollectionOperationResultNavigationalPath(Object expression)
expression is a collection operation result navigational path
(->someOperation().some.path)expression - the expression to match.public static boolean isNavigationalPath(Object expression)
expression is a navigational path
(some.path)expression - the expression to match.public static boolean isAndOrOrExpression(Object expression)
expression is an and
or or expression (or some.path, and some.path, etc)expression - the expression to match.Copyright © 2003–2014 AndroMDA.org. All rights reserved.