--- title: "Class" slug: "core-class-value-editor" updated: 2026-04-16T09:56:31Z published: 2026-04-16T09:56:31Z canonical: "docs.lobstersoftware.com/core-class-value-editor" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # Class > [!NOTE] > Resolver – Abstract > > **Purpose:** Returns a Java class object specified by a static selection. > > > [!TIP] > > Tooltip > > > > - **Usage**: The resolver returns the class selected by the parameter. The *input value* is ignored. > > - **Parameter**: The single parameter allows static single selection from a given list of classes. > > - **NOTE:** The string image of the return value is the *fully-qualified* *class name* of the class, which is needed for assignments and comparisons in contexts where the reference to a class is done by string. ![images/download/attachments/128387144/image2023-1-12_10-16-55-version-1-modificationdate-1676010867130-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2023-1-12_10-16-55-version-1-modificationdate-1676010867130-api-v2.png) **IMPORTANT:** All resolvers for [Static values](/v1/docs/en/core-literal-value-resolver) ignore the *input value*. Within a resolver chain (see [Chained resolver](/v1/docs/en/core-chained-resolver)) this prevents the processing of all preceding resolvers (if any). The [Class](/v1/docs/en/core-class-value-editor) resolver returns a Java class object determined by a static selection. It appears by default as a suggestion for value configurations from which a `Class` value is expected. Since the string image of the "Class" (`Class`) is the *fully-qualified class name*, the [Class](/v1/docs/en/core-class-value-editor) resolver can also be used for assignments and comparisons with fields that expect the class name as a string. However, it is not explicitly suggested in such contexts. ## Configuration | The only parameter for the resolver is a [Combobox](/v1/docs/en/fre-combo-box-vo) element that allows a static single selection for a class. Its search function looks for matches between the input text and the following components of the label for classes in the *dropdown*: - Localization for the class name (*resource* `$name` in the class *bundle*),e.g. "Type of packaging" - *fully-qualified class name* of the class (=*Bundle name* in [Localization](/v1/docs/en/core-localization-entry)),e.g. `de.lobster.scm.base.bto.TypeOfPackaging` **IMPORTANT:** As the screenshot on the right shows, the localization does not have to be unique. Therefore, the internal class name (in brackets) should be carefully observed when selecting. | ![images/download/attachments/128387144/image2023-1-12_10-22-44-version-1-modificationdate-1676010867127-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2023-1-12_10-22-44-version-1-modificationdate-1676010867127-api-v2.png) | | --- | --- | **NOTE:** Unlike other resolvers (e.g. [Input object (type safe)](/v1/docs/en/core-root-entity-resolver) and [Create instance](/v1/docs/en/core-create-instance-resolver)), direct input of a class name is not possible in the [Class](/v1/docs/en/core-class-value-editor) resolver. ## Example An association criteria (see [Association criteria](/v1/docs/en/core-association-criteria)) shall be fulfilled if the *input value* is any "entity" that has at least one "Linked entity attribute" of any type (see [Linked entity type](/v1/docs/en/base-linked-entity-type)) that connects to a business object of the "Order" (see [Orders](/v1/docs/en/ord-order)) type. Configuration: | Within an AND [Junction](/v1/docs/en/core-rule-junction), a [Check type](/v1/docs/en/core-check-type-rule) first checks whether the *input value* belongs to the parent class "Entity". Only if this is the case does the linked [Entity property rule](/v1/docs/en/core-entity-property-rule), in conjunction with the negated [Is empty](/v1/docs/en/core-is-empty-matcher) compare type, examine whether the entity in the *input* *value* has a linked entity attribute that refers to a specific "Order": - The [All attributes of one type](/v1/docs/en/core-attributes-resolver) resolver returns a list of all typed attributes of the type "Linked entity attribute", if such attributes exist at all. - The concatenated [Rule list resolver](/v1/docs/en/core-list-rule-resolver) returns the first linked entity attribute that satisfies the following conditions in an AND conjunction, or "no value" (`$null`) if no corresponding attribute exists: - The first [Entity property rule](/v1/docs/en/core-entity-property-rule) checks whether the "linked entity ID" (`linkedEntityId`) contains a value (>0). - The second [Entity property rule](/v1/docs/en/core-entity-property-rule) checks whether the `linkedEntityType` field of the attribute refers to the class "Order" (`Order`). Since a class is defined as a value for the value of this field, the selection of the [Equals](/v1/docs/en/core-equals-matcher) compare type in the [Entity property rule](/v1/docs/en/core-entity-property-rule) during configuration immediately causes the [Class](/v1/docs/en/core-class-value-editor) resolver to appear as a suggestion for the compare value on the right. The class "Order" must then only be selected via a *dropdown* menu. | ![images/download/attachments/128387144/image2023-1-12_10-24-49-version-1-modificationdate-1676010867107-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2023-1-12_10-24-49-version-1-modificationdate-1676010867107-api-v2.png) | | --- | --- |