Package org.apache.cayenne.map
Class EmbeddableAttribute
java.lang.Object
org.apache.cayenne.map.EmbeddableAttribute
- All Implemented Interfaces:
Serializable
,ConfigurationNode
,XMLSerializable
public class EmbeddableAttribute
extends Object
implements ConfigurationNode, XMLSerializable, Serializable
A persistent attribute of an embeddable object.
- Since:
- 3.0
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected Embeddable
protected String
protected String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T> T
acceptVisitor
(ConfigurationNodeVisitor<T> visitor) void
encodeAsXML
(XMLEncoder encoder, ConfigurationNodeVisitor delegate) Prints itself as XML to the provided XMLEncoder.getName()
getType()
void
setDbAttributeName
(String dbAttributeName) void
setEmbeddable
(Embeddable embeddable) void
void
-
Field Details
-
name
-
type
-
dbAttributeName
-
embeddable
-
-
Constructor Details
-
EmbeddableAttribute
public EmbeddableAttribute() -
EmbeddableAttribute
-
-
Method Details
-
acceptVisitor
- Specified by:
acceptVisitor
in interfaceConfigurationNode
- Since:
- 3.1
-
encodeAsXML
Description copied from interface:XMLSerializable
Prints itself as XML to the provided XMLEncoder.- Specified by:
encodeAsXML
in interfaceXMLSerializable
-
getDbAttributeName
-
setDbAttributeName
-
getName
-
setName
-
getType
-
setType
-
getEmbeddable
-
setEmbeddable
-