org.openxava.calculators
Class UUIDCalculator
java.lang.Object
org.openxava.calculators.UUIDCalculator
- All Implemented Interfaces:
- java.io.Serializable, ICalculator, IModelCalculator
public class UUIDCalculator
- extends java.lang.Object
- implements IModelCalculator
It generate a Universal Unic IDentifier of 32 alphanumeric characters.
- Author:
- Javier Paniza
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UUIDCalculator
public UUIDCalculator()
calculate
public java.lang.Object calculate()
throws java.lang.Exception
- Specified by:
calculate in interface ICalculator
- Throws:
java.lang.Exception
hexFormat
public java.lang.String hexFormat(long n)
hexFormat
public java.lang.String hexFormat(byte[] number)
setModel
public void setModel(java.lang.Object object)
- Description copied from interface:
IModelCalculator
- The model object that contains the member that uses the calculator.
- Specified by:
setModel in interface IModelCalculator
isLowerCase
public boolean isLowerCase()
setLowerCase
public void setLowerCase(boolean b)