Skip to content

Overview

Concepts and Principles

Development

Overview

IDEs

API Explorer

Releases

Release Notes

TORO Integrate

Coder Studio

Coder Cloud

Bug Reports

Search

Gloop Model Icon

Model References

Model References in Gloop are a way of reusing your models in services and other models by extending them or using them as properties. It's very similar to how JavaBeans in Java are extended (using the extends keyword). Models not only reference other models, they can also contain models as properties that are themselves Model References or in Java terms, having a variable that's of another JavaBean type.

If you need a model to reference (extend) another one, modify the Reference property in the Properties view's table when the model is open in the active editor. If the Properties view is showing something other than the model, press the Show Gloop Model Properties button in the Gloop Model Editor toolbar.

Coder Studio setting a Model Reference

Allow Extra Properties?

Gloop Models have a property that's called Allow Extra Properties. This is basically the same as the Java final keyword. Read more about this property here.

To learn more about editing Gloop Models, you can read about the Gloop Model Editor here.