本文整理了Java中org.eclipse.ocl.Query
类的一些代码示例,展示了Query
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query
类的具体详情如下:
包路径:org.eclipse.ocl.Query
类名称:Query
[英]An OCL constraint or query. The query is validated for correctness when it is created. The query can subsequently be evaluated on a single object or on multiple objects in one operation.
See the Environment class for a description of the generic type parameters of this class.
[中]OCL约束或查询。创建查询时,将验证其正确性。查询随后可以在一个操作中对单个对象或多个对象求值。
有关该类的泛型类型参数的描述,请参见Environment类。
代码示例来源:origin: org.eclipse.emf.cdo.server/ocl
protected Object evaluate(Query<EClassifier, EClass, EObject> query, EObject object)
{
if (object == null)
{
return query.evaluate();
}
return query.evaluate(object);
}
代码示例来源:origin: org.eclipse.ocl/ecore
public boolean check(List<?> objects) {
return delegate.check(objects);
}
代码示例来源:origin: org.eclipse.ocl/ecore
public EvaluationEnvironment<EClassifier, ?, ?, EClass, EObject> getEvaluationEnvironment() {
return delegate.getEvaluationEnvironment();
}
代码示例来源:origin: org.eclipse.ocl/ecore
public String queryText() {
return delegate.queryText();
}
代码示例来源:origin: org.eclipse.ocl/ecore
public EClassifier resultType() {
return delegate.resultType();
}
代码示例来源:origin: org.eclipse.ocl/uml
public OCLExpression getExpression() {
return (OCLExpression) delegate.getExpression();
}
代码示例来源:origin: org.eclipse.ocl/uml
public <T> List<T> select(List<T> objects) {
return delegate.select(objects);
}
代码示例来源:origin: org.eclipse.ocl/ecore
public <T> List<T> reject(List<T> objects) {
return delegate.reject(objects);
}
代码示例来源:origin: org.eclipse.ocl/ecore
public Map<EClass, ? extends Set<? extends EObject>> getExtentMap() {
return delegate.getExtentMap();
}
代码示例来源:origin: org.eclipse.ocl/uml
public String queryText() {
return delegate.queryText();
}
代码示例来源:origin: org.eclipse.ocl/uml
public Classifier resultType() {
return delegate.resultType();
}
代码示例来源:origin: org.eclipse.ocl/ecore
public OCLExpression getExpression() {
return (OCLExpression) delegate.getExpression();
}
代码示例来源:origin: org.eclipse.ocl/ecore
public <T> List<T> select(List<T> objects) {
return delegate.select(objects);
}
代码示例来源:origin: org.eclipse.ocl/uml
public <T> List<T> reject(List<T> objects) {
return delegate.reject(objects);
}
代码示例来源:origin: org.eclipse.ocl/uml
public Map<Class, ? extends Set<? extends EObject>> getExtentMap() {
return delegate.getExtentMap();
}
代码示例来源:origin: org.eclipse.ocl/ecore
public Object evaluate() {
return delegate.evaluate();
}
代码示例来源:origin: org.eclipse.ocl/ecore
public boolean check(Object obj) {
return delegate.check(obj);
}
代码示例来源:origin: org.eclipse.ocl/uml
public EvaluationEnvironment<Classifier, ?, ?, Class, EObject> getEvaluationEnvironment() {
return delegate.getEvaluationEnvironment();
}
代码示例来源:origin: org.eclipse.ocl/uml
public List<?> evaluate(List<?> objects) {
return delegate.evaluate(objects);
}
代码示例来源:origin: org.eclipse.ocl/uml
public boolean check(Object obj) {
return delegate.check(obj);
}
内容来源于网络,如有侵权,请联系作者删除!