List of usage examples for org.apache.commons.lang.builder ReflectionToStringBuilder toString
public static String toString(Object object)
Builds a toString
value using the default ToStringStyle
through reflection.
From source file:be.nille.generator.data.db.ColumnMetaData.java
@Override public String toString() { return ReflectionToStringBuilder.toString(this); }
From source file:com.google.cloud.trace.v1.TraceServiceSmokeTest.java
public static void executeNoCatch(String projectId) throws Exception { try (TraceServiceClient client = TraceServiceClient.create()) { String projectId2 = projectId; ListTracesPagedResponse pagedResponse = client.listTraces(projectId2); System.out.println(ReflectionToStringBuilder.toString(pagedResponse)); }/*from www.jav a2 s. c om*/ }
From source file:BuilderBean.java
public String toString() { return ReflectionToStringBuilder.toString(this); }
From source file:com.google.cloud.pubsub.v1.TopicAdminSmokeTest.java
public static void executeNoCatch(String projectId) throws Exception { try (TopicAdminClient client = TopicAdminClient.create()) { ProjectName project = ProjectName.create(projectId); ListTopicsPagedResponse pagedResponse = client.listTopics(project); System.out.println(ReflectionToStringBuilder.toString(pagedResponse)); }// ww w . j a v a2 s .co m }
From source file:com.google.cloud.monitoring.v3.MetricServiceSmokeTest.java
public static void executeNoCatch(String projectId) throws Exception { try (MetricServiceClient client = MetricServiceClient.create()) { ProjectName name = ProjectName.create(projectId); ListMonitoredResourceDescriptorsPagedResponse pagedResponse = client .listMonitoredResourceDescriptors(name); System.out.println(ReflectionToStringBuilder.toString(pagedResponse)); }// w w w . j av a 2s .c o m }
From source file:com.gigiozzz.sjstats.core.SjStatsCore.java
public Map<String, List<CommonStats>> checkStats(List<ServerToCheck> servers) { Map<String, List<CommonStats>> outValue = new HashMap<String, List<CommonStats>>(); logger.debug("map bean config server to check params: {}", ReflectionToStringBuilder.toString(servers)); for (ServerToCheck s : servers) { check(s);//from w ww . j a v a 2 s .c om } return outValue; }
From source file:com.pieframework.model.resources.Resource.java
@Override public String toString() { // TODO Auto-generated method stub ReflectionToStringBuilder.setDefaultStyle(ToStringStyle.MULTI_LINE_STYLE); return ReflectionToStringBuilder.toString(this); }
From source file:ims.vi.common.service.client.StandardReturnMessage.java
@Override public String toString() { // Mainly for debug purpose final String objState = String.format("[ResponseCode=%s][Payload=%s]", ReflectionToStringBuilder.toString(this.responseCode), ReflectionToStringBuilder.toString(this.getPayload())); return objState; }
From source file:com.pieframework.model.system.Service.java
@Override public String toString() { ReflectionToStringBuilder.setDefaultStyle(ToStringStyle.MULTI_LINE_STYLE); return ReflectionToStringBuilder.toString(this); }
From source file:ch.systemsx.cisd.openbis.generic.server.business.bo.common.EntityListingTestUtils.java
public static void assertRecursiveEqual(Object o1, Object o2) { String errMsg = "objects not equal: " + ReflectionToStringBuilder.toString(o1) + " and " + ReflectionToStringBuilder.toString(o2); assertTrue(errMsg, EqualsBuilder.reflectionEquals(o2, o1)); }