All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.ebean.enhance.common.TransformRequest Maven / Gradle / Ivy

There is a newer version: 15.10.0
Show newest version
package io.ebean.enhance.common;

public class TransformRequest {

  boolean enhancedEntity;
  boolean enhancedTransactional;
  boolean enhancedQueryBean;

  byte[] bytes;

  public TransformRequest(byte[] bytes) {
    this.bytes = bytes;
  }

  public byte[] getBytes() {
    return bytes;
  }

  public void enhancedEntity(byte[] bytes) {
    this.enhancedEntity = true;
    this.bytes = bytes;
  }

  public void enhancedTransactional(byte[] bytes) {
    this.enhancedTransactional = true;
    this.bytes = bytes;
  }

  public boolean isEnhanced() {
    return enhancedTransactional || enhancedQueryBean || enhancedEntity;
  }

  public void enhancedQueryBean(byte[] bytes) {
    this.enhancedQueryBean = true;
    this.bytes = bytes;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy