lombok.Getter类的使用及代码示例

x33g5p2x  于2022-01-19 转载在 其他  
字(5.6k)|赞(0)|评价(0)|浏览(155)

本文整理了Java中lombok.Getter类的一些代码示例,展示了Getter类的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Getter类的具体详情如下:
包路径:lombok.Getter
类名称:Getter

Getter介绍

暂无

代码示例

代码示例来源:origin: apache/incubator-shardingsphere

/**
 * Route unit.
 * 
 * @author gaohongtao
 * @author maxiaoguang
 */
@RequiredArgsConstructor
@Getter
@Setter
@EqualsAndHashCode
@ToString
public final class RouteUnit {
  
  private final String dataSourceName;
  
  private final SQLUnit sqlUnit;
}

代码示例来源:origin: runelite/runelite

tags = {"external", "integration", "notifications", "panel", "prices", "trade"}
@Slf4j
public class GrandExchangePlugin extends Plugin
  @Getter(AccessLevel.PACKAGE)
  private NavigationButton button;
  @Getter(AccessLevel.PACKAGE)
  private GrandExchangePanel panel;
  @Getter(AccessLevel.PACKAGE)
  @Setter(AccessLevel.PACKAGE)
  private boolean hotKeyPressed;
  @Inject
  private GrandExchangeInputListener inputListener;
  @Inject
  private ItemManager itemManager;
  @Inject
  private MouseManager mouseManager;

代码示例来源:origin: runelite/runelite

@Getter
private boolean inHerbiboarArea;
@Getter
private Map<WorldPoint, TileObject> trails = new HashMap<>();
@Getter
private Map<WorldPoint, TileObject> tunnels = new HashMap<>();
@Getter
private Map<WorldPoint, TileObject> starts = new HashMap<>();
@Getter
private Map<WorldPoint, TileObject> trailObjects = new HashMap<>();
@Getter
@Setter
private Set<Integer> shownTrails = new HashSet<>();
@Getter
@Setter
private HerbiboarTrail currentTrail;
@Getter
@Setter
private int currentPath;
@Getter
@Setter

代码示例来源:origin: apache/incubator-shardingsphere

/**
 * PostgreSQL parse complete packet.
 *
 * @author zhangyonglun
 */
@Slf4j
public final class PostgreSQLParseCompletePacket implements PostgreSQLPacket {
  
  @Getter
  private final char messageType = PostgreSQLCommandPacketType.PARSE_COMPLETE.getValue();
  
  @Override
  public void write(final PostgreSQLPacketPayload payload) {
  }
  
  @Override
  public int getSequenceId() {
    return 0;
  }
}

代码示例来源:origin: spotify/heroic

@Data
@EqualsAndHashCode(of = {"size", "extent"})
public abstract class BucketAggregationInstance<B extends Bucket> implements AggregationInstance {
  public static final Map<String, String> EMPTY_KEY = ImmutableMap.of();
  protected final long extent;
  @Getter(AccessLevel.NONE)
  private final Set<MetricType> input;
  @Getter(AccessLevel.NONE)
  protected final MetricType out;

代码示例来源:origin: abixen/abixen-platform

@Getter
@Setter
@Accessors(chain = true)
@ToString
public class SimpleUserDto {

  private Long id;
  private String username;
}

代码示例来源:origin: apache/incubator-shardingsphere

/**
 * Inline sharding strategy configuration for YAML.
 * 
 * @author zhangliang
 */
@Getter
@Setter
public final class YamlInlineShardingStrategyConfiguration implements YamlShardingStrategyConfiguration {
  
  private String shardingColumn;
  
  private String algorithmExpression;
}

代码示例来源:origin: apache/incubator-shardingsphere

/**
 * Table.
 * 
 * @author zhangliang
 */
@RequiredArgsConstructor
@Getter
@EqualsAndHashCode
@ToString
public final class Table {
  
  private final String name;
  
  private final Optional<String> alias;
}

代码示例来源:origin: hs-web/hsweb-framework

/**
 * @author zhouhao
 * @since 3.0.0-RC
 */
@AllArgsConstructor
@Getter
public class FormDataInsertBeforeEvent<T> {
  private String formId;

  private RDBTable<T> table;

  private T data;

}

代码示例来源:origin: apache/incubator-shardingsphere

/**
 * Limit value.
 *
 * @author zhangliang
 */
@AllArgsConstructor
@Getter
@Setter
@ToString
public final class LimitValue {
  
  private int value;
  
  private int index;
  
  private boolean boundOpened;
}

代码示例来源:origin: paypal/PayPal-Java-SDK

@Getter @Setter
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class CreateProfileResponse extends WebProfile {

  /**
   * Default Constructor
   */
  public CreateProfileResponse() {
  }

}

代码示例来源:origin: apache/incubator-shardingsphere

/**
 * Select items token.
 *
 * @author zhangliang
 * @author panjuan
 */
@Getter
@ToString
public final class ItemsToken extends SQLToken {
  
  @Setter
  private boolean isFirstOfItemsSpecial;
  
  private final List<String> items = new LinkedList<>();
  
  public ItemsToken(final int startIndex) {
    super(startIndex);
  }
}

代码示例来源:origin: hs-web/hsweb-framework

/**
 * @author zhouhao
 * @since 3.0.0-RC
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class PlainTextUsernamePasswordAuthenticationRequest implements AuthenticationRequest {
  private String username;

  private String password;
}

代码示例来源:origin: apache/incubator-gobblin

@AllArgsConstructor
 @NoArgsConstructor
 @EqualsAndHashCode
 @Getter
 @Setter
 private static class KafkaRecord {

  private String value;
 }
}

代码示例来源:origin: apache/incubator-shardingsphere

/**
 * Sharding condition.
 * 
 * @author maxiaoguang
 */
@Getter
@ToString
public class ShardingCondition {
  
  private final List<ShardingValue> shardingValues = new LinkedList<>();
}

代码示例来源:origin: baomidou/mybatis-plus

@Data
@Accessors(chain = true)
public class TableInfo implements Constants {
  @Setter(AccessLevel.NONE)
  @Getter(AccessLevel.NONE)
  private String allSqlSelect;
  @Setter(AccessLevel.NONE)
  @Getter(AccessLevel.NONE)
  private String sqlSelect;

代码示例来源:origin: allure-framework/allure2

@Getter
@Setter
@Accessors(chain = true)
public class TrendItem implements Serializable {

代码示例来源:origin: hs-web/hsweb-framework

@EqualsAndHashCode
@Getter
@Setter
class CacheKey {
  private String className;
  private String method;
  private boolean children;
  private String type;
  private boolean queryController;
}

代码示例来源:origin: awslabs/amazon-kinesis-client

/**
 * Provides data, and interaction about the loss of a lease to a
 * {@link ShardRecordProcessor}.
 *
 * This currently has no members, but exists for forward compatibility reasons.
 */
@Accessors(fluent = true)
@Getter
@Builder
@EqualsAndHashCode
@ToString
public class LeaseLostInput {
}

代码示例来源:origin: apache/incubator-shardingsphere

/**
 * Drop column definition segment.
 *
 * @author duhongjun
 */
@RequiredArgsConstructor
@Getter
@EqualsAndHashCode
public final class DropColumnDefinitionSegment implements SQLSegment {
  
  private final String columnName;
}

相关文章

Getter类方法