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

io.ebeaninternal.server.deploy.meta.DeployBeanPropertySimpleCollection Maven / Gradle / Ivy

There is a newer version: 15.8.0
Show newest version
package io.ebeaninternal.server.deploy.meta;

import io.ebean.bean.BeanCollection.ModifyListenMode;
import io.ebeaninternal.server.deploy.ManyType;

public final class DeployBeanPropertySimpleCollection extends DeployBeanPropertyAssocMany {

  public DeployBeanPropertySimpleCollection(DeployBeanDescriptor desc, Class targetType, ManyType manyType) {
    super(desc, targetType, manyType);
    this.modifyListenMode = ModifyListenMode.ALL;
  }

  /**
   * Returns false as never a ManyToMany.
   */
  @Override
  public boolean isManyToMany() {
    return false;
  }

  /**
   * Returns true as always Unidirectional.
   */
  @Override
  public boolean isUnidirectional() {
    return true;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy