templates.attributes.stg Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fulib Show documentation
Show all versions of fulib Show documentation
Fulib is a Java-code generating library.
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