Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cayenne.map
Class EmbeddableAttribute

    java.lang.Object
      org.apache.cayenne.map.EmbeddableAttribute

All Implemented Interfaces:
  Serializable, XMLSerializable

    public class EmbeddableAttribute

extends Object
implements XMLSerializable, Serializable

A persistent attribute of an embeddable object.

Since:
  3.0
Author:
  Andrus Adamchik
See Also:
  Serialized Form

Field Summary
`protected String` | `dbAttributeName`
`protected Embeddable` | `embeddable`
`protected String` | `name`
`protected String` | `type`

Constructor Summary
`EmbeddableAttribute()`
`EmbeddableAttribute(String name)`

Method Summary
`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)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### name

    protected String name

### type

    protected String type

### dbAttributeName

    protected String dbAttributeName

### embeddable

    protected Embeddable embeddable

Constructor Detail

### EmbeddableAttribute

    public EmbeddableAttribute()

### EmbeddableAttribute

    public EmbeddableAttribute(String name)

Method Detail

### encodeAsXML

    public void encodeAsXML(XMLEncoder encoder)

  Description copied from interface: `XMLSerializable`
  Prints itself as XML to the provided XMLEncoder.

  Specified by:
    `encodeAsXML` in interface `XMLSerializable`

### getDbAttributeName

    public String getDbAttributeName()

### setDbAttributeName

    public void setDbAttributeName(String dbAttributeName)

### getName

    public String getName()

### setName

    public void setName(String name)

### getType

    public String getType()

### setType

    public void setType(String type)

### getEmbeddable

    public Embeddable getEmbeddable()

### setEmbeddable

    public void setEmbeddable(Embeddable embeddable)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2008 Apache Cayenne. All Rights Reserved.