Package simpleorm.utils
Class SUte
- java.lang.Object
-
- simpleorm.utils.SUte
-
public class SUte extends java.lang.Object
Miscellaneous static utility methods that have nowhere else to live.
-
-
Constructor Summary
Constructors Constructor Description SUte()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static java.lang.String
allFieldsString(SRecordMeta<?> meta)
Deprecated.See SFieldReference.toLongerStringstatic java.lang.String
arrayToString(java.lang.Object array)
Makes a string out of elements of an array for tracing.static java.lang.String
cleanClass(java.lang.Class<?> cls)
Pretty class names without package prefixes etc.static boolean
inBitSet(long bitSet, long element, long setType)
Depricated! ` True ifelement
is inbitSet
.static java.lang.String
simpleormVersion()
The SimpleORM Version.static boolean
trimStringEquals(java.lang.Object firstObj, java.lang.Object secondObj)
-
-
-
Method Detail
-
inBitSet
public static boolean inBitSet(long bitSet, long element, long setType)
Depricated! ` True ifelement
is inbitSet
. Throws exception if lower short does not match thesetType
indicating mismatched flags.
-
cleanClass
public static java.lang.String cleanClass(java.lang.Class<?> cls)
Pretty class names without package prefixes etc.
-
arrayToString
public static java.lang.String arrayToString(java.lang.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 java.lang.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(java.lang.Object firstObj, java.lang.Object secondObj)
-
allFieldsString
@Deprecated public static java.lang.String allFieldsString(SRecordMeta<?> meta)
Deprecated.See SFieldReference.toLongerString
-
-