Page tree

You are viewing documentation for Structure Server and Data Center version 5.6 and patch releases. For other versions, see Version Index or Structure Cloud.

Skip to end of metadata
Go to start of metadata

1. Minor Java API Release

There are a few API additions coming with this release. The changes are backwards-compatible, so any code using API 16.x should work fine.

Jira Version

New API Version



See Structure API Versions for full version information and downloads.

2. Compatible Changes in the Java API

2.1. Memo Item Type

With the introduction of memo items in Structure 5.4, we are adding a new constant to the public API: CoreItemType.MEMO contains the module key for the memo item type.

Memo items were called "notes" during development, but we decided to rename them to avoid confusion with the Note column. The constant CoreItemTypes.NOTE, added in the previous API version, has therefore been deprecated and shouldn't be used.

2.2. New Methods in TrailItemSet

We have added two new methods to the TrailItemSet class:

  • fromValues() is a static factory method that lets you combine the trails from a collection of AttributeValues into a TrailItemSet;
  • expand(TrailItemSet) produces a set that contains all items from the receiver and the argument sets.