Example usage for org.apache.commons.lang3.builder ReflectionToStringBuilder setExcludeFieldNames

List of usage examples for org.apache.commons.lang3.builder ReflectionToStringBuilder setExcludeFieldNames

Introduction

In this page you can find the example usage for org.apache.commons.lang3.builder ReflectionToStringBuilder setExcludeFieldNames.

Prototype

public ReflectionToStringBuilder setExcludeFieldNames(final String... excludeFieldNamesParam) 

Source Link

Document

Sets the field names to exclude.

Usage

From source file:org.tango.server.attribute.AttributeImpl.java

@Override
public String toString() {
    final ReflectionToStringBuilder reflectionToStringBuilder = new ReflectionToStringBuilder(this,
            ToStringStyle.MULTI_LINE_STYLE);
    reflectionToStringBuilder
            .setExcludeFieldNames(new String[] { "readValue", "writeValue", "history", "type" });
    return reflectionToStringBuilder.toString();
}

From source file:org.tango.server.attribute.AttributePropertiesImpl.java

@Override
public String toString() {

    final ReflectionToStringBuilder reflectionToStringBuilder = new ReflectionToStringBuilder(this,
            ToStringStyle.SHORT_PREFIX_STYLE);
    reflectionToStringBuilder.setExcludeFieldNames(new String[] { "eventProp", "alarmExtensions", "extensions",
            "sysExtensions", "minValueDouble", "maxValueDouble", "minAlarmDouble", "maxAlarmDouble",
            "minWarningDouble", "maxWarningDouble", "writableAttrName", "deltaTLong", "deltaValDouble" });
    return reflectionToStringBuilder.toString();
}

From source file:org.tango.server.command.CommandImpl.java

@Override
public String toString() {
    final ReflectionToStringBuilder reflectionToStringBuilder = new ReflectionToStringBuilder(this,
            ToStringStyle.MULTI_LINE_STYLE);
    reflectionToStringBuilder.setExcludeFieldNames(new String[] { "inType", "outType", "history" });
    return reflectionToStringBuilder.toString();
}

From source file:org.tango.server.device.DeviceManager.java

@Override
public String toString() {
    final ReflectionToStringBuilder reflectionToStringBuilder = new ReflectionToStringBuilder(this,
            ToStringStyle.SHORT_PREFIX_STYLE);
    reflectionToStringBuilder.setExcludeFieldNames(new String[] { "device" });
    return reflectionToStringBuilder.toString();
}

From source file:org.vader.ecm.domain.Document.java

@Override
public String toString() {
    final ReflectionToStringBuilder sb = new ReflectionToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE);
    sb.setExcludeFieldNames(EXTERNAL_FIELDS);
    return sb.toString();
}