]> git.aero2k.de Git - tmp/jakarta-migration.git/blob
6974535d4341fff9031074e05e95ecb972285128
[tmp/jakarta-migration.git] /
1 package org.collectionspace.services.id.part;
2
3 // @TODO Largely unimplemented at present.
4 // Corresponding test class has not yet been created.
5
6 public class AlphabeticSequenceIDPart extends SequenceIDPart {
7
8     // @TODO Externalize character sequences to their own class.
9     private AlphabeticSequenceIDPart.AlphabeticCharSequence charsInSequence;
10     private IDPartOutputFormatter formatter;
11     private IDPartValidator validator;
12     private char initialValue;
13
14     public AlphabeticSequenceIDPart () {
15     }
16
17     @Override
18     public IDPartOutputFormatter getOutputFormatter () {
19         return formatter;
20     }
21
22     public void setOutputFormatter (IDPartOutputFormatter formatter) {
23         this.formatter = formatter;
24     }
25
26     @Override
27     public IDPartValidator getValidator() {
28         return this.validator;
29     }
30
31     @Override
32     public boolean hasCurrentID() {
33         throw new UnsupportedOperationException("Not supported yet.");
34     }
35
36     @Override
37     public String getCurrentID() {
38         throw new UnsupportedOperationException("Not supported yet.");
39     }
40
41     @Override
42     public void setCurrentID(String s) {
43         throw new UnsupportedOperationException("Not supported yet.");
44     }
45
46     @Override
47     public String getInitialID() {
48         throw new UnsupportedOperationException("Not supported yet.");
49     }
50
51     @Override
52     public String nextID() {
53         throw new UnsupportedOperationException("Not supported yet.");
54     }
55
56     public char getInitialValue () {
57         return initialValue;
58     }
59
60     public void setInitialValue (char val) {
61         this.initialValue = val;
62     }
63
64     public AlphabeticSequenceIDPart.AlphabeticCharSequence getCharsInSequence () {
65         return charsInSequence;
66     }
67
68     public void setCharsInSequence
69         (AlphabeticSequenceIDPart.AlphabeticCharSequence val) {
70         this.charsInSequence = val;
71     }
72
73     public enum AlphabeticCharSequence {
74         ;
75     }
76
77 }
78