当前位置: 首页>>代码示例>>Java>>正文


Java ToStringCreator.append方法代码示例

本文整理汇总了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();
}
 
开发者ID:qoswork,项目名称:opennmszh,代码行数:22,代码来源:OnmsNode.java

示例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();
}
 
开发者ID:Jasig,项目名称:openregistry,代码行数:17,代码来源:JpaReconciliationCriteriaImpl.java

示例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();
}
 
开发者ID:vishwaabhinav,项目名称:OpenNMS,代码行数:22,代码来源:OnmsNode.java

示例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();
}
 
开发者ID:bmoliveira,项目名称:snake-yaml,代码行数:8,代码来源:Bean2.java

示例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();
}
 
开发者ID:vikrammane23,项目名称:https-github.com-g0t4-jenkins2-course-spring-boot,代码行数:8,代码来源:Gemstone.java

示例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();
}
 
开发者ID:qoswork,项目名称:opennmszh,代码行数:9,代码来源:OnmsApplication.java

示例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();
}
 
开发者ID:Jasig,项目名称:openregistry,代码行数:11,代码来源:MutableSearchCriteriaImpl.java

示例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();
}
 
开发者ID:bmoliveira,项目名称:snake-yaml,代码行数:7,代码来源:BeanHolder.java


注:本文中的org.springframework.core.style.ToStringCreator.append方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。