Nil Pattern

Nil implementations that do absolutely nothing — useful for testing and placeholders.

Overview

Nil OsidObjects are fully compliant. They are useful as safe no-op defaults in tests, as stubs for optional services, and as starting points and placeholders before real implementations exist.

Javadoc Reference

jamocha Javadoc

Unknowns

This is a placeholder TBD OsidObject. Everything about it is either disabled or unknown.

Static Factory Method Pattern

static UnknownOsidObject create()

Returns OsidObject.

Unresolved

This is a placeholder OsidObject reference. An OsidObject referencing another OsidObject may be later resolved by another OSID Provider. An Unknown reference can mark the placeholder with the referenced Id.

Static Factory Method Pattern

static UnresolvedOsidObject create()

Returns OsidObject.

Null OsidManagers

This is a placeholder OsidManager. They do nothing.

Constructor

new OsidManager()

Returns OsidManager.