Example usage for org.apache.commons.lang3.builder ToStringStyle SHORT_PREFIX_STYLE

List of usage examples for org.apache.commons.lang3.builder ToStringStyle SHORT_PREFIX_STYLE

Introduction

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

Prototype

ToStringStyle SHORT_PREFIX_STYLE

To view the source code for org.apache.commons.lang3.builder ToStringStyle SHORT_PREFIX_STYLE.

Click Source Link

Document

The short prefix toString style.

Usage

From source file:com.smartling.api.sdk.dto.file.FileLastModified.java

@Override
public String toString() {
    return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("totalCount: ", totalCount)
            .append("items", getItems()).toString();
}

From source file:com.yougou.kaidian.user.service.impl.ApiKeyServiceImpl.java

private boolean authorizeApiKeyToMerchant(List<ApiLicense> licenses) {
    boolean flag = false;
    try {/*from  w  ww  . j a va 2 s. co m*/
        apiKeyMapper.authorizeApiKeyToMerchant(licenses);
        flag = true;
    } catch (Exception e) {
        logger.error("?apilicenses:{}?", new Object[] {
                ToStringBuilder.reflectionToString(licenses, ToStringStyle.SHORT_PREFIX_STYLE), e });
    }
    return flag;
}

From source file:com.infinities.skyport.compute.entity.patch.VolumeProductPatchBuilder.java

@Override
public DiffResult diff(VolumeProduct old, VolumeProduct updated) {
    float oldMaxIopsRatio = old.getMaxIopsRatio() == null ? 0 : old.getMaxIopsRatio().floatValue();
    float updatedMaxIopsRatio = updated.getMaxIopsRatio() == null ? 0 : updated.getMaxIopsRatio().floatValue();
    DiffResult diff = new DiffBuilder(new VolumeProductProxy(old), new VolumeProductProxy(updated),
            ToStringStyle.SHORT_PREFIX_STYLE).append("maxIopsRatio", oldMaxIopsRatio, updatedMaxIopsRatio)
                    .append("maxVolumeSize", old.getMaxVolumeSize(), updated.getMaxVolumeSize())
                    .append("minVolumeSize", old.getMinVolumeSize(), updated.getMinVolumeSize()).build();
    return diff;//ww  w  .j  ava2 s .  co m
}

From source file:com.shaie.browze.model.ZkNode.java

@Override
public String toString() {
    return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("treeInfo", tree)
            .append("data", data).append("stat", stat).build();
}

From source file:com.smartling.api.sdk.dto.file.UploadFileData.java

@Override
public String toString() {
    return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("stringCount", getStringCount())
            .append("wordCount", getWordCount()).append("overWritten", isOverWritten()).toString();
}

From source file:com.gs.obevo.dbmetadata.impl.DaSchemaImpl.java

@Override
public String toString() {
    return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("schema", schema).toString();
}

From source file:com.github.cric.common.model.Match.java

@Override
public String toString() {

    return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("matchId", matchId)
            .append("matchStarted", matchStarted).append("firstTeam", firstTeam)
            .append("secondTeam", secondTeam).build();
}

From source file:net.havox.times.model.contacts.impl.CountryImpl.java

@Override
public String toString() {
    ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE);

    return builder.toString();
}

From source file:ca.uhn.fhir.jpa.dao.HistoryTuple.java

@Override
public String toString() {
    ToStringBuilder b = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE);
    b.append("id", myId);
    b.append("history", myIsHistory);
    b.append("updated", myUpdated);
    return b.build();
}

From source file:com.moviejukebox.model.Image.java

@Override
public String toString() {
    return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append(url).append(subimage).toString();
}