Package org.apache.commons.lang3.reflect

Examples of org.apache.commons.lang3.reflect.Typed


            .append(this.type, rhs.getType()).isEquals();
  }

  @Override
  public int hashCode() {
    return new HashCodeBuilder().append(this.identification).append(this.type).toHashCode();
  }
View Full Code Here


        this.lastLoginDate = lastLoginDate;
    }

    @Override
    public String toString() {
        return new ReflectionToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE) {

            @Override
            protected boolean accept(Field f) {
                return super.accept(f) && !f.getName().equals("password");
            }
View Full Code Here

    }
  }

  @Override
  public String toString() {
    final ToStringBuilder sb = new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE);
    if (ArrayUtils.isNotEmpty(configurationClasses)) {
      final String[] names = new String[configurationClasses.length];
      for (int i = 0; i < names.length; i++) {
        names[i] = configurationClasses[i].getName();
      }
      sb.append("configurationClasses", Arrays.toString(names));
    }
    if (ArrayUtils.isNotEmpty(configurationPackages)) {
      final String[] names = new String[configurationPackages.length];
      for (int i = 0; i < names.length; i++) {
        names[i] = configurationPackages[i].getName();
      }
      sb.append("configurationPackages", Arrays.toString(names));
    }

    if (!CollectionUtils.isEmpty(jvmSystemProperties)) {
      final StringWriter sw = new StringWriter(256);
      try {
        jvmSystemProperties.store(sw, "JVM System Propperties");
      } catch (final IOException e) {
        throw new RuntimeException(e);
      }
      sb.append("jvmSystemProperties", sw.toString());
    }
    return sb.toString();
  }
View Full Code Here

  public Purchaser() {
  }

  public String toString() {
    return new ToStringBuilder(this)
        .append("id", id)
        .append("name", name)
        .append("address", address)
        .append("nip", nip)
        .toString();
View Full Code Here

     * @return a string for this object
     */
    @Override
    public String toString()
    {
        ToStringBuilder sb = new ToStringBuilder(this);
        if (isAttributeResult())
        {
            sb.append("parentNode", getNode()).append("attribute",
                    getAttributeName());
        }
        else
        {
            sb.append("resultNode", getNode());
        }
        return sb.toString();
    }
View Full Code Here

     * @return a string for this object
     */
    @Override
    public String toString()
    {
        return new ToStringBuilder(this).append("keys", nodeKeys).toString();
    }
View Full Code Here

     * @return a string for this object
     */
    @Override
    public String toString()
    {
        return new ToStringBuilder(this)
                .append("propertyDelimiter", getPropertyDelimiter())
                .append("escapedDelimiter", getEscapedDelimiter())
                .append("indexStart", getIndexStart())
                .append("indexEnd", getIndexEnd())
                .append("attributeStart", getAttributeStart())
View Full Code Here

     * @return a string for this object
     */
    @Override
    public String toString()
    {
        return new ToStringBuilder(this).append("fileName", getFileName())
                .append("basePath", getBasePath())
                .append("sourceURL", sourceURLAsString())
                .append("encoding", getEncoding())
                .append("fileSystem", getFileSystem())
                .append("locationStrategy", getLocationStrategy()).toString();
View Full Code Here

    }

    @Override
    public String toString()
    {
        return new ToStringBuilder(this)
            .append("cfId", cfId)
            .append("ksName", ksName)
            .append("cfName", cfName)
            .append("cfType", cfType)
            .append("comparator", comparator)
View Full Code Here

    }

    @Override
    public String toString()
    {
        return new ToStringBuilder(this)
            .append("cfId", cfId)
            .append("ksName", ksName)
            .append("cfName", cfName)
            .append("cfType", cfType)
            .append("comparator", comparator)
View Full Code Here

TOP

Related Classes of org.apache.commons.lang3.reflect.Typed

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.