Skip to content

Method: isMinorOption()

1: package generator.option;
2:
3: /**
4: *
5: * @author Muri
6: *
7: */
8: public class MinorOption extends AbstractOption {
9:         /**
10:          * Minor.
11:          */
12:         private final transient Integer minor;
13:
14:         /**
15:          *
16:          * @param minor
17:          * Integer
18:          */
19:         public MinorOption(final Integer minor) {
20:                 super();
21:                 this.minor = minor;
22:         }
23:
24:         /**
25:          * @return the minor
26:          */
27:         public Integer getMinor() {
28:                 return this.minor;
29:         }
30:
31:         /**
32:          *
33:          * @return true
34:          */
35:         @Override
36:         public boolean isMinorOption() {
37:                 return true;
38:         }
39:
40: }