Class SUte

java.lang.Object
simpleorm.utils.SUte

public class SUte extends Object
Miscellaneous static utility methods that have nowhere else to live.
  • Constructor Details

    • SUte

      public SUte()
  • Method Details

    • inBitSet

      public static boolean inBitSet(long bitSet, long element, long setType)
      Depricated! ` True if element is in bitSet. Throws exception if lower short does not match the setType indicating mismatched flags.
    • cleanClass

      public static String cleanClass(Class<?> cls)
      Pretty class names without package prefixes etc.
    • arrayToString

      public static String arrayToString(Object array)
      Makes a string out of elements of an array for tracing. If array is not an object just toString it.
    • simpleormVersion

      public static String simpleormVersion()
      The SimpleORM Version. Major.Minor. Guaranteed upward compatibility within all major versions (except 00.*!). Guaranteed that these will sort properly, hence leading zeros.

      Is not a constant because Java will copy the constant into any dependent modules !!!

    • trimStringEquals

      public static boolean trimStringEquals(Object firstObj, Object secondObj)
    • allFieldsString

      @Deprecated public static String allFieldsString(SRecordMeta<?> meta)
      Deprecated.
      See SFieldReference.toLongerString