getset.tpl 273 B

123456789
  1. {{.indent}}{{.decorator}}
  2. {{.indent}}public {{.returnType}} get{{.property}}() {
  3. {{.indent}} return this.{{.tagValue}};
  4. {{.indent}}}
  5. {{.indent}}public void set{{.property}}({{.type}} {{.propertyValue}}) {
  6. {{.indent}} this.{{.tagValue}} = {{.propertyValue}};
  7. {{.indent}}}