class Thing {

    public String getExpandedObjectType(String objectType) {
        if (objectType == null || objectContext == null) {
            return null;
        }

        String[] parts = objectType.split(":", 2);
        String prefix;
        String suffix;
        if (parts.length == 2) {
            prefix = parts[0];
            suffix = parts[1];
        }
        else {
            prefix = null;
            suffix = objectType;
        }

        String url = objectContext.getUrl(prefix);

        if (url != null) {
            return url + suffix;
        }
        else {
            return objectType;
        }
    }

    @SuppressWarnings("squid:S107")  Thing(String objectType,
          Context objectContext,
          String id,
          String title,
          Map<String, String> titles,
          String description,
          Map<String, String> descriptions,
          Map<String, P> properties,
          Map<String, A> actions,
          Map<String, E> events,
          List<Form> forms,
          List<String> security,
          Map<String, SecurityScheme> securityDefinitions,
          String base);
    public  Thing();

}