| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| OrderedFieldSpecification |
|
| 1.0;1 |
| 1 | /* | |
| 2 | * To change this template, choose Tools | Templates | |
| 3 | * and open the template in the editor. | |
| 4 | */ | |
| 5 | ||
| 6 | package org.galagosearch.tupleflow.typebuilder; | |
| 7 | ||
| 8 | /** | |
| 9 | * | |
| 10 | * @author trevor | |
| 11 | */ | |
| 12 | public class OrderedFieldSpecification { | |
| 13 | 4 | public OrderedFieldSpecification(Direction direction, String name) { |
| 14 | 4 | this.direction = direction; |
| 15 | 4 | this.name = name; |
| 16 | 4 | } |
| 17 | ||
| 18 | public String getName() { | |
| 19 | 0 | return name; |
| 20 | } | |
| 21 | ||
| 22 | public Direction getDirection() { | |
| 23 | 0 | return direction; |
| 24 | } | |
| 25 | ||
| 26 | protected Direction direction; | |
| 27 | protected String name; | |
| 28 | } |