1 package org.collectionspace.services.id.part;
3 // @TODO Largely unimplemented at present.
4 // Corresponding test class has not yet been created.
6 public class AlphabeticSequenceIDPart extends SequenceIDPart {
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;
14 public AlphabeticSequenceIDPart () {
18 public IDPartOutputFormatter getOutputFormatter () {
22 public void setOutputFormatter (IDPartOutputFormatter formatter) {
23 this.formatter = formatter;
27 public IDPartValidator getValidator() {
28 return this.validator;
32 public boolean hasCurrentID() {
33 throw new UnsupportedOperationException("Not supported yet.");
37 public String getCurrentID() {
38 throw new UnsupportedOperationException("Not supported yet.");
42 public void setCurrentID(String s) {
43 throw new UnsupportedOperationException("Not supported yet.");
47 public String getInitialID() {
48 throw new UnsupportedOperationException("Not supported yet.");
52 public String nextID() {
53 throw new UnsupportedOperationException("Not supported yet.");
56 public char getInitialValue () {
60 public void setInitialValue (char val) {
61 this.initialValue = val;
64 public AlphabeticSequenceIDPart.AlphabeticCharSequence getCharsInSequence () {
65 return charsInSequence;
68 public void setCharsInSequence
69 (AlphabeticSequenceIDPart.AlphabeticCharSequence val) {
70 this.charsInSequence = val;
73 public enum AlphabeticCharSequence {