| Package | Description |
|---|---|
| com.avaje.ebeaninternal.server.core |
Core implementation objects
|
| com.avaje.ebeaninternal.server.ddl | |
| com.avaje.ebeaninternal.server.deploy |
Bean description
|
| com.avaje.ebeaninternal.server.deploy.generatedproperty |
Counter, Insert Timestamp, Update Timestamp support
|
| com.avaje.ebeaninternal.server.deploy.id |
Helpers for Id property conversion
|
| com.avaje.ebeaninternal.server.deploy.meta |
Temporary objects used to collect deployment information
|
| com.avaje.ebeaninternal.server.el | |
| com.avaje.ebeaninternal.server.persist.dml |
Bean DML persistence implementation
|
| com.avaje.ebeaninternal.server.persist.dmlbind |
Bindable objects to support Bean DML
|
| com.avaje.ebeaninternal.server.query | |
| com.avaje.ebeaninternal.server.transaction |
Transaction implementation
|
| com.avaje.ebeaninternal.server.type |
Built in and custom Scalar types support.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
PersistRequestBean.hasChanged(BeanProperty prop)
Test if the property value has changed and if so include it in the
update.
|
boolean |
PersistRequestBean.isLoadedProperty(BeanProperty prop)
Return true if this property is loaded (full bean or included in partial
bean).
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
CreateTableVisitor.addCheckConstraint(BeanProperty p) |
protected void |
CreateTableVisitor.addCheckConstraint(BeanProperty p,
String prefix,
String constraintExpression)
Build a check constraint for the property if required.
|
String |
DdlGenContext.getColumnDefn(BeanProperty p) |
protected String |
CreateTableVisitor.getConstraintName(String prefix,
BeanProperty p) |
protected boolean |
CreateTableColumnVisitor.isIdentity(BeanProperty p) |
static void |
VisitorUtil.visit(BeanProperty[] p,
PropertyVisitor pv)
Visit all the properties.
|
static void |
VisitorUtil.visit(BeanProperty p,
PropertyVisitor pv)
Visit the property.
|
void |
AbstractPropertyVisitor.visitCompoundScalar(BeanPropertyCompound compound,
BeanProperty p) |
void |
PropertyVisitor.visitCompoundScalar(BeanPropertyCompound compound,
BeanProperty p)
Visit the scalar value inside a compound value object.
|
void |
AddForeignKeysVisitor.FkeyPropertyVisitor.visitCompoundScalar(BeanPropertyCompound compound,
BeanProperty p) |
void |
CreateTableColumnVisitor.visitCompoundScalar(BeanPropertyCompound compound,
BeanProperty p) |
abstract void |
BaseTablePropertyVisitor.visitCompoundScalar(BeanPropertyCompound compound,
BeanProperty p)
Override this method for scalar property inside a Immutable Compound Value object.
|
void |
AbstractPropertyVisitor.visitEmbeddedScalar(BeanProperty p,
BeanPropertyAssocOne<?> embedded) |
void |
PropertyVisitor.visitEmbeddedScalar(BeanProperty p,
BeanPropertyAssocOne<?> embedded)
Visit the scalar property of an embedded bean.
|
void |
AddForeignKeysVisitor.FkeyPropertyVisitor.visitEmbeddedScalar(BeanProperty p,
BeanPropertyAssocOne<?> embedded) |
void |
CreateTableColumnVisitor.visitEmbeddedScalar(BeanProperty p,
BeanPropertyAssocOne<?> embedded) |
abstract void |
BaseTablePropertyVisitor.visitEmbeddedScalar(BeanProperty p,
BeanPropertyAssocOne<?> embedded)
Override this method.
|
PropertyVisitor |
CreateTableVisitor.visitProperty(BeanProperty p) |
PropertyVisitor |
DropTableVisitor.visitProperty(BeanProperty p) |
PropertyVisitor |
AddForeignKeysVisitor.visitProperty(BeanProperty p) |
PropertyVisitor |
CreateSequenceVisitor.visitProperty(BeanProperty p) |
PropertyVisitor |
BeanVisitor.visitProperty(BeanProperty p)
Visit a property potentially return a specific PropertyVisitor.
|
PropertyVisitor |
DropSequenceVisitor.visitProperty(BeanProperty p) |
void |
AbstractPropertyVisitor.visitScalar(BeanProperty p) |
void |
PropertyVisitor.visitScalar(BeanProperty p)
Visit a scalar property.
|
void |
AddForeignKeysVisitor.FkeyPropertyVisitor.visitScalar(BeanProperty p) |
void |
CreateTableColumnVisitor.visitScalar(BeanProperty p) |
abstract void |
BaseTablePropertyVisitor.visitScalar(BeanProperty p)
Override this method for normal scalar property.
|
protected void |
CreateTableVisitor.writeColumnName(String columnName,
BeanProperty p)
Write the column name including a check for the SQL reserved words.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BeanPropertyAssoc<T>
Abstract base for properties mapped to an associated bean, list, set or map.
|
class |
BeanPropertyAssocMany<T>
Property mapped to a List Set or Map.
|
class |
BeanPropertyAssocOne<T>
Property mapped to a joined bean.
|
class |
BeanPropertyCompound
Property mapped to an Immutable Compound Value Object.
|
class |
BeanPropertyCompoundScalar
A BeanProperty owned by a Compound value object that maps to
a real scalar type.
|
class |
BeanPropertySimpleCollection<T> |
| Modifier and Type | Method and Description |
|---|---|
BeanProperty |
BeanDescriptor.findBeanProperty(String propName)
Find a BeanProperty including searching the inheritance hierarchy.
|
BeanProperty |
InheritInfo.findSubTypeProperty(String propertyName)
Get the bean property additionally looking in the sub types.
|
BeanProperty |
BeanDescriptor.firstVersionProperty()
Return the first version property that exists on the bean.
|
BeanProperty |
BeanFkeyProperty.getBeanProperty() |
BeanProperty |
BeanProperty.getBeanProperty() |
BeanProperty |
BeanDescriptor.getBeanProperty(String propName)
Get a BeanProperty by its name.
|
BeanProperty |
BeanDescriptor.getBeanPropertyFromDbColumn(String dbColumn)
Return the BeanProperty for the given deployment name.
|
BeanProperty |
BeanDescriptor.getBeanPropertyFromPath(String path)
Return the bean property traversing the object graph and taking into
account inheritance.
|
BeanProperty[] |
DbSqlContext.getEncryptedProps()
Return a list of encrypted properties which require additional binding.
|
BeanProperty[] |
BeanTable.getIdProperties()
Return the Id properties.
|
BeanProperty[] |
BeanEmbeddedMeta.getProperties()
Return the properties with over ridden mapping information.
|
BeanProperty[] |
BeanPropertyAssocOne.getProperties()
Return meta data for the deployment of the embedded bean specific to this
property.
|
BeanProperty[] |
BeanPropertyCompoundRoot.getScalarProperties() |
BeanProperty[] |
BeanPropertyCompound.getScalarProperties() |
BeanProperty |
BeanDescriptor.getSingleIdProperty()
If the Id is a single non-embedded property then returns that, otherwise
returns null.
|
BeanProperty[] |
TableJoin.properties()
For secondary table joins returns the properties mapped to that table.
|
BeanProperty[] |
BeanDescriptor.propertiesBaseScalar()
Scalar properties without the unique id or secondary table properties.
|
BeanProperty[] |
BeanDescriptor.propertiesId()
Return the BeanProperty that make up the unique id.
|
BeanProperty[] |
BeanDescriptor.propertiesLocal()
Return the properties local to this type for inheritance.
|
BeanProperty[] |
BeanDescriptor.propertiesNonMany()
All Non Assoc Many's for this descriptor.
|
BeanProperty[] |
BeanDescriptor.propertiesNonTransient()
Return the non transient non id properties.
|
BeanProperty[] |
BeanDescriptor.propertiesTransient()
Return the transient properties.
|
BeanProperty[] |
BeanDescriptor.propertiesVersion()
Returns 'Version' properties on this bean.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<BeanProperty> |
BeanDescriptor.propertiesAll()
Return an Iterator of all BeanProperty.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DbSqlContext.addEncryptedProp(BeanProperty prop)
Add an encrypted property which will require additional binding.
|
IdBinder |
BeanDescriptorMap.createIdBinder(BeanProperty[] uids) |
IdBinder |
BeanDescriptorManager.createIdBinder(BeanProperty[] uids) |
EncryptKey |
BeanDescriptor.getEncryptKey(BeanProperty p)
Return the Encrypt key given the BeanProperty.
|
| Constructor and Description |
|---|
BeanEmbeddedMeta(BeanProperty[] properties) |
BeanProperty(BeanProperty source,
BeanPropertyOverride override)
Create a Matching BeanProperty with some attributes overridden.
|
ExportedProperty(boolean embedded,
String foreignDbColumn,
BeanProperty property) |
| Constructor and Description |
|---|
TableJoin(DeployTableJoin deploy,
LinkedHashMap<String,BeanProperty> propMap)
Create a TableJoin.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
GeneratedCounter.getInsertValue(BeanProperty prop,
Object bean)
Always returns a 1.
|
Object |
GeneratedUpdateTimestamp.getInsertValue(BeanProperty prop,
Object bean)
Return now as a Timestamp.
|
Object |
GeneratedInsertLong.getInsertValue(BeanProperty prop,
Object bean)
Return the current time as a Timestamp.
|
Object |
GeneratedProperty.getInsertValue(BeanProperty prop,
Object bean)
Get the generated insert value for a specific property of a bean.
|
Object |
GeneratedCounterLong.getInsertValue(BeanProperty prop,
Object bean)
Always returns a 1.
|
Object |
GeneratedUpdateLong.getInsertValue(BeanProperty prop,
Object bean)
Return now as a Timestamp.
|
Object |
GeneratedInsertDate.getInsertValue(BeanProperty prop,
Object bean)
Return the current time as a Timestamp.
|
Object |
GeneratedInsertTimestamp.getInsertValue(BeanProperty prop,
Object bean)
Return the current time as a Timestamp.
|
Object |
GeneratedUpdateDate.getInsertValue(BeanProperty prop,
Object bean)
Return now as a Timestamp.
|
Object |
GeneratedCounterInteger.getInsertValue(BeanProperty prop,
Object bean)
Always returns a 1.
|
Object |
GeneratedCounter.getUpdateValue(BeanProperty prop,
Object bean)
Increments the current value by one.
|
Object |
GeneratedUpdateTimestamp.getUpdateValue(BeanProperty prop,
Object bean)
Return now as a Timestamp.
|
Object |
GeneratedInsertLong.getUpdateValue(BeanProperty prop,
Object bean)
Just returns the beans original insert timestamp value.
|
Object |
GeneratedProperty.getUpdateValue(BeanProperty prop,
Object bean)
Get the generated update value for a specific property of a bean.
|
Object |
GeneratedCounterLong.getUpdateValue(BeanProperty prop,
Object bean)
Increments the current value by one.
|
Object |
GeneratedUpdateLong.getUpdateValue(BeanProperty prop,
Object bean)
Return now as a Timestamp.
|
Object |
GeneratedInsertDate.getUpdateValue(BeanProperty prop,
Object bean)
Just returns the beans original insert timestamp value.
|
Object |
GeneratedInsertTimestamp.getUpdateValue(BeanProperty prop,
Object bean)
Just returns the beans original insert timestamp value.
|
Object |
GeneratedUpdateDate.getUpdateValue(BeanProperty prop,
Object bean)
Return now as a Timestamp.
|
Object |
GeneratedCounterInteger.getUpdateValue(BeanProperty prop,
Object bean)
Increments the current value by one.
|
| Modifier and Type | Field and Description |
|---|---|
protected BeanProperty |
ImportedIdSimple.foreignProperty |
| Modifier and Type | Method and Description |
|---|---|
BeanProperty |
IdBinderSimple.findBeanProperty(String dbColumnName) |
BeanProperty |
IdBinderEmbedded.findBeanProperty(String dbColumnName) |
BeanProperty |
IdBinderEmpty.findBeanProperty(String dbColumnName) |
BeanProperty |
IdBinderMultiple.findBeanProperty(String dbColumnName) |
BeanProperty |
IdBinder.findBeanProperty(String dbColumnName)
Find a BeanProperty that is mapped to the database column.
|
BeanProperty |
ImportedIdEmbedded.findMatchImport(String matchDbColumn)
Not supported for embedded id.
|
BeanProperty |
ImportedIdSimple.findMatchImport(String matchDbColumn) |
BeanProperty |
ImportedIdMultiple.findMatchImport(String matchDbColumn)
Not supported for concatenated id.
|
BeanProperty |
ImportedId.findMatchImport(String matchDbColumn)
Used to derive a missing concatenated key from multiple imported keys.
|
BeanProperty[] |
IdBinderSimple.getProperties() |
BeanProperty[] |
IdBinderEmbedded.getProperties() |
BeanProperty[] |
IdBinderEmpty.getProperties() |
BeanProperty[] |
IdBinderMultiple.getProperties() |
BeanProperty[] |
IdBinder.getProperties()
Return the id properties in flat form.
|
| Modifier and Type | Method and Description |
|---|---|
IdBinder |
IdBinderFactory.createIdBinder(BeanProperty[] uids)
Create the IdConvertSet for the given type of Id properties.
|
| Constructor and Description |
|---|
IdBinderMultiple(BeanProperty[] idProps) |
IdBinderSimple(BeanProperty idProperty) |
ImportedIdSimple(BeanPropertyAssoc<?> owner,
String localDbColumn,
BeanProperty foreignProperty,
int position) |
| Modifier and Type | Method and Description |
|---|---|
BeanProperty[] |
DeployBeanTable.createIdProperties(BeanDescriptorMap owner)
Return the id properties.
|
BeanProperty[] |
DeployBeanPropertyLists.getBaseScalar()
Return the base scalar properties (excludes Id and secondary table
properties).
|
BeanProperty |
DeployBeanPropertyLists.getFirstVersion() |
BeanProperty[] |
DeployBeanPropertyLists.getId() |
BeanProperty[] |
DeployBeanPropertyLists.getLocal() |
BeanProperty |
DeployBeanPropertyLists.getNaturalKey() |
BeanProperty[] |
DeployBeanPropertyLists.getNonMany() |
BeanProperty[] |
DeployBeanPropertyLists.getNonTransients() |
BeanProperty[] |
DeployBeanPropertyLists.getTransients() |
BeanProperty[] |
DeployBeanPropertyLists.getVersion() |
| Modifier and Type | Method and Description |
|---|---|
LinkedHashMap<String,BeanProperty> |
DeployBeanPropertyLists.getPropertyMap() |
| Modifier and Type | Method and Description |
|---|---|
BeanProperty |
ElPropertyChain.getBeanProperty() |
BeanProperty |
ElPropertyDeploy.getBeanProperty()
Return the underlying bean property.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
DmlHandler.bind(Object value,
BeanProperty prop,
String propName,
boolean bindNull)
Bind the value to the preparedStatement.
|
Object |
DmlHandler.bindNoLog(Object value,
BeanProperty prop,
String propName,
boolean bindNull)
Bind the value to the preparedStatement without logging.
|
boolean |
InsertHandler.isIncluded(BeanProperty prop) |
boolean |
DeleteHandler.isIncluded(BeanProperty prop) |
boolean |
UpdateHandler.isIncluded(BeanProperty prop) |
boolean |
GenerateDmlRequest.isIncluded(BeanProperty prop)
Return true if this property should be included in the set clause.
|
boolean |
DmlHandler.isIncluded(BeanProperty prop) |
boolean |
DeleteHandler.isIncludedWhere(BeanProperty prop) |
boolean |
GenerateDmlRequest.isIncludedWhere(BeanProperty prop)
Return true if this property should be included in the where clause.
|
boolean |
DmlHandler.isIncludedWhere(BeanProperty prop) |
void |
DmlHandler.registerUpdateGenValue(BeanProperty prop,
Object bean,
Object value)
Register a generated value on a update.
|
| Modifier and Type | Field and Description |
|---|---|
protected BeanProperty |
BindableProperty.prop |
| Modifier and Type | Method and Description |
|---|---|
Object |
BindableRequest.bind(Object value,
BeanProperty prop,
String propName,
boolean bindNull)
Bind the value to a PreparedStatement.
|
Object |
BindableRequest.bindNoLog(Object value,
BeanProperty prop,
String propName,
boolean bindNull)
Bind the value to the preparedStatement without logging.
|
Bindable |
FactoryProperty.create(BeanProperty prop,
DmlMode mode,
boolean withLobs)
Create a Bindable for the property given the mode and withLobs flag.
|
boolean |
BindableRequest.isIncluded(BeanProperty prop)
Return true if the property is included in this request.
|
boolean |
BindableRequest.isIncludedWhere(BeanProperty prop)
Return true if the property is included in the WHERE clause for this
request.
|
void |
BindableRequest.registerUpdateGenValue(BeanProperty prop,
Object bean,
Object value)
Register the value from a update GeneratedValue.
|
| Constructor and Description |
|---|
BindableEncryptedProperty(BeanProperty prop,
boolean bindEncryptDataFirst) |
BindableIdMap(BeanProperty[] uids,
BeanDescriptor<?> desc) |
BindableIdScalar(BeanProperty uidProp) |
BindableProperty(BeanProperty prop) |
BindablePropertyInsertGenerated(BeanProperty prop,
GeneratedProperty gen) |
BindablePropertyUpdateGenerated(BeanProperty prop,
GeneratedProperty gen) |
| Modifier and Type | Method and Description |
|---|---|
BeanProperty[] |
DefaultDbSqlContext.getEncryptedProps() |
BeanProperty[] |
SqlTree.getEncryptedProps() |
BeanProperty[] |
SqlTreeProperties.getProps() |
| Modifier and Type | Method and Description |
|---|---|
void |
SqlTreeProperties.add(BeanProperty prop) |
void |
SqlTreeProperties.add(BeanProperty[] props) |
void |
DefaultDbSqlContext.addEncryptedProp(BeanProperty p) |
Object |
SqlBeanLoad.load(BeanProperty prop) |
void |
SqlTree.setEncryptedProps(BeanProperty[] encryptedProps) |
| Modifier and Type | Method and Description |
|---|---|
void |
BeanDelta.add(BeanProperty beanProperty,
Object value) |
| Constructor and Description |
|---|
BeanDeltaProperty(BeanProperty beanProperty,
Object value) |
| Modifier and Type | Method and Description |
|---|---|
BeanProperty |
CtCompoundPropertyElAdapter.getBeanProperty() |
Copyright © 2014. All Rights Reserved.