Interface EntityModelServiceLocal


public interface EntityModelServiceLocal
Read-only structural metadata of the model assigned to the current authorized project session.
  • Method Details

    • getEntityModel

      EntityModelDescription getEntityModel()
      Returns a detached model description. Tenant, project and model are resolved from SessionApi. Labels/descriptions are source text: the SDK does not provide localized model labels. Connector configuration, method calls, test cases and content instances are excluded.
      Throws:
      EntityModelServiceException - for missing authorization, unavailable source or invalid model
    • getEntity

      Optional<EntityDescription> getEntity(String entityIdentifier)
      Returns one entity of the session's model; an unknown identifier returns Optional.empty().
    • getEntities

      EntityModelPage getEntities(int offset, int limit)
      Returns entities sorted by identifier. Offset is nonnegative; limit is 1..1000. Each call reads current configuration; separate pages are not a transactional snapshot.