public class AttributeOverride extends Object
@Target({TYPE, METHOD, FIELD}) @Retention(RUNTIME) public @interface AttributeOverride { String name(); Column column(); }
<p>Java class for attribute-override complex type.
<p>The following schema fragment specifies the expected content contained within this class.
<pre> <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://xmlns.jcp.org/xml/ns/persistence/orm}column"/> </sequence> <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> </pre>
| Modifier and Type | Field and Description |
|---|---|
protected Column |
column |
protected String |
description |
protected String |
name |
| Constructor and Description |
|---|
AttributeOverride() |
| Modifier and Type | Method and Description |
|---|---|
Column |
getColumn()
Gets the value of the column property.
|
String |
getDescription()
Gets the value of the description property.
|
String |
getName()
Gets the value of the name property.
|
void |
setColumn(Column value)
Sets the value of the column property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setName(String value)
Sets the value of the name property.
|
protected String description
protected Column column
protected String name
public String getDescription()
Gets the value of the description property.
Stringpublic void setDescription(String value)
Sets the value of the description property.
value - allowed object is
Stringpublic Column getColumn()
Gets the value of the column property.
Columnpublic void setColumn(Column value)
Sets the value of the column property.
value - allowed object is
Columnpublic String getName()
Gets the value of the name property.
StringCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.