|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ocl.examples.domain.values.util.ValuesUtil
org.eclipse.ocl.examples.domain.library.AbstractFeature
org.eclipse.ocl.examples.domain.library.AbstractOperation
org.eclipse.ocl.examples.domain.library.AbstractTernaryOperation
org.eclipse.ocl.examples.domain.library.AbstractUntypedTernaryOperation
org.eclipse.ocl.examples.domain.library.AbstractSimpleTernaryOperation
org.eclipse.ocl.examples.library.string.StringSubstringOperation
public class StringSubstringOperation
StringSubstringOperation realises the String::substring() library operation.
Field Summary | |
---|---|
static StringSubstringOperation |
INSTANCE
|
Fields inherited from class org.eclipse.ocl.examples.domain.values.util.ValuesUtil |
---|
EMPTY_BAG, EMPTY_SET, FALSE_VALUE, INTEGER_MAX_VALUE, INTEGER_MIN_VALUE, INVALID_VALUE, LONG_MAX_VALUE, LONG_MIN_VALUE, NULL_STRING, NULL_VALUE, ONE_VALUE, TRUE_VALUE, UNLIMITED_VALUE, ZERO_VALUE |
Constructor Summary | |
---|---|
StringSubstringOperation()
|
Method Summary | |
---|---|
java.lang.String |
evaluate(java.lang.Object sourceValue,
java.lang.Object firstArgumentValue,
java.lang.Object secondArgumentValue)
|
Methods inherited from class org.eclipse.ocl.examples.domain.library.AbstractSimpleTernaryOperation |
---|
dispatch, evaluate, evaluate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
@NonNull public static final StringSubstringOperation INSTANCE
Constructor Detail |
---|
public StringSubstringOperation()
Method Detail |
---|
@NonNull public java.lang.String evaluate(@Nullable java.lang.Object sourceValue, @Nullable java.lang.Object firstArgumentValue, @Nullable java.lang.Object secondArgumentValue)
evaluate
in interface LibrarySimpleTernaryOperation
evaluate
in class AbstractSimpleTernaryOperation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |