Package org.apache.openejb.jee.jpa
Class AttributeOverride
- java.lang.Object
-
- org.apache.openejb.jee.jpa.AttributeOverride
-
public class AttributeOverride extends Object implements Field
Target({TYPE, METHOD, FIELD}) @Retention(RUNTIME) public @interface AttributeOverride { String name(); Column column(); }Java class for attribute-override complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="attribute-override"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="column" type="{http://java.sun.com/xml/ns/persistence/orm}column"/> </sequence> <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description AttributeOverride()AttributeOverride(String name)AttributeOverride(String name, String columnName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ColumngetColumn()Gets the value of the column property.StringgetDescription()Gets the value of the description property.ObjectgetKey()Gets the immutable key for this object.StringgetName()Gets the value of the name property.voidsetColumn(Column value)Sets the value of the column property.voidsetDescription(String value)Sets the value of the description property.voidsetName(String value)Sets the value of the name property.
-
-
-
Method Detail
-
getDescription
public String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
public void setDescription(String value)
Sets the value of the description property.- Parameters:
value- allowed object isString
-
getColumn
public Column getColumn()
Gets the value of the column property.
-
setColumn
public void setColumn(Column value)
Sets the value of the column property.
-
getName
public String getName()
Gets the value of the name property.
-
setName
public void setName(String value)
Sets the value of the name property.
-
-