Skip to content
Snippets Groups Projects
tokenComponent.mustache 539 B
  public {{parentTypeName}} {{parentTypeName}}.set{{name}}({{javaType}} value) {
    set{{internalName}}(value);
    {{#DependencyDefinitions}}
    for ({{targetParentTypeName}} target : get{{internalRelationPrefix}}TargetList()) {
      {{#targetEndpointDefinition}}
      if (target.{{updateMethod}}()) {
        target.{{writeMethod}}();
      }
      {{/targetEndpointDefinition}}
    }
    {{/DependencyDefinitions}}
    return this;
  }

  public {{javaType}} {{parentTypeName}}.get{{name}}() {
    return get{{internalName}}();
  }