src/main/java/de/unixwork/uwproj/OptionValue.java

changeset 40
b42bfc9e9983
parent 0
38775db5fdf5
child 41
75ee588d5d9e
equal deleted inserted replaced
39:3ca85da78515 40:b42bfc9e9983
1 /*
2 * To change this license header, choose License Headers in Project Properties.
3 * To change this template file, choose Tools | Templates
4 * and open the template in the editor.
5 */
6 package de.unixwork.uwproj; 1 package de.unixwork.uwproj;
7 2
8 import java.util.List; 3 import java.util.List;
9 import java.util.LinkedList;
10 4
11 /**
12 *
13 * @author olaf
14 */
15 public class OptionValue { 5 public class OptionValue {
16 Option option; 6 Option option;
17 7
18 String value; 8 String value;
19 9
50 public String getMake() { 40 public String getMake() {
51 return targetData.getMake(); 41 return targetData.getMake();
52 } 42 }
53 43
54 public boolean hasMake() { 44 public boolean hasMake() {
55 return targetData.getMake().trim().length() > 0; 45 return !targetData.getMake().trim().isEmpty();
56 } 46 }
57 } 47 }

mercurial