Skip to content

Home

Introduction

Development

IDEs

Services

Service manager

API Explorer

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's toolbar.

Setting a model reference

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.