Permalink
Browse files

ROO-3046: Use Apache Commons libraries in Roo - use commons-lang ToSt…

…ringBuilder instead of Roo's ToStringCreator and support classes
  • Loading branch information...
1 parent 2366cea commit c6f1c8c13e75136ed3f1ddd34c730c21a6a2e19c Alan Stewart committed Feb 1, 2012
Showing with 552 additions and 1,151 deletions.
  1. +10 −10 ...n-configurable/src/main/java/org/springframework/roo/addon/configurable/ConfigurableMetadata.java
  2. +9 −9 addon-dod/src/main/java/org/springframework/roo/addon/dod/DataOnDemandMetadata.java
  3. +4 −4 addon-email/src/main/java/org/springframework/roo/addon/email/MailProtocol.java
  4. +9 −9 addon-equals/src/main/java/org/springframework/roo/addon/equals/EqualsMetadata.java
  5. +9 −9 addon-finder/src/main/java/org/springframework/roo/addon/finder/FinderMetadata.java
  6. +9 −9 addon-javabean/src/main/java/org/springframework/roo/addon/javabean/JavaBeanMetadata.java
  7. +7 −7 addon-jpa/src/main/java/org/springframework/roo/addon/jpa/JdbcDatabase.java
  8. +5 −5 addon-jpa/src/main/java/org/springframework/roo/addon/jpa/OrmProvider.java
  9. +10 −10 addon-jpa/src/main/java/org/springframework/roo/addon/jpa/activerecord/JpaActiveRecordMetadata.java
  10. +9 −9 ...n-jsf/src/main/java/org/springframework/roo/addon/jsf/application/JsfApplicationBeanMetadata.java
  11. +9 −9 addon-jsf/src/main/java/org/springframework/roo/addon/jsf/converter/JsfConverterMetadata.java
  12. +9 −9 addon-jsf/src/main/java/org/springframework/roo/addon/jsf/managedbean/JsfManagedBeanMetadata.java
  13. +9 −9 addon-json/src/main/java/org/springframework/roo/addon/json/JsonMetadata.java
  14. +9 −9 ...-jpa/src/main/java/org/springframework/roo/addon/layers/repository/jpa/RepositoryJpaMetadata.java
  15. +9 −9 ...ongo/src/main/java/org/springframework/roo/addon/layers/repository/mongo/MongoEntityMetadata.java
  16. +9 −9 .../src/main/java/org/springframework/roo/addon/layers/repository/mongo/RepositoryMongoMetadata.java
  17. +9 −9 ...yers-service/src/main/java/org/springframework/roo/addon/layers/service/ServiceClassMetadata.java
  18. +9 −9 ...-service/src/main/java/org/springframework/roo/addon/layers/service/ServiceInterfaceMetadata.java
  19. +3 −3 addon-logging/src/main/java/org/springframework/roo/addon/logging/LogLevel.java
  20. +5 −5 addon-logging/src/main/java/org/springframework/roo/addon/logging/LoggerPackage.java
  21. +9 −9 addon-op4j/src/main/java/org/springframework/roo/addon/op4j/Op4jMetadata.java
  22. +11 −11 addon-plural/src/main/java/org/springframework/roo/addon/plural/PluralMetadata.java
  23. +9 −9 ...n-property-editor/src/main/java/org/springframework/roo/addon/property/editor/EditorMetadata.java
  24. +4 −4 ...bot-client/src/main/java/org/springframework/roo/addon/roobot/client/AddOnBundleSymbolicName.java
  25. +5 −5 addon-roobot-client/src/main/java/org/springframework/roo/addon/roobot/client/model/Rating.java
  26. +9 −9 ...n-serializable/src/main/java/org/springframework/roo/addon/serializable/SerializableMetadata.java
  27. +6 −6 addon-solr/src/main/java/org/springframework/roo/addon/solr/SolrJspMetadata.java
  28. +9 −9 addon-solr/src/main/java/org/springframework/roo/addon/solr/SolrMetadata.java
  29. +9 −9 addon-solr/src/main/java/org/springframework/roo/addon/solr/SolrWebSearchMetadata.java
  30. +9 −9 addon-test/src/main/java/org/springframework/roo/addon/test/IntegrationTestMetadata.java
  31. +9 −9 addon-tostring/src/main/java/org/springframework/roo/addon/tostring/ToStringMetadata.java
  32. +9 −9 ...ller/src/main/java/org/springframework/roo/addon/web/mvc/controller/finder/WebFinderMetadata.java
  33. +9 −9 ...ntroller/src/main/java/org/springframework/roo/addon/web/mvc/controller/json/WebJsonMetadata.java
  34. +9 −9 .../src/main/java/org/springframework/roo/addon/web/mvc/controller/scaffold/WebScaffoldMetadata.java
  35. +4 −4 ...c/main/java/org/springframework/roo/addon/web/mvc/embedded/provider/DocumentEmbeddedProvider.java
  36. +4 −4 .../src/main/java/org/springframework/roo/addon/web/mvc/embedded/provider/PhotoEmbeddedProvider.java
  37. +4 −4 .../src/main/java/org/springframework/roo/addon/web/mvc/embedded/provider/VideoEmbeddedProvider.java
  38. +4 −4 ...ain/java/org/springframework/roo/addon/web/mvc/embedded/provider/VideoStreamEmbeddedProvider.java
  39. +6 −6 addon-web-mvc-jsp/src/main/java/org/springframework/roo/addon/web/mvc/jsp/JspMetadata.java
  40. +1 −1 ...vc-jsp/src/main/java/org/springframework/roo/addon/web/mvc/jsp/i18n/languages/GermanLanguage.java
  41. +16 −16 ...h/src/main/java/org/springframework/roo/classpath/details/DefaultClassOrInterfaceTypeDetails.java
  42. +10 −10 classpath/src/main/java/org/springframework/roo/classpath/details/DefaultConstructorMetadata.java
  43. +10 −10 classpath/src/main/java/org/springframework/roo/classpath/details/DefaultFieldMetadata.java
  44. +8 −8 classpath/src/main/java/org/springframework/roo/classpath/details/DefaultImportMetadata.java
  45. +8 −8 classpath/src/main/java/org/springframework/roo/classpath/details/DefaultInitializerMetadata.java
  46. +19 −19 classpath/src/main/java/org/springframework/roo/classpath/details/DefaultItdTypeDetails.java
  47. +13 −13 classpath/src/main/java/org/springframework/roo/classpath/details/DefaultMethodMetadata.java
  48. +2 −2 classpath/src/main/java/org/springframework/roo/classpath/details/MethodMetadataBuilder.java
  49. +5 −5 ...rc/main/java/org/springframework/roo/classpath/details/annotations/DefaultAnnotationMetadata.java
  50. +8 −8 .../main/java/org/springframework/roo/classpath/itd/AbstractItdTypeDetailsProvidingMetadataItem.java
  51. +6 −6 classpath/src/main/java/org/springframework/roo/classpath/layers/MemberTypeAdditions.java
  52. +4 −4 classpath/src/main/java/org/springframework/roo/classpath/operations/Cardinality.java
  53. +5 −5 classpath/src/main/java/org/springframework/roo/classpath/operations/DateTime.java
  54. +4 −4 classpath/src/main/java/org/springframework/roo/classpath/operations/EnumType.java
  55. +4 −4 classpath/src/main/java/org/springframework/roo/classpath/operations/Fetch.java
  56. +4 −4 classpath/src/main/java/org/springframework/roo/classpath/operations/InheritanceType.java
  57. +4 −4 felix/src/main/java/org/springframework/roo/felix/BundleSymbolicName.java
  58. +5 −5 felix/src/main/java/org/springframework/roo/felix/LogLevel.java
  59. +5 −5 felix/src/main/java/org/springframework/roo/felix/PsOptions.java
  60. +6 −6 file-monitor/src/main/java/org/springframework/roo/file/monitor/DirectoryMonitoringRequest.java
  61. +5 −5 file-monitor/src/main/java/org/springframework/roo/file/monitor/FileMonitoringRequest.java
  62. +6 −6 file-monitor/src/main/java/org/springframework/roo/file/monitor/event/FileDetails.java
  63. +6 −6 file-monitor/src/main/java/org/springframework/roo/file/monitor/event/FileEvent.java
  64. +11 −11 metadata/src/main/java/org/springframework/roo/metadata/DefaultMetadataService.java
  65. +8 −8 metadata/src/test/java/org/springframework/roo/metadata/DefaultMetadataServiceTest.java
  66. +4 −4 ...ss-manager/src/main/java/org/springframework/roo/process/manager/internal/DefaultMutableFile.java
  67. +9 −9 project/src/main/java/org/springframework/roo/project/Dependency.java
  68. +7 −9 project/src/main/java/org/springframework/roo/project/Execution.java
  69. +4 −4 project/src/main/java/org/springframework/roo/project/Filter.java
  70. +5 −5 project/src/main/java/org/springframework/roo/project/PhysicalPath.java
  71. +5 −5 project/src/main/java/org/springframework/roo/project/Plugin.java
  72. +6 −6 project/src/main/java/org/springframework/roo/project/ProjectMetadata.java
  73. +5 −5 project/src/main/java/org/springframework/roo/project/Property.java
  74. +6 −6 project/src/main/java/org/springframework/roo/project/Repository.java
  75. +6 −6 project/src/main/java/org/springframework/roo/project/Resource.java
  76. +7 −7 shell/src/main/java/org/springframework/roo/shell/MethodTarget.java
  77. +6 −6 shell/src/main/java/org/springframework/roo/shell/ParseResult.java
  78. +0 −101 support/src/main/java/org/springframework/roo/support/style/DefaultToStringStyler.java
  79. +0 −148 support/src/main/java/org/springframework/roo/support/style/DefaultValueStyler.java
  80. +0 −50 support/src/main/java/org/springframework/roo/support/style/StylerUtils.java
  81. +0 −195 support/src/main/java/org/springframework/roo/support/style/ToStringCreator.java
  82. +0 −68 support/src/main/java/org/springframework/roo/support/style/ToStringStyler.java
  83. +0 −35 support/src/main/java/org/springframework/roo/support/style/ValueStyler.java
