use of org.apache.commons.lang.builder.ToStringBuilder in project openhab1-addons by openhab.
the class ThermostatSummaryRequest method toString.
@Override
public String toString() {
final ToStringBuilder builder = createToStringBuilder();
builder.appendSuper(super.toString());
builder.append("accessToken", this.accessToken);
builder.append("selection", this.selection);
return builder.toString();
}
use of org.apache.commons.lang.builder.ToStringBuilder in project openhab1-addons by openhab.
the class AstroConfig method toString.
@Override
public String toString() {
String intervallMessage = (interval == 0 ? "disabled" : String.valueOf(interval));
TimeZone tz = TimeZone.getDefault();
StringBuilder tzInfo = new StringBuilder();
tzInfo.append(tz.getID());
tzInfo.append(" (").append(tz.getDisplayName(false, TimeZone.SHORT)).append(" ").append(new SimpleDateFormat("Z").format(Calendar.getInstance().getTime()));
tzInfo.append(")");
return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("latitude", latitude).append("longitude", longitude).append("interval", intervallMessage).append("systemTimezone", tzInfo.toString()).append("daylightSavings", Calendar.getInstance().get(Calendar.DST_OFFSET) != 0).toString();
}
use of org.apache.commons.lang.builder.ToStringBuilder in project openhab1-addons by openhab.
the class RefreshTokenRequest method toString.
@Override
public String toString() {
final ToStringBuilder builder = createToStringBuilder();
builder.appendSuper(super.toString());
builder.append("clientId", this.clientId);
builder.append("clientSecret", this.clientSecret);
builder.append("refreshToken", this.refreshToken);
return builder.toString();
}
use of org.apache.commons.lang.builder.ToStringBuilder in project openhab1-addons by openhab.
the class GetHomeDataRequest method toString.
@Override
public String toString() {
final ToStringBuilder builder = createToStringBuilder();
builder.appendSuper(super.toString());
builder.append("accessToken", this.accessToken);
return builder.toString();
}
use of org.apache.commons.lang.builder.ToStringBuilder in project openhab1-addons by openhab.
the class GetHomeDataResponse method toString.
@Override
public String toString() {
final ToStringBuilder builder = createToStringBuilder();
builder.appendSuper(super.toString());
builder.append("body", this.body);
builder.append("status", this.status);
builder.append("time_exec", this.time_exec);
builder.append("time_server", this.time_server);
return builder.toString();
}
Aggregations