Search in sources :

Example 71 with ToStringBuilder

use of org.apache.commons.lang.builder.ToStringBuilder in project gora by apache.

the class QueryBase method toString.

@Override
public String toString() {
    ToStringBuilder builder = new ToStringBuilder(this);
    builder.append("dataStore", dataStore);
    builder.append("fields", fields);
    builder.append("startKey", startKey);
    builder.append("endKey", endKey);
    builder.append("filter", filter);
    builder.append("limit", limit);
    builder.append("localFilterEnabled", localFilterEnabled);
    return builder.toString();
}
Also used : ToStringBuilder(org.apache.commons.lang.builder.ToStringBuilder)

Example 72 with ToStringBuilder

use of org.apache.commons.lang.builder.ToStringBuilder in project simba-os by cegeka.

the class LoginMappingEntity method toString.

@Override
public String toString() {
    ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE);
    builder.append("Token", token);
    builder.append("targetURL", targetURL);
    builder.append("TimeStamp", creationTime);
    return builder.toString();
}
Also used : ToStringBuilder(org.apache.commons.lang.builder.ToStringBuilder)

Example 73 with ToStringBuilder

use of org.apache.commons.lang.builder.ToStringBuilder in project simba-os by cegeka.

the class SessionEntity method toString.

@Override
public String toString() {
    ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE);
    builder.append("user", user);
    builder.append("SSO Token", ssoToken);
    builder.append("client IP", clientIpAddress);
    builder.append("host", hostServerName);
    builder.append("created", creationTime);
    builder.append("last accessed", lastAccessTime);
    return builder.toString();
}
Also used : ToStringBuilder(org.apache.commons.lang.builder.ToStringBuilder)

Aggregations

ToStringBuilder (org.apache.commons.lang.builder.ToStringBuilder)73 DataMap (com.linkedin.data.DataMap)1 ProtocolVersion (com.linkedin.restli.common.ProtocolVersion)1 PropertyChangeEvent (java.beans.PropertyChangeEvent)1 PropertyChangeListener (java.beans.PropertyChangeListener)1 InetAddress (java.net.InetAddress)1 SimpleDateFormat (java.text.SimpleDateFormat)1 Arrays (java.util.Arrays)1 Collection (java.util.Collection)1 Collections (java.util.Collections)1 Date (java.util.Date)1 HashMap (java.util.HashMap)1 LinkedList (java.util.LinkedList)1 List (java.util.List)1 Map (java.util.Map)1 Properties (java.util.Properties)1 Set (java.util.Set)1 TimeZone (java.util.TimeZone)1 Collectors (java.util.stream.Collectors)1 Level (org.apache.logging.log4j.Level)1