All Downloads are FREE. Search and download functionalities are using the official Maven repository.

templates.attributes.stg Maven / Gradle / Ivy

There is a newer version: 1.6.2
Show newest version

attrDecl(type, name, value) ::=
<<   private  ;>>


init(v) ::= " = "


propertyDecl(name) ::=
<<   public static final String PROPERTY_ = "";>>


attrGet(name, type) ::= <<
   public  get()
   {
      return ;
   }
>>


attrSet(class, name, type, useEquals) ::=
<<
   public  set( value)
   {
      if ()
      {
          oldValue = this.;
         this. = value;
         firePropertyChange("", oldValue, value);
      }
      return this;
   }
>>


simpleAttrSet(class, name, type) ::=
<<
   public  set( value)
   {
      this. = value;
      return this;
   }
>>



condition(name, type, useEquals) ::=
<%
value == null ? this. != null : ! value.equals(this.)

value != this.

%>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy