protected ToStringHelper string() {
   ToStringHelper toString = Objects.toStringHelper("").omitNullValues();
   toString.add("name", name);
   toString.add("description", description);
   toString.add("enabled", Boolean.valueOf(enabled));
   return toString;
 }
 @Override
 public String toString() {
   final ToStringHelper str = Objects.toStringHelper(this);
   str.add("identifier", getIdentifier());
   str.add("name", getName());
   return str.toString();
 }
Esempio n. 3
0
 @Override
 public String toString() {
   ToStringHelper helper = Objects.toStringHelper(this);
   helper.add("outcome", this.outcome);
   helper.add("score", this.score);
   helper.add("parent", this.parent);
   return helper.toString();
 }
Esempio n. 4
0
 @Override
 protected String debugString() {
   ToStringHelper helper = Objects.toStringHelper(this);
   for (HdfsPartition partition : partitions) {
     helper.add("Partition " + partition.getId() + ":", partition.toString());
   }
   return helper.addValue(super.debugString()).toString();
 }
Esempio n. 5
0
 @Override
 public String toString() {
   final ToStringHelper helper = Objects.toStringHelper(this).omitNullValues();
   helper.add("pub", Utils.HEX.encode(pub.getEncoded()));
   helper.add("chainCode", HEX.encode(chainCode));
   helper.add("path", getPathAsString());
   if (creationTimeSeconds > 0) helper.add("creationTimeSeconds", creationTimeSeconds);
   helper.add("isEncrypted", isEncrypted());
   helper.add("isPubKeyOnly", isPubKeyOnly());
   return helper.toString();
 }
Esempio n. 6
0
  @Override
  public String toString() {

    ToStringHelper ts = Objects.toStringHelper(this);

    if (column != null) ts.add("column", column);
    if (field != null) ts.add("field", field);
    if (type != null) ts.add("type", type);
    if (bindings != null) ts.add("bindings", bindings).toString();

    return ts.toString();
  }
Esempio n. 7
0
 @Override
 public String toString() {
   final ToStringHelper str = Objects.toStringHelper(this);
   str.add("entries", register.values().toString());
   return str.toString();
 }