Class Attribute

java.lang.Object
org.apache.cayenne.map.Attribute
All Implemented Interfaces:
Serializable, CayenneMapEntry, XMLSerializable
Direct Known Subclasses:
DbAttribute, ObjAttribute

public abstract class Attribute extends Object implements CayenneMapEntry, XMLSerializable, Serializable
Defines a property descriptor that is a part of an Entity. Two examples of things that are described by attributes are Java class properties and database table columns.
See Also:
  • Field Details

    • name

      protected String name
    • entity

      protected Entity entity
  • Constructor Details

    • Attribute

      public Attribute()
      Creates an unnamed Attribute.
    • Attribute

      public Attribute(String name)
      Creates a named Attribute.
  • Method Details