public class EmbeddableAttribute extends Object implements ConfigurationNode, XMLSerializable, Serializable
Modifier and Type | Field and Description |
---|---|
protected String |
dbAttributeName |
protected Embeddable |
embeddable |
protected String |
name |
protected String |
type |
Constructor and Description |
---|
EmbeddableAttribute() |
EmbeddableAttribute(String name) |
Modifier and Type | Method and Description |
---|---|
<T> T |
acceptVisitor(ConfigurationNodeVisitor<T> visitor) |
void |
encodeAsXML(XMLEncoder encoder)
Prints itself as XML to the provided XMLEncoder.
|
String |
getDbAttributeName() |
Embeddable |
getEmbeddable() |
String |
getName() |
String |
getType() |
void |
setDbAttributeName(String dbAttributeName) |
void |
setEmbeddable(Embeddable embeddable) |
void |
setName(String name) |
void |
setType(String type) |
protected String name
protected String type
protected String dbAttributeName
protected Embeddable embeddable
public EmbeddableAttribute()
public EmbeddableAttribute(String name)
public <T> T acceptVisitor(ConfigurationNodeVisitor<T> visitor)
acceptVisitor
in interface ConfigurationNode
public void encodeAsXML(XMLEncoder encoder)
XMLSerializable
encodeAsXML
in interface XMLSerializable
public String getDbAttributeName()
public void setDbAttributeName(String dbAttributeName)
public String getName()
public void setName(String name)
public String getType()
public void setType(String type)
public Embeddable getEmbeddable()
public void setEmbeddable(Embeddable embeddable)
Copyright © 2001–2014 Apache Cayenne. All rights reserved.