Example #1
0
 @Override
 public String toString() {
   ReflectionToStringBuilder builder =
       new ReflectionToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE);
   builder.setExcludeFieldNames("project", "files");
   return builder.build();
 }
Example #2
0
  @Override
  public String toString() {

    final ReflectionToStringBuilder reflectionToStringBuilder = new ReflectionToStringBuilder(this);

    reflectionToStringBuilder.setExcludeFieldNames(
        new String[] {"programa", "proyectos", "nivel", "estructuras", "estructuraPadre"});
    return reflectionToStringBuilder.toString();
  }
 /**
  * {@inheritDoc}
  *
  * @see edu.hm.basic.object.AbstractBasicObject#toString()
  */
 @Override
 public String toString() {
   ReflectionToStringBuilder rsb =
       new ReflectionToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE);
   rsb.setAppendStatics(false);
   rsb.setAppendTransients(true);
   rsb.setUpToClass(TwitterMessage.class);
   rsb.setExcludeFieldNames(getExclusionList());
   return rsb.toString();
 }
 @Override
 public String toString() {
   final ReflectionToStringBuilder reflectionToStringBuilder = new ReflectionToStringBuilder(this);
   reflectionToStringBuilder.setExcludeFieldNames(new String[] {"proyecto"});
   return reflectionToStringBuilder.toString();
 }