View Javadoc

1   /*
2    * Copyright 2007-2011 smartics, Kronseder & Reiner GmbH
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *     http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package de.smartics.exceptions.id;
17  
18  import de.smartics.exceptions.core.IdFactory;
19  
20  /**
21   * The factory that created {@link de.smartics.exceptions.core.ExceptionId}s
22   * that provide UUIDs.
23   *
24   * @author <a href="mailto:robert.reiner@smartics.de">Robert Reiner</a>
25   * @version $Revision$
26   */
27  public class UuidFactory implements IdFactory
28  {
29    // ********************************* Fields *********************************
30  
31    // --- constants ------------------------------------------------------------
32  
33    // --- members --------------------------------------------------------------
34  
35    // ****************************** Initializer *******************************
36  
37    // ****************************** Constructors ******************************
38  
39    // ****************************** Inner Classes *****************************
40  
41    // ********************************* Methods ********************************
42  
43    // --- init -----------------------------------------------------------------
44  
45    // --- get&set --------------------------------------------------------------
46  
47    // --- business -------------------------------------------------------------
48  
49    /**
50     * {@inheritDoc}
51     *
52     * @see de.smartics.exceptions.core.IdFactory#createId()
53     */
54    public UuidExceptionId createId()
55    {
56      return new UuidExceptionId();
57    }
58  
59    // --- object basics --------------------------------------------------------
60  }