public class ForeignKey extends Object
@Target({}) @Retention(RUNTIME) public @interface ForeignKey { String name() default ""; String foreign-key-definition() default ""; boolean disable-foreign-key() default false; }
<p>Java class for foreign-key complex type.
<p>The following schema fragment specifies the expected content contained within this class.
<pre> <complexType name="foreign-key"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </sequence> <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="foreign-key-definition" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="disable-foreign-key" type="{http://www.w3.org/2001/XMLSchema}boolean" /> </restriction> </complexContent> </complexType> </pre>
| Modifier and Type | Field and Description |
|---|---|
protected String |
description |
protected Boolean |
disableForeignKey |
protected String |
foreignKeyDefinition |
protected String |
name |
| Constructor and Description |
|---|
ForeignKey() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Gets the value of the description property.
|
String |
getForeignKeyDefinition()
Gets the value of the foreignKeyDefinition property.
|
String |
getName()
Gets the value of the name property.
|
Boolean |
isDisableForeignKey()
Gets the value of the disableForeignKey property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setDisableForeignKey(Boolean value)
Sets the value of the disableForeignKey property.
|
void |
setForeignKeyDefinition(String value)
Sets the value of the foreignKeyDefinition property.
|
void |
setName(String value)
Sets the value of the name property.
|
protected String description
protected String name
protected String foreignKeyDefinition
protected Boolean disableForeignKey
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 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 getForeignKeyDefinition()
Gets the value of the foreignKeyDefinition property.
Stringpublic void setForeignKeyDefinition(String value)
Sets the value of the foreignKeyDefinition property.
value - allowed object is
Stringpublic Boolean isDisableForeignKey()
Gets the value of the disableForeignKey property.
BooleanCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.