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:
- Serialized Form
- 
Field SummaryFields Modifier and Type Field Description protected StringdbAttributeNameprotected Embeddableembeddableprotected Stringnameprotected Stringtype
- 
Constructor SummaryConstructors Constructor Description EmbeddableAttribute()EmbeddableAttribute(String name)
- 
Method SummaryModifier and Type Method Description <T> TacceptVisitor(ConfigurationNodeVisitor<T> visitor)voidencodeAsXML(XMLEncoder encoder, ConfigurationNodeVisitor delegate)Prints itself as XML to the provided XMLEncoder.StringgetDbAttributeName()EmbeddablegetEmbeddable()StringgetName()StringgetType()voidsetDbAttributeName(String dbAttributeName)voidsetEmbeddable(Embeddable embeddable)voidsetName(String name)voidsetType(String type)
- 
Field Details- 
name
- 
type
- 
dbAttributeName
- 
embeddable
 
- 
- 
Constructor Details- 
EmbeddableAttributepublic EmbeddableAttribute()
- 
EmbeddableAttribute
 
- 
- 
Method Details- 
acceptVisitor- Specified by:
- acceptVisitorin interface- ConfigurationNode
- Since:
- 3.1
 
- 
encodeAsXMLDescription copied from interface:XMLSerializablePrints itself as XML to the provided XMLEncoder.- Specified by:
- encodeAsXMLin interface- XMLSerializable
 
- 
getDbAttributeName
- 
setDbAttributeName
- 
getName
- 
setName
- 
getType
- 
setType
- 
getEmbeddable
- 
setEmbeddable
 
-