Class UUIDCalculator

×News: XavaPro 7.7 released - March 11 · Read more
java.lang.Object
org.openxava.calculators.UUIDCalculator
All Implemented Interfaces:
Serializable, ICalculator, IModelCalculator

public class UUIDCalculator extends Object implements IModelCalculator
It generate a Universal Unic IDentifier of 32 alphanumeric characters.

Author:
Javier Paniza
See Also:
  • Constructor Details

    • UUIDCalculator

      public UUIDCalculator()
  • Method Details

    • calculate

      public Object calculate() throws Exception
      Specified by:
      calculate in interface ICalculator
      Throws:
      Exception
    • hexFormat

      public String hexFormat(long n)
    • hexFormat

      public String hexFormat(byte[] number)
    • setModel

      public void setModel(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)