Package | Description |
---|---|
com.caucho.amber.cfg | |
com.caucho.amber.field | |
javax.persistence |
Modifier and Type | Method and Description |
---|---|
protected CascadeType[] |
CascadeConfig.getCascadeTypes() |
Modifier and Type | Method and Description |
---|---|
CascadeType[] |
CascadableField.getCascadeType()
Sets the cascade types for this field
from parent to child.
|
Modifier and Type | Method and Description |
---|---|
protected void |
CascadableField.generateInternalCascade(JavaWriter out,
java.lang.String aConn,
CascadeType cascadeType) |
protected void |
OneToManyField.generateInternalCascade(JavaWriter out,
java.lang.String aConn,
CascadeType cascadeType) |
void |
CollectionField.generatePostCascade(JavaWriter out,
java.lang.String aConn,
CascadeType cascadeType)
Generates the (post) cascade operation from
parent to this child.
|
void |
ManyToManyField.generatePostCascade(JavaWriter out,
java.lang.String aConn,
CascadeType cascadeType)
Generates the (post) cascade operation from
parent to this child.
|
void |
CascadableField.generatePostCascade(JavaWriter out,
java.lang.String aConn,
CascadeType cascadeType)
Generates the (post) cascade operation from
parent to this child.
|
void |
OneToManyField.generatePostCascade(JavaWriter out,
java.lang.String aConn,
CascadeType cascadeType)
Generates the (post) cascade operation from
parent to this child.
|
void |
ElementCollectionField.generatePostCascade(JavaWriter out,
java.lang.String aConn,
CascadeType cascadeType)
Generates the (post) cascade operation from
parent to this child.
|
void |
DependentEntityOneToOneField.generatePostCascade(JavaWriter out,
java.lang.String aConn,
CascadeType cascadeType) |
void |
CollectionField.generatePreCascade(JavaWriter out,
java.lang.String aConn,
CascadeType cascadeType)
Generates the (pre) cascade operation from
parent to this child.
|
void |
CascadableField.generatePreCascade(JavaWriter out,
java.lang.String aConn,
CascadeType cascadeType)
Generates the (pre) cascade operation from
parent to this child.
|
void |
OneToManyField.generatePreCascade(JavaWriter out,
java.lang.String aConn,
CascadeType cascadeType)
Generates the (pre) cascade operation from
parent to this child.
|
void |
DependentEntityOneToOneField.generatePreCascade(JavaWriter out,
java.lang.String aConn,
CascadeType cascadeType) |
boolean |
CascadableField.isCascade(CascadeType cascade)
Returns true if this is cascadable
from parent to child.
|
void |
CascadableField.setCascadeType(CascadeType[] cascadeTypes)
Sets the cascade types for this field
from parent to child.
|
Constructor and Description |
---|
AssociationField(EntityType relatedType,
java.lang.String name,
CascadeType[] cascadeTypes) |
CollectionField(EntityType relatedType,
java.lang.String name,
CascadeType[] cascadeTypes) |
DependentEntityOneToOneField(EntityType relatedType,
java.lang.String name,
CascadeType[] cascadeTypes) |
ManyToManyField(EntityType relatedType,
java.lang.String name,
CascadeType[] cascadeTypes) |
ManyToManyField(EntityType relatedType,
java.lang.String name,
ManyToManyField source,
CascadeType[] cascadeTypes) |
ManyToOneField(EntityType relatedType,
java.lang.String name,
CascadeType[] cascadeType) |
ManyToOneField(EntityType relatedType,
java.lang.String name,
CascadeType[] cascadeType,
boolean isManyToOne) |
OneToManyField(EntityType entityType,
java.lang.String name,
CascadeType[] cascadeTypes) |
Modifier and Type | Method and Description |
---|---|
static CascadeType |
CascadeType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CascadeType[] |
CascadeType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|