本文整理汇总了Java中org.springframework.core.style.ToStringCreator.append方法的典型用法代码示例。如果您正苦于以下问题:Java ToStringCreator.append方法的具体用法?Java ToStringCreator.append怎么用?Java ToStringCreator.append使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.springframework.core.style.ToStringCreator
的用法示例。
在下文中一共展示了ToStringCreator.append方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: toString
import org.springframework.core.style.ToStringCreator; //导入方法依赖的package包/类
/**
* <p>toString</p>
*
* @return a {@link java.lang.String} object.
*/
public String toString() {
ToStringCreator retval = new ToStringCreator(this);
retval.append("id", m_id);
retval.append("label", m_label);
retval.append("parent.id", getParent() == null ? null : getParent().getId());
retval.append("createTime", m_createTime);
// retval.append("distPoller", m_distPoller);
retval.append("sysObjectId", m_sysObjectId);
retval.append("sysName", m_sysName);
retval.append("sysDescription", m_sysDescription);
retval.append("sysLocation", m_sysLocation);
retval.append("sysContact", m_sysContact);
retval.append("type", m_type);
retval.append("operatingSystem", m_operatingSystem);
return retval.toString();
}
示例2: toString
import org.springframework.core.style.ToStringCreator; //导入方法依赖的package包/类
public String toString() {
final ToStringCreator toStringCreator = new ToStringCreator(this);
toStringCreator.append("person", this.sorPerson);
toStringCreator.append("emailAddress", this.emailAddress);
toStringCreator.append("phoneCountryCode", this.phoneCountryCode);
toStringCreator.append("phoneAreaCode", this.phoneAreaCode);
toStringCreator.append("phoneNumber", this.phoneNumber);
toStringCreator.append("phoneExtension", this.phoneExtension);
toStringCreator.append("addressLine1", this.addressLine1);
toStringCreator.append("addressLine2", this.addressLine2);
toStringCreator.append("city", this.city);
toStringCreator.append("region", this.region);
toStringCreator.append("postalCode", this.postalCode);
return toStringCreator.toString();
}
示例3: toString
import org.springframework.core.style.ToStringCreator; //导入方法依赖的package包/类
/**
* <p>toString</p>
*
* @return a {@link java.lang.String} object.
*/
public String toString() {
ToStringCreator retval = new ToStringCreator(this);
retval.append("id", m_id);
retval.append("label", m_label);
retval.append("parent.id", getParent() == null ? "null" : getParent().getId());
retval.append("createTime", m_createTime);
// retval.append("distPoller", m_distPoller);
retval.append("sysObjectId", m_sysObjectId);
retval.append("sysName", m_sysName);
retval.append("sysDescription", m_sysDescription);
retval.append("sysLocation", m_sysLocation);
retval.append("sysContact", m_sysContact);
retval.append("type", m_type);
retval.append("operatingSystem", m_operatingSystem);
return retval.toString();
}
示例4: toString
import org.springframework.core.style.ToStringCreator; //导入方法依赖的package包/类
@Override
public String toString() {
ToStringCreator builder = new ToStringCreator(this);
builder.append(this.strVal);
builder.append(this.intVal);
return builder.toString();
}
示例5: toString
import org.springframework.core.style.ToStringCreator; //导入方法依赖的package包/类
@Override
public String toString() {
ToStringCreator creator = new ToStringCreator(this);
creator.append("id", this.id);
creator.append("name", this.name);
return creator.toString();
}
示例6: toString
import org.springframework.core.style.ToStringCreator; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override
public String toString() {
ToStringCreator creator = new ToStringCreator(this);
creator.append("id", getId());
creator.append("name", getName());
return creator.toString();
}
示例7: toString
import org.springframework.core.style.ToStringCreator; //导入方法依赖的package包/类
public String toString() {
final ToStringCreator toStringCreator = new ToStringCreator(this);
toStringCreator.append("identifierValue", this.identifierValue);
toStringCreator.append("dateOfBirth", this.dateOfBirth);
toStringCreator.append("familyName", this.familyName);
toStringCreator.append("givenName", this.givenName);
toStringCreator.append("name", this.name);
toStringCreator.append("name", this.identifierType);
return toStringCreator.toString();
}
示例8: toString
import org.springframework.core.style.ToStringCreator; //导入方法依赖的package包/类
@Override
public String toString() {
ToStringCreator builder = new ToStringCreator(this);
builder.append(this.bean);
return builder.toString();
}