-
Notifications
You must be signed in to change notification settings - Fork 14
/
SelectionImpl.java
41 lines (32 loc) · 978 Bytes
/
SelectionImpl.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package cz.cvut.kbss.jopa.query.criteria;
import cz.cvut.kbss.jopa.model.metamodel.Attribute;
import cz.cvut.kbss.jopa.model.query.criteria.Selection;
import java.util.List;
public class SelectionImpl<T> implements Selection<T> {
protected final Attribute<T, ?> attribute;
// protected final Class<T> selectAll;
public SelectionImpl(Attribute<T, ?> attribute) {
this.attribute = attribute;
}
// public <X> SelectionImpl(Attribute<T, X> attribute) {
// this.attribute = attribute;
// this.selectAll = null;
// }
//
// public <X> SelectionImpl(Class<T> selectAll) {
// this.attribute = null;
// this.selectAll = selectAll;
// }
@Override
public boolean CompoundedSelection() {
return false;
}
@Override
public List<Selection<?>> getCompoundedSelectionItems() {
return null;
}
@Override
public Selection<T> alias(String name) {
return null;
}
}