Package simpleorm.utils
Class SUte
java.lang.Object
simpleorm.utils.SUte
Miscellaneous static utility methods that have nowhere else to live.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
allFieldsString
(SRecordMeta<?> meta) Deprecated.See SFieldReference.toLongerStringstatic String
arrayToString
(Object array) Makes a string out of elements of an array for tracing.static String
cleanClass
(Class<?> cls) Pretty class names without package prefixes etc.static boolean
inBitSet
(long bitSet, long element, long setType) Depricated! ` True ifelement
is inbitSet
.static String
The SimpleORM Version.static boolean
trimStringEquals
(Object firstObj, Object secondObj)
-
Constructor Details
-
SUte
public SUte()
-
-
Method Details
-
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
Pretty class names without package prefixes etc. -
arrayToString
Makes a string out of elements of an array for tracing. If array is not an object just toString it. -
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
-
allFieldsString
Deprecated.See SFieldReference.toLongerString
-