Package org.apache.openejb.jee.jpa
Class PrimaryKeyJoinColumn
- java.lang.Object
-
- org.apache.openejb.jee.jpa.PrimaryKeyJoinColumn
-
public class PrimaryKeyJoinColumn extends Object
Target({TYPE, METHOD, FIELD}) @Retention(RUNTIME) public @interface PrimaryKeyJoinColumn { String name() default ""; String referencedColumnName() default ""; String columnDefinition() default ""; }Java class for primary-key-join-column complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="primary-key-join-column"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="column-definition" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="referenced-column-name" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected StringcolumnDefinitionprotected Stringnameprotected StringreferencedColumnName
-
Constructor Summary
Constructors Constructor Description PrimaryKeyJoinColumn()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetColumnDefinition()Gets the value of the columnDefinition property.StringgetName()Gets the value of the name property.StringgetReferencedColumnName()Gets the value of the referencedColumnName property.voidsetColumnDefinition(String value)Sets the value of the columnDefinition property.voidsetName(String value)Sets the value of the name property.voidsetReferencedColumnName(String value)Sets the value of the referencedColumnName property.
-
-
-
Method Detail
-
getColumnDefinition
public String getColumnDefinition()
Gets the value of the columnDefinition property.- Returns:
- possible object is
String
-
setColumnDefinition
public void setColumnDefinition(String value)
Sets the value of the columnDefinition property.- Parameters:
value- allowed object isString
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getReferencedColumnName
public String getReferencedColumnName()
Gets the value of the referencedColumnName property.- Returns:
- possible object is
String
-
-