public class PrimaryKeyJoinColumn extends Object
@Target({TYPE, METHOD, FIELD}) @Retention(RUNTIME) public @interface PrimaryKeyJoinColumn { String name() default ""; String referencedColumnName() default ""; String columnDefinition() default ""; }
<p>Java class for primary-key-join-column complex type.
<p>The following schema fragment specifies the expected content contained within this class.
<pre> <complexType name="primary-key-join-column"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="referenced-column-name" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="column-definition" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> </pre>
| Modifier and Type | Field and Description |
|---|---|
protected String |
columnDefinition |
protected String |
name |
protected String |
referencedColumnName |
| Constructor and Description |
|---|
PrimaryKeyJoinColumn() |
| Modifier and Type | Method and Description |
|---|---|
String |
getColumnDefinition()
Gets the value of the columnDefinition property.
|
String |
getName()
Gets the value of the name property.
|
String |
getReferencedColumnName()
Gets the value of the referencedColumnName property.
|
void |
setColumnDefinition(String value)
Sets the value of the columnDefinition property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setReferencedColumnName(String value)
Sets the value of the referencedColumnName property.
|
protected String name
protected String referencedColumnName
protected String columnDefinition
public String getName()
Gets the value of the name property.
Stringpublic void setName(String value)
Sets the value of the name property.
value - allowed object is
Stringpublic String getReferencedColumnName()
Gets the value of the referencedColumnName property.
Stringpublic void setReferencedColumnName(String value)
Sets the value of the referencedColumnName property.
value - allowed object is
Stringpublic String getColumnDefinition()
Gets the value of the columnDefinition property.
StringCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.