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

io.ebeaninternal.server.deploy.BeanPropertyOverride Maven / Gradle / Ivy

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

import io.ebean.util.StringHelper;
import io.ebeaninternal.server.core.InternString;

/**
 * Used hold meta data when a bean property is overridden.
 * 

* Typically this is for Embedded Beans. *

*/ class BeanPropertyOverride { private final String dbColumn; BeanPropertyOverride(String dbColumn) { this.dbColumn = InternString.intern(dbColumn); } public String getDbColumn() { return dbColumn; } public String replace(String src, String srcDbColumn) { return StringHelper.replaceString(src, srcDbColumn, dbColumn); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy