OpenEdge.Core.Assertion.AssertObject
- Last Updated: January 15, 2026
- 15 minute read
- OpenEdge
- Version 12.8
- Documentation
|
Method Summary
| Options | Name | Purpose | |
|---|---|---|---|
| Equals (Object, Object) |
/** Asserts that value 'a' equals 'b'. @param Object the known value @param Object the comparison value @throws AssertionFailedError Error thrown if values differ */
|
||
| HasDeterminateExtent (Object[]) |
/** Asserts that the Object extent is set. @param Object the value to check @throws AssertionFailedError Error thrown if Object extent is not set */
|
||
| HasDeterminateExtent (Object[], character) |
/** Asserts that the Object extent is set. @param Object the value to check @param character the identifying name for the AssertionFailedError @throws AssertionFailedError Error thrown if Object extent is not set */
|
||
| IsAbstract (Class) |
/** Asserts that the given type is an abstract.
@param Progress.Lang.Class the type to check
@throws AssertionFailedError Error thrown if the type is not abstract*/
|
||
| IsFinal (Class) |
/** Asserts that the given type is final.
@param Progress.Lang.Class the type to check
@throws AssertionFailedError Error thrown if the type is final*/
|
||
| IsIndeterminateArray (Object[]) |
/** Asserts that the Object extent is not set. @param Object the value to check @throws AssertionFailedError Error thrown if Object extent is set */
|
||
| IsIndeterminateArray (Object[], character) |
/** Asserts that the Object extent is not set. @param Object the value to check @param character the identifying name for the AssertionFailedError @throws AssertionFailedError Error thrown if Object extent is set */
|
||
| IsInterface (Class) |
/** Asserts that the given type is an interface.
@param Progress.Lang.Class the type to check
@throws AssertionFailedError Error thrown if the type is not an interface*/
|
||
| IsNull (Object) |
/** Asserts that the Object is unknown. @param Object the value to check @throws AssertionFailedError Error thrown if Object is not unknown */
|
||
| IsNull (Object, character) |
/** Asserts that the Object is unknown. @param Object the value to check @param character the identifying name for the AssertionFailedError @throws AssertionFailedError Error thrown if Object is is unknown */
|
||
| IsNull (Object[]) |
/** Asserts that the Object array is unknown. @param Object the value to check @throws AssertionFailedError Error thrown if Object is not unknown */
|
||
| IsNull (Object[], character) |
/** Asserts that the Object array is unknown. @param Object the value to check @param character the identifying name for the AssertionFailedError @throws AssertionFailedError Error thrown if Object is not unknown */
|
||
| IsSerializable (Object) |
/* Asserts that the given object can be serialized.
@param Obejct The object to check. */
|
||
| IsType (handle, DataTypeEnum) |
/** Asserts that a handle is valid and of a particular datatype
@param handle The handle being checked.
@param DataTypeEnum The type the handle/variable being checked should be.
@throws AssertionFailedError Error thrown if the handle is not valid or not of a particular datatype*/
|
||
| IsType (handle, DataTypeEnum, character) |
/** Asserts that a handle is valid and of a particular datatype
@param handle The handle being checked.
@param DataTypeEnum The type the handle/variable being checked should be.
@param character The name of the variable/handle.
@throws AssertionFailedError Error thrown if the handle is not valid or not of a particular datatype.*/
|
||
| IsType (Object, Class) |
/** Asserts that a object is valid and of a particular type
@param Progress.Lang.Object The Object being checked.
@param Progress.Lang.Class The type the being checked.
@throws AssertionFailedError Error thrown if the object is not valid and not of particular type.*/
|
||
| IsType (Object[], Class) |
/** Asserts that a object extent is valid and of a particular type for each array item
@param Progress.Lang.Object The Object being checked.
@param Progress.Lang.Class The type the being checked.
@throws AssertionFailedError Error thrown if the object array is not valid any of the array
item is not of particular type.*/
|
||
| IsUnknown (Object) |
/** Asserts that the Object is unknown. @param Object the value to check @throws AssertionFailedError Error thrown if Object is not unknown */
|
||
| IsUnknown (Object, character) |
/** Asserts that the Object is unknown. @param Object the value to check @param character the identifying name for the AssertionFailedError @throws AssertionFailedError Error thrown if Object is is unknown */
|
||
| IsUnknown (Object[]) |
/** Asserts that the Object array is unknown. @param Object the value to check @throws AssertionFailedError Error thrown if Object is not unknown */
|
||
| IsUnknown (Object[], character) |
/** Asserts that the Object array is unknown. @param Object the value to check @param character the identifying name for the AssertionFailedError @throws AssertionFailedError Error thrown if Object is not unknown */
|
||
| NotAbstract (Class) |
/** Asserts that the given type is not an abstract.
@param Progress.Lang.Class the type to check
@throws AssertionFailedError Error thrown if the type is abstract*/
|
||
| NotEqual (Object, Object) |
/** Asserts that value 'a' differs from 'b'. @param Object the known value @param Object the comparison value @throws AssertionFailedError Error thrown if values are equal */
|
||
| NotFinal (Class) |
/** Asserts that the given type is not final.
@param Progress.Lang.Class the type to check
@throws AssertionFailedError Error thrown if the type is final*/
|
||
| NotInterface (Class) |
/** Asserts that the given type is not an interface.
@param Progress.Lang.Class the type to check
@throws AssertionFailedError Error thrown if the type is an interface*/
|
||
| NotNull (Object) |
/** Asserts that the Object is not unknown. @param Object the value to check @throws AssertionFailedError Error thrown if Object is unknown */
|
||
| NotNull (Object, character) |
/** Asserts that the Object is not unknown. @param Object the value to check @param character the identifying name for the AssertionFailedError @throws AssertionFailedError Error thrown if Object is unknown */
|
||
| NotNull (Object[]) |
/** Asserts that the Object array is not unknown. @param Object the value to check @throws AssertionFailedError Error thrown if Object is unknown */
|
||
| NotNull (Object[], character) |
/** Asserts that the Object array is not unknown. @param Object the value to check @param character the identifying name for the AssertionFailedError @throws AssertionFailedError Error thrown if Object is unknown */
|
||
| NotNullOrEmpty (ICollection) |
/** Asserts that the ICollection is not unknown or empty. @param ICollection the value to check @throws AssertionFailedError Error thrown if ICollection is unknown */
|
||
| NotNullOrEmpty (ICollection, character) |
/** Asserts that the ICollection is not unknown or empty. @param ICollection the value to check @param character the identifying name for the AssertionFailedError @throws AssertionFailedError Error thrown if ICollection is unknown */
|
||
| NotNullOrEmpty (ICollection[]) |
/** Asserts that the ICollection array is not unknown or empty. @param ICollection the value to check @throws AssertionFailedError Error thrown if ICollection is unknown */
|
||
| NotNullOrEmpty (ICollection[], character) |
/** Asserts that the ICollection array is not unknown or empty. @param ICollection the value to check @param character the identifying name for the AssertionFailedError @throws AssertionFailedError Error thrown if ICollection is unknown */
|
||
| NotNullOrEmpty (IMap) |
/** Asserts that the IMap is not unknown or empty. @param IMap the value to check @throws AssertionFailedError Error thrown if IMap is unknown */
|
||
| NotNullOrEmpty (IMap, character) |
/** Asserts that the IMap is not unknown or empty. @param IMap the value to check @param character the identifying name for the AssertionFailedError @throws AssertionFailedError Error thrown if IMap is unknown */
|
||
| NotNullOrEmpty (IMap[]) |
/** Asserts that the IMap array is not unknown or empty. @param IMap the value to check @throws AssertionFailedError Error thrown if IMap is unknown */
|
||
| NotNullOrEmpty (IMap[], character) |
/** Asserts that the IMap array is not unknown or empty. @param IMap the value to check @param character the identifying name for the AssertionFailedError @throws AssertionFailedError Error thrown if IMap is unknown */
|
||
| NotNullOrEmpty (Object) |
/** Asserts that the Object is not unknown or empty. @param Object the value to check @throws AssertionFailedError Error thrown if Object is unknown */
|
||
| NotNullOrEmpty (Object, character) |
/** Asserts that the Object is not unknown or empty. @param Object the value to check @param character the identifying name for the AssertionFailedError @throws AssertionFailedError Error thrown if Object is unknown */
|
||
| NotNullOrEmpty (Object[]) |
/** Asserts that the Object array is not unknown or empty. @param Object the value to check @throws AssertionFailedError Error thrown if Object is unknown */
|
||
| NotNullOrEmpty (Object[], character) |
/** Asserts that the Object array is not unknown or empty. @param Object the value to check @param character the identifying name for the AssertionFailedError @throws AssertionFailedError Error thrown if Object is unknown */
|
||
| NotSerializable (Object) |
/* Asserts that the given object cannot be serialized.
@param Progress.Lang.Object The object to check. */
|
||
| NotType (handle, DataTypeEnum) |
/** Asserts that a handle is valid and not of a particular datatype
@param handle The handle being checked.
@param DataTypeEnum The type the handle/variable being checked should be.
@throws AssertionFailedError Error thrown if the handle is not valid or of a particular datatype*/
|
||
| NotType (handle, DataTypeEnum, character) |
/** Asserts that a handle is valid and not of a particular datatype
@param handle The handle being checked.
@param DataTypeEnum The type the handle/variable being checked should be.
@param character the identifying name for the AssertionFailedError.
@throws AssertionFailedError Error thrown if the handle is not valid or of a particular datatype*/
|
||
| NotType (Object, Class) |
/** Asserts that a object is valid and not of a particular type
@param Progress.Lang.Object The Object being checked.
@param Progress.Lang.Class The type the being checked.
@throws AssertionFailedError Error thrown if the object is not valid and of particular type.*/
|
||
| NotUnknown (Object) |
/** Asserts that the Object is not unknown. @param Object the value to check @throws AssertionFailedError Error thrown if Object is unknown */
|
||
| NotUnknown (Object, character) |
/** Asserts that the Object is not unknown. @param Object the value to check @param character the identifying name for the AssertionFailedError @throws AssertionFailedError Error thrown if Object is unknown */
|
||
| NotUnknown (Object[]) |
/** Asserts that the Object array is not unknown. @param Object the value to check @throws AssertionFailedError Error thrown if Object is unknown */
|
||
| NotUnknown (Object[], character) |
/** Asserts that the Object array is not unknown. @param Object the value to check @param character the identifying name for the AssertionFailedError @throws AssertionFailedError Error thrown if Object is unknown */
|
||
| NotUnknownOrEmpty (ICollection) |
/** Asserts that the ICollection is not unknown or empty. @param ICollection the value to check @throws AssertionFailedError Error thrown if ICollection is unknown */
|
||
| NotUnknownOrEmpty (ICollection, character) |
/** Asserts that the ICollection is not unknown or empty. @param ICollection the value to check @param character the identifying name for the AssertionFailedError @throws AssertionFailedError Error thrown if ICollection is unknown */
|
||
| NotUnknownOrEmpty (IMap) |
/** Asserts that the IMap is not unknown or empty. @param IMap the value to check @throws AssertionFailedError Error thrown if IMap is unknown */
|
||
| NotUnknownOrEmpty (IMap, character) |
/** Asserts that the IMap is not unknown or empty. @param IMap the value to check @param character the identifying name for the AssertionFailedError @throws AssertionFailedError Error thrown if IMap is unknown */
|
||
| NotUnknownOrEmpty (Object) |
/** Asserts that the Object is not unknown or empty. @param Object the value to check @throws AssertionFailedError Error thrown if Object is unknown */
|
||
| NotUnknownOrEmpty (Object, character) |
/** Asserts that the Object is not unknown or empty. @param Object the value to check @param character the identifying name for the AssertionFailedError @throws AssertionFailedError Error thrown if Object is unknown */
|
||
| NotUnknownOrEmpty (Object[]) |
/** Asserts that the Object array is not unknown or empty. @param Object the value to check @throws AssertionFailedError Error thrown if Object is unknown */
|
||
| NotUnknownOrEmpty (Object[], character) |
/** Asserts that the Object array is not unknown or empty. @param Object the value to check @param character the identifying name for the AssertionFailedError @throws AssertionFailedError Error thrown if Object is unknown */
|
Method Detail
Equals (Object, Object)
|
||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
HasDeterminateExtent (Object[])
|
||||||||||||||||||||||
HasDeterminateExtent (Object[], character)
|
||||||||||||||||||||||
IsAbstract (Class)
|
||||||||||||||||||||||
IsFinal (Class)
|
||||||||||||||||||||||
IsIndeterminateArray (Object[])
|
||||||||||||||||||||||
IsIndeterminateArray (Object[], character)
|
||||||||||||||||||||||
IsInterface (Class)
|
||||||||||||||||||||||
IsNull (Object)
|
||||||||||||||||||||||
IsNull (Object, character)
|
||||||||||||||||||||||
IsNull (Object[])
|
||||||||||||||||||||||
IsNull (Object[], character)
|
||||||||||||||||||||||
IsSerializable (Object)
|
||||||||||||||||||||||
IsType (handle, DataTypeEnum)
|
||||||||||||||||||||||
IsType (handle, DataTypeEnum, character)
|
||||||||||||||||||||||
IsType (Object, Class)
|
||||||||||||||||||||||
IsType (Object[], Class)
|
||||||||||||||||||||||
IsUnknown (Object)
|
||||||||||||||||||||||
IsUnknown (Object, character)
|
||||||||||||||||||||||
IsUnknown (Object[])
|
||||||||||||||||||||||
IsUnknown (Object[], character)
|
||||||||||||||||||||||
NotAbstract (Class)
|
||||||||||||||||||||||
NotEqual (Object, Object)
|
||||||||||||||||||||||
NotFinal (Class)
|
||||||||||||||||||||||
NotInterface (Class)
|
||||||||||||||||||||||
NotNull (Object)
|
||||||||||||||||||||||
NotNull (Object, character)
|
||||||||||||||||||||||
NotNull (Object[])
|
||||||||||||||||||||||
NotNull (Object[], character)
|
||||||||||||||||||||||
NotNullOrEmpty (ICollection)
|
||||||||||||||||||||||
NotNullOrEmpty (ICollection, character)
|
||||||||||||||||||||||
NotNullOrEmpty (ICollection[])
|
||||||||||||||||||||||
NotNullOrEmpty (ICollection[], character)
|
||||||||||||||||||||||
NotNullOrEmpty (IMap)
|
||||||||||||||||||||||
NotNullOrEmpty (IMap, character)
|
||||||||||||||||||||||
NotNullOrEmpty (IMap[])
|
||||||||||||||||||||||
NotNullOrEmpty (IMap[], character)
|
||||||||||||||||||||||
NotNullOrEmpty (Object)
|
||||||||||||||||||||||
NotNullOrEmpty (Object, character)
|
||||||||||||||||||||||
NotNullOrEmpty (Object[])
|
||||||||||||||||||||||
NotNullOrEmpty (Object[], character)
|
||||||||||||||||||||||
NotSerializable (Object)
|
||||||||||||||||||||||
NotType (handle, DataTypeEnum)
|
||||||||||||||||||||||
NotType (handle, DataTypeEnum, character)
|
||||||||||||||||||||||
NotType (Object, Class)
|
||||||||||||||||||||||
NotUnknown (Object)
|
||||||||||||||||||||||
NotUnknown (Object, character)
|
||||||||||||||||||||||
NotUnknown (Object[])
|
||||||||||||||||||||||
NotUnknown (Object[], character)
|
||||||||||||||||||||||
NotUnknownOrEmpty (ICollection)
|
||||||||||||||||||||||
NotUnknownOrEmpty (ICollection, character)
|
||||||||||||||||||||||
NotUnknownOrEmpty (IMap)
|
||||||||||||||||||||||
NotUnknownOrEmpty (IMap, character)
|
||||||||||||||||||||||
NotUnknownOrEmpty (Object)
|
||||||||||||||||||||||
NotUnknownOrEmpty (Object, character)
|
||||||||||||||||||||||
NotUnknownOrEmpty (Object[])
|
||||||||||||||||||||||
NotUnknownOrEmpty (Object[], character)
|
||||||||||||||||||||||