@@ -3,14 +3,14 @@
import static org.springframework.roo.model.SpringJavaType.CONFIGURABLE;
import org.apache.commons.lang3.Validate;
+import org.apache.commons.lang3.builder.ToStringBuilder;
import org.springframework.roo.classpath.PhysicalTypeIdentifierNamingUtils;
import org.springframework.roo.classpath.PhysicalTypeMetadata;
import org.springframework.roo.classpath.details.annotations.AnnotationMetadata;
import org.springframework.roo.classpath.itd.AbstractItdTypeDetailsProvidingMetadataItem;
import org.springframework.roo.metadata.MetadataIdentificationUtils;
import org.springframework.roo.model.JavaType;
import org.springframework.roo.project.LogicalPath;
-import org.springframework.roo.support.style.ToStringCreator;
/**
* Metadata for {@link RooConfigurable}.
@@ -81,15 +81,15 @@ private AnnotationMetadata getConfigurableAnnotation() {
@Override
public String toString() {
- final ToStringCreator tsc = new ToStringCreator(this);
- tsc.append("identifier", getId());
- tsc.append("valid", valid);
- tsc.append("aspectName", aspectName);
- tsc.append("destinationType", destination);
- tsc.append("governor", governorPhysicalTypeMetadata.getId());
- tsc.append("configurableIntroduced",
+ final ToStringBuilder builder = new ToStringBuilder(this);
+ builder.append("identifier", getId());
+ builder.append("valid", valid);
+ builder.append("aspectName", aspectName);
+ builder.append("destinationType", destination);
+ builder.append("governor", governorPhysicalTypeMetadata.getId());
+ builder.append("configurableIntroduced",
getTypeAnnotation(CONFIGURABLE) != null);
- tsc.append("itdTypeDetails", itdTypeDetails);
- return tsc.toString();
+ builder.append("itdTypeDetails", itdTypeDetails);
+ return builder.toString();
}
}
@@ -38,6 +38,7 @@
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.lang3.Validate;
+import org.apache.commons.lang3.builder.ToStringBuilder;
import org.springframework.roo.classpath.PhysicalTypeIdentifierNamingUtils;
import org.springframework.roo.classpath.PhysicalTypeMetadata;
import org.springframework.roo.classpath.customdata.CustomDataKeys;
@@ -60,7 +61,6 @@
import org.springframework.roo.model.JavaType;
import org.springframework.roo.model.JdkJavaType;
import org.springframework.roo.project.LogicalPath;
-import org.springframework.roo.support.style.ToStringCreator;
/**
* Metadata for {@link RooDataOnDemand}.
@@ -1670,13 +1670,13 @@ private void setSpecificPersistentEntityMethod() {
@Override
public String toString() {
- final ToStringCreator tsc = new ToStringCreator(this);
- tsc.append("identifier", getId());
- tsc.append("valid", valid);
- tsc.append("aspectName", aspectName);
- tsc.append("destinationType", destination);
- tsc.append("governor", governorPhysicalTypeMetadata.getId());
- tsc.append("itdTypeDetails", itdTypeDetails);
- return tsc.toString();
+ final ToStringBuilder builder = new ToStringBuilder(this);
+ builder.append("identifier", getId());
+ builder.append("valid", valid);
+ builder.append("aspectName", aspectName);
+ builder.append("destinationType", destination);
+ builder.append("governor", governorPhysicalTypeMetadata.getId());
+ builder.append("itdTypeDetails", itdTypeDetails);
+ return builder.toString();
}
}
@@ -1,7 +1,7 @@
package org.springframework.roo.addon.email;
import org.apache.commons.lang3.Validate;
-import org.springframework.roo.support.style.ToStringCreator;
+import org.apache.commons.lang3.builder.ToStringBuilder;
/**
* Protocols known to the email add-on.
@@ -59,8 +59,8 @@ public int hashCode() {
@Override
public String toString() {
- final ToStringCreator tsc = new ToStringCreator(this);
- tsc.append("provider", protocolLabel);
- return tsc.toString();
+ final ToStringBuilder builder = new ToStringBuilder(this);
+ builder.append("provider", protocolLabel);
+ return builder.toString();
}
}
@@ -9,6 +9,7 @@
import java.util.List;
import org.apache.commons.lang3.Validate;
+import org.apache.commons.lang3.builder.ToStringBuilder;
import org.springframework.roo.classpath.PhysicalTypeIdentifierNamingUtils;
import org.springframework.roo.classpath.PhysicalTypeMetadata;
import org.springframework.roo.classpath.details.FieldMetadata;
@@ -20,7 +21,6 @@
import org.springframework.roo.model.JavaSymbolName;
import org.springframework.roo.model.JavaType;
import org.springframework.roo.project.LogicalPath;
-import org.springframework.roo.support.style.ToStringCreator;
import org.springframework.roo.support.util.CollectionUtils;
/**
@@ -197,13 +197,13 @@ private MethodMetadataBuilder getHashCodeMethod() {
@Override
public String toString() {
- final ToStringCreator tsc = new ToStringCreator(this);
- tsc.append("identifier", getId());
- tsc.append("valid", valid);
- tsc.append("aspectName", aspectName);
- tsc.append("destinationType", destination);
- tsc.append("governor", governorPhysicalTypeMetadata.getId());
- tsc.append("itdTypeDetails", itdTypeDetails);
- return tsc.toString();
+ final ToStringBuilder builder = new ToStringBuilder(this);
+ builder.append("identifier", getId());
+ builder.append("valid", valid);
+ builder.append("aspectName", aspectName);
+ builder.append("destinationType", destination);
+ builder.append("governor", governorPhysicalTypeMetadata.getId());
+ builder.append("itdTypeDetails", itdTypeDetails);
+ return builder.toString();
}
}
@@ -11,6 +11,7 @@
import java.util.Map;
import org.apache.commons.lang3.Validate;
+import org.apache.commons.lang3.builder.ToStringBuilder;
import org.springframework.roo.addon.jpa.activerecord.RooJpaActiveRecord;
import org.springframework.roo.classpath.PhysicalTypeIdentifierNamingUtils;
import org.springframework.roo.classpath.PhysicalTypeMetadata;
@@ -24,7 +25,6 @@
import org.springframework.roo.model.JavaSymbolName;
import org.springframework.roo.model.JavaType;
import org.springframework.roo.project.LogicalPath;
-import org.springframework.roo.support.style.ToStringCreator;
/**
* Metadata for {@link RooJpaActiveRecord#finders()}.
@@ -325,13 +325,13 @@ private MethodMetadataBuilder getDynamicFinderMethod(
@Override
public String toString() {
- final ToStringCreator tsc = new ToStringCreator(this);
- tsc.append("identifier", getId());
- tsc.append("valid", valid);
- tsc.append("aspectName", aspectName);
- tsc.append("destinationType", destination);
- tsc.append("governor", governorPhysicalTypeMetadata.getId());
- tsc.append("itdTypeDetails", itdTypeDetails);
- return tsc.toString();
+ final ToStringBuilder builder = new ToStringBuilder(this);
+ builder.append("identifier", getId());
+ builder.append("valid", valid);
+ builder.append("aspectName", aspectName);
+ builder.append("destinationType", destination);
+ builder.append("governor", governorPhysicalTypeMetadata.getId());
+ builder.append("itdTypeDetails", itdTypeDetails);
+ return builder.toString();
}
}
@@ -22,6 +22,7 @@
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.lang3.Validate;
+import org.apache.commons.lang3.builder.ToStringBuilder;
import org.springframework.roo.classpath.PhysicalTypeIdentifierNamingUtils;
import org.springframework.roo.classpath.PhysicalTypeMetadata;
import org.springframework.roo.classpath.details.BeanInfoUtils;
@@ -39,7 +40,6 @@
import org.springframework.roo.model.JavaSymbolName;
import org.springframework.roo.model.JavaType;
import org.springframework.roo.project.LogicalPath;
-import org.springframework.roo.support.style.ToStringCreator;
/**
* Metadata for {@link RooJavaBean}.
@@ -518,13 +518,13 @@ private void processGaeAnnotations(final FieldMetadata field) {
@Override
public String toString() {
- final ToStringCreator tsc = new ToStringCreator(this);
- tsc.append("identifier", getId());
- tsc.append("valid", valid);
- tsc.append("aspectName", aspectName);
- tsc.append("destinationType", destination);
- tsc.append("governor", governorPhysicalTypeMetadata.getId());
- tsc.append("itdTypeDetails", itdTypeDetails);
- return tsc.toString();
+ final ToStringBuilder builder = new ToStringBuilder(this);
+ builder.append("identifier", getId());
+ builder.append("valid", valid);
+ builder.append("aspectName", aspectName);
+ builder.append("destinationType", destination);
+ builder.append("governor", governorPhysicalTypeMetadata.getId());
+ builder.append("itdTypeDetails", itdTypeDetails);
+ return builder.toString();
}
}
@@ -1,7 +1,7 @@
package org.springframework.roo.addon.jpa;
import org.apache.commons.lang3.Validate;
-import org.springframework.roo.support.style.ToStringCreator;
+import org.apache.commons.lang3.builder.ToStringBuilder;
/**
* Provides information related to JDBC database configuration.
@@ -77,11 +77,11 @@ public String getKey() {
@Override
public String toString() {
- final ToStringCreator tsc = new ToStringCreator(this);
- tsc.append("name", name());
- tsc.append("key", key);
- tsc.append("driver class name", driverClassName);
- tsc.append("connection string", connectionString);
- return tsc.toString();
+ final ToStringBuilder builder = new ToStringBuilder(this);
+ builder.append("name", name());
+ builder.append("key", key);
+ builder.append("driver class name", driverClassName);
+ builder.append("connection string", connectionString);
+ return builder.toString();
}
}
@@ -1,7 +1,7 @@
package org.springframework.roo.addon.jpa;
import org.apache.commons.lang3.Validate;
-import org.springframework.roo.support.style.ToStringCreator;
+import org.apache.commons.lang3.builder.ToStringBuilder;
/**
* ORM providers known to the JPA add-on.
@@ -39,9 +39,9 @@ public String getConfigPrefix() {
@Override
public String toString() {
- final ToStringCreator tsc = new ToStringCreator(this);
- tsc.append("provider", name());
- tsc.append("adapter", adapter);
- return tsc.toString();
+ final ToStringBuilder builder = new ToStringBuilder(this);
+ builder.append("provider", name());
+ builder.append("adapter", adapter);
+ return builder.toString();
}
}
@@ -15,6 +15,7 @@
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.lang3.Validate;
+import org.apache.commons.lang3.builder.ToStringBuilder;
import org.springframework.roo.classpath.PhysicalTypeIdentifierNamingUtils;
import org.springframework.roo.classpath.PhysicalTypeMetadata;
import org.springframework.roo.classpath.customdata.CustomDataKeys;
@@ -33,7 +34,6 @@
import org.springframework.roo.model.JavaSymbolName;
import org.springframework.roo.model.JavaType;
import org.springframework.roo.project.LogicalPath;
-import org.springframework.roo.support.style.ToStringCreator;
/**
* Metadata for a type annotated with {@link RooJpaActiveRecord}.
@@ -786,14 +786,14 @@ else if (!identifierField.getFieldType().isPrimitive()) {
@Override
public String toString() {
- final ToStringCreator tsc = new ToStringCreator(this);
- tsc.append("identifier", getId());
- tsc.append("valid", valid);
- tsc.append("aspectName", aspectName);
- tsc.append("destinationType", destination);
- tsc.append("finders", crudAnnotationValues.getFinders());
- tsc.append("governor", governorPhysicalTypeMetadata.getId());
- tsc.append("itdTypeDetails", itdTypeDetails);
- return tsc.toString();
+ final ToStringBuilder builder = new ToStringBuilder(this);
+ builder.append("identifier", getId());
+ builder.append("valid", valid);
+ builder.append("aspectName", aspectName);
+ builder.append("destinationType", destination);
+ builder.append("finders", crudAnnotationValues.getFinders());
+ builder.append("governor", governorPhysicalTypeMetadata.getId());
+ builder.append("itdTypeDetails", itdTypeDetails);
+ return builder.toString();
}
}
@@ -24,6 +24,7 @@
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.lang3.Validate;
+import org.apache.commons.lang3.builder.ToStringBuilder;
import org.springframework.roo.classpath.PhysicalTypeIdentifierNamingUtils;
import org.springframework.roo.classpath.PhysicalTypeMetadata;
import org.springframework.roo.classpath.details.ClassOrInterfaceTypeDetails;
@@ -39,7 +40,6 @@
import org.springframework.roo.model.JavaSymbolName;
import org.springframework.roo.model.JavaType;
import org.springframework.roo.project.LogicalPath;
-import org.springframework.roo.support.style.ToStringCreator;
/**
* Metadata for {@link RooJsfApplicationBean}.
@@ -269,13 +269,13 @@ private boolean hasScopeAnnotation() {
@Override
public String toString() {
- final ToStringCreator tsc = new ToStringCreator(this);
- tsc.append("identifier", getId());
- tsc.append("valid", valid);
- tsc.append("aspectName", aspectName);
- tsc.append("destinationType", destination);
- tsc.append("governor", governorPhysicalTypeMetadata.getId());
- tsc.append("itdTypeDetails", itdTypeDetails);
- return tsc.toString();
+ final ToStringBuilder builder = new ToStringBuilder(this);
+ builder.append("identifier", getId());
+ builder.append("valid", valid);
+ builder.append("aspectName", aspectName);
+ builder.append("destinationType", destination);
+ builder.append("governor", governorPhysicalTypeMetadata.getId());
+ builder.append("itdTypeDetails", itdTypeDetails);
+ return builder.toString();
}
}
@@ -12,6 +12,7 @@
import java.util.List;
import org.apache.commons.lang3.Validate;
+import org.apache.commons.lang3.builder.ToStringBuilder;
import org.springframework.roo.classpath.PhysicalTypeIdentifierNamingUtils;
import org.springframework.roo.classpath.PhysicalTypeMetadata;
import org.springframework.roo.classpath.details.MethodMetadata;
@@ -27,7 +28,6 @@
import org.springframework.roo.model.JavaType;
import org.springframework.roo.model.JdkJavaType;
import org.springframework.roo.project.LogicalPath;
-import org.springframework.roo.support.style.ToStringCreator;
/**
* Metadata for {@link RooJsfConverter}.
@@ -229,13 +229,13 @@ private boolean isConverterInterfaceIntroduced() {
@Override
public String toString() {
- final ToStringCreator tsc = new ToStringCreator(this);
- tsc.append("identifier", getId());
- tsc.append("valid", valid);
- tsc.append("aspectName", aspectName);
- tsc.append("destinationType", destination);
- tsc.append("governor", governorPhysicalTypeMetadata.getId());
- tsc.append("itdTypeDetails", itdTypeDetails);
- return tsc.toString();
+ final ToStringBuilder builder = new ToStringBuilder(this);
+ builder.append("identifier", getId());
+ builder.append("valid", valid);
+ builder.append("aspectName", aspectName);
+ builder.append("destinationType", destination);
+ builder.append("governor", governorPhysicalTypeMetadata.getId());
+ builder.append("itdTypeDetails", itdTypeDetails);
+ return builder.toString();
}
}
Oops, something went wrong.

0 comments on commit c6f1c8c

Please sign in to comment.