| Modifier and Type | Field and Description |
|---|---|
protected org.apache.cayenne.map.Embeddable |
embeddable |
BASE_CLASS_KEY, BASE_PACKAGE_KEY, CREATE_PROPERTY_NAMES, IMPORT_UTILS_KEY, OBJECT_KEY, STRING_UTILS_KEY, SUB_CLASS_KEY, SUB_PACKAGE_KEY, SUPER_CLASS_KEY, SUPER_PACKAGE_KEY| Constructor and Description |
|---|
EmbeddableArtifact(org.apache.cayenne.map.Embeddable embeddable) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getObject()
Returns a mapping metadata object for this artifact.
|
String |
getQualifiedBaseClassName() |
String |
getQualifiedClassName() |
TemplateType[] |
getTemplateTypes(ArtifactGenerationMode mode) |
void |
postInitContext(org.apache.velocity.VelocityContext context)
A callback method that allows each artifact to add its own special keys to the
context.
|
public EmbeddableArtifact(org.apache.cayenne.map.Embeddable embeddable)
public Object getObject()
Artifactpublic String getQualifiedBaseClassName()
getQualifiedBaseClassName in interface Artifactpublic String getQualifiedClassName()
getQualifiedClassName in interface Artifactpublic TemplateType[] getTemplateTypes(ArtifactGenerationMode mode)
getTemplateTypes in interface Artifactpublic void postInitContext(org.apache.velocity.VelocityContext context)
ArtifactClassGenerationAction.resetContextForArtifactTemplate(Artifact, TemplateType),
after the context is initialized by code generator, so this method can use
predefined keys from the context.postInitContext in interface ArtifactCopyright © 2001–2017 Apache Cayenne. All rights reserved.