Version 7 to Version 8 Upgrade - Type method changes
The following methods have changed from Version 7 to Version 8.
| Type | Version 7 | Version 8 |
|---|---|---|
| Assert | assertEventuallyTrue | Assert#assertEventualTrue |
| Base64 | decodeLong | Base64#decodeInt |
| Base64 | encodeLong | Base64#encodeInt |
| CloudResourceFields | withDefaults | CloudResourceFields#withDefaultConfig |
| ContentType | isJs | ContentType#isJavaScript |
| ContentType | isPy | ContentType#isPython |
| ContentType | js | ContentType#javaScript |
| ContentType | py | ContentType#python |
| DateTime | now() | DateTime#nowWithMillis |
| DateTime | nowWithoutZone() | DateTime#nowWithMillisNoZone |
| DateTime | make(int, int, int, int, int) | DateTime#fromMinute |
| DateTime | make(int, int, int, int, int, int) | DateTime#fromSecond |
| DateTime | make(int, int, int, int, int, int, int) | DateTime#fromMillis |
| DateTime | make(int, int, int, int, int, int, int, int) | DateTime#fromMillis |
| DateTime | make(long int) | DateTime#fromMillis |
| DateTime | make(long int, int) | DateTime#fromMillis |
| DateTime | make(long int, null) | DateTime#fromMillisNoZone |
| DateTime | make(string) | DateTime#fromString |
| DateTime | parse(string) | DateTime#fromString |
| DateTime | deserialize(string) | DateTime#fromString |
| DateTime | deserialize(string, string) | DateTime#fromString |
| DateTime | serialize() | DateTime#toString |
| DateTime | parse(string, string) | DateTime#parseLocal |
| DateTime | withoutZone(long int) | DateTime#fromMillisNoZone |
| DateTime | getDate() | DateTime#dayOfMonth |
| DateTime | getDayOfMonth() | DateTime#dayOfMonth |
| DateTime | getDayOfWeek() | DateTime#dayOfWeek |
| DateTime | getDayOfYear() | DateTime#dayOfYear |
| DateTime | getDaysInMonth() | DateTime#daysInCurrentMonth |
| DateTime | getDaysInMonth(int, int) | DateTime#daysInMonth |
| DateTime | getFullYear() | DateTime#year |
| DateTime | getHourOfDay() | DateTime#hourOfDay |
| DateTime | getHours() | DateTime#hourOfDay |
| DateTime | getMillis() | DateTime#millis |
| DateTime | getMillisOfDay() | DateTime#millisOfDay |
| DateTime | getMillisOfSecond() | DateTime#millisOfSecond |
| DateTime | getMilliseconds() | DateTime#millisOfSecond |
| DateTime | getMinuteOfDay() | DateTime#minuteOfDay |
| DateTime | getMinuteOfHour() | DateTime#minuteOfHour |
| DateTime | getMinutes() | DateTime#minuteOfHour |
| DateTime | getMonth() | DateTime#monthOfYear |
| DateTime | getMonthOfYear() | DateTime#monthOfYear |
| DateTime | getSecondOfDay() | DateTime#secondOfDay |
| DateTime | getSecondOfMinute() | DateTime#secondOfMinute |
| DateTime | getSeconds() | DateTime#secondOfMinute |
| DateTime | getTime() | DateTime#millis |
| DateTime | getTimezoneOffset() | DateTime#zoneOffsetMinutes |
| DateTime | getUTCDate() | DateTime#withoutZone().dayOfMonth |
| DateTime | getUTCFullYear() | DateTime#withoutZone().year |
| DateTime | getUTCHours() | DateTime#withoutZone().hourOfDay |
| DateTime | getUTCMilliseconds() | DateTime#withoutZone().millisOfSecond |
| DateTime | getUTCMinutes() | DateTime#withoutZone().minuteOfHour |
| DateTime | getUTCMonth() | DateTime#withoutZone().monthOfYear |
| DateTime | getUTCSeconds() | DateTime#withoutZone().secondOfMinute |
| DateTime | getYear() | DateTime#year |
| DateTime | getYearOfCentury() | DateTime#yearOfCentury |
| DateTime | getNanosOfSecond() | DateTime#nanosOfSecond |
| DateTime | getNanosOfDay() | DateTime#nanosOfDay |
| DateTime | getZoneOffsetMillis() | DateTime#zoneOffsetMillis |
| DateTime | getZoneOffsetMinutes() | DateTime#zoneOffsetMinutes |
| DateTime | isEqualNow() | DateTime#isEqual |
| DateTime | toISO8601() | DateTime#toString |
| DateTime | toISOString() | DateTime#toString |
| DateTime | toJSONString() | DateTime#toString |
| DateTime | toString() | DateTime#toString |
| DateTime | toString(string) | DateTime#format |
| DateTime | toUTCString() | DateTime#toString |
| DateTime | withZoneOffsetMinutes(int) | DateTime#withZoneOffset |
| DateTime | withZoneOffsetMinutesRetainFields(int) | DateTime#withZoneOffsetRetainFields |
| DateTime | plus | DateTime#plusMillis |
| DateTime | minus | DateTime#minusMillis |
| DateTime | getZone() | DateTime#zone |
| DateTime | clone() | DateTime#clone |
| Dimension | getConversionFactor | Dimension#conversionFactor |
| Dimension | create | Dimension#fromValue |
| Dimension | equals | Dimension#equals_ |
| Dimension | getUnit | Dimension#safeUnit |
| Dimension | asNumber | Dimension#value |
| Dimension | compareTo(Dimension) | Dimension#compare |
| Dimension | asDouble | Dimension#value |
| FetchSpec | withId | FetchSpec#withIdFilter |
| FetchSpec | withIds | FetchSpec#withIdsFilter |
| FetchSpec | withIdRange | FetchSpec#withIdRangeFilter |
| FieldType | isAllowEmptyString() | FieldType#valueType().allowsEmpty() |
| FieldType | isTimeseriesField | FieldType#isTimeseries |
| FunctionType | arguments | FunctionType#params |
| Hash | hashInt | Hash#hashInt32 |
| Hash | hashLong | Hash#hashInt |
| Hash | name | Hash#algorithm |
| Hash | sum | Hash#hashBinary |
| Hash | sumHex | Hash#hashHex |
| Hash | sumString | Hash#hashString |
| Hash | sumContent | Hash#hashContent |
| Interval | fromString(string) | Interval#standardize |
| MethodType | argumentCount | MethodType#paramCount |
| Obj | withPostDefaults | Obj#withDefaults |
| Obj | fields | Obj#fieldValues |
| Obj | fieldAtPath | Obj#fieldValueAtPath |
| Obj | fieldsAtPath | Obj#fieldValuesAtPath |
| PrimitiveType | values | PrimitiveType#all |
| ReferenceType | isVarRef | ReferenceType#isVarReference |
| ReferenceType | unboxType | ReferenceType#unboxValueType |
| ReferenceType | typeName | ReferenceType#name |
| Str | isVoid | Str#isEmpty |
| Str | isNotVoid | Str#isNotEmpty |
| TestRunner | asGroup | TestRunner#asRole |
| Type | isCassandraType | Type#meta().isDatastoreKv |
| Type | bindDynamic | Type#meta().bindVar |
| Type | myReferenceType | Type#meta().referenceType |
| Type | genericVarBinding | Type#meta().varBinding |
| Type | isBoxedPrimitive | Type#meta().isBoxedPrimitiveType |
| Type | isAnonymous | Type#meta().isAnonymous |
| Type | mixin | Type#meta().mixin |
| Type | baseType | Type#meta().baseType |
| Type | typeName | Type#name |
| Type | putFieldType | Type#meta().withFieldType |
| Type | remixAliases | Type#meta().remixAliases |
| Type | allRemixPackages | Type#meta().allRemixPackages |
| Type | prototypeName | Type#meta().prototypeName |
| Type | qualifiedName | Type#meta().qname |
| Type | hasExtensions | Type#meta().hasAnnotations |
| Type | hasAnnotations | Type#meta().hasAnnotations |
| Type | annotationValue | Type#meta().annotationValue |
| Type | hasAnnotation | Type#meta().hasAnnotation |
| Type | isAnnotation | Type#meta().isAnnotation |
| Type | variables | Type#meta().vars |
| Type | mixins | Type#meta().declaredMixins |
| Type | isExtendable | Type#meta().isExtendable |
| Type | isExtension | Type#meta().isExtension |
| Type | rootType | Type#meta().rootType |
| Type | deepMixins | Type#meta().mixins |
| Type | fieldType | Type#meta().fieldType |
| Type | lookupSerField | Type#meta().serFieldType |
| Type | fieldTypes | Type#meta().fieldTypes |
| Type | dataFieldTypes | Type#meta().dataFieldTypes |
| Type | putFieldTypes | Type#meta().withFieldTypes |
| Type | hasFieldInitializers | Type#meta().hasFieldDefaults |
| Type | hasFieldCollections | Type#meta().hasChildCollection |
| Type | valueType | Type#meta().valueType |
| Type | traverseType | Type#meta().traverseType |
| Type | unboxType | Type#meta().unboxPrimitiveType |
| Type | isA | Type#meta().isA |
| Type | isParametric | Type#meta().isGeneric |
| Type | bindings | Type#meta().varBindings |
| Type | hasDynamicBindings | Type#meta().hasVarBindings |
| Type | dynamicPrototype | Type#meta().prototype |
| Type | isPersistable | Type#meta().isPersistable |
| Type | isEntity | Type#meta().isEntity |
| Type | isNotPersistable | Type#meta().isNotPersistable |
| Type | isAbstract | Type#meta().isAbstract |
| Type | isPrivate | Type#meta().isPrivate |
| Type | hasSourceCode | Type#meta().hasSourceCode |
| Type | sourceCode | Type#meta().sourceCode |
| Type | fieldTypeDeclaredOn | Type#meta().fieldTypeFirstDeclaredOn |
| Type | fieldTypeImplementedOn | Type#meta().fieldTypeDeclaredOn |
| Type | bindVariables | Type#meta().bindVars |
| Type | mergeSourceCode | Type#meta().sourceCode |
| Type | isIncluded | Type#meta().isNotPersistable |
| Type | extensions | Type#meta().annotations |
| ValueType | isCoercible | ValueType#isAssignableFrom |
| ValueType | asArryType | ValueType#asArrayType |
| ValueType | isAnyString | ValueType#isString |
| ValueType | isAnyDate | ValueType#isDateTime |
| ValueType | isAnyFunction | ValueType#isFunction |
| ValueType | coerceValue | ValueType#convertValue |
| ValueType | valueFromString | ValueType#fromString |
| ValueType | isCoercibleValue | ValueType#isA |
| ValueType | isAnyNumber | ValueType#isNumber |
| ValueType | isConvertible | ValueType#isAssignableFrom |
| ValueType | serializeValue | ValueType#valueToString |
| ValueType | isAnyCollection | ValueType#isCollection |
| ValueType | isRefArry | ValueType#isRefArray |
| ValueType | isRefMapp | ValueType#isRefMap |
| ValueType | isInt | ValueType#isInt32 |
| ValueType | isLongInt | ValueType#isInt |
| ValueType | isAnyBinary | ValueType#isBinary |