Class 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 Detail

      • columnDefinition

        protected String columnDefinition
      • referencedColumnName

        protected String referencedColumnName
    • Constructor Detail

      • PrimaryKeyJoinColumn

        public PrimaryKeyJoinColumn()
    • 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 is String
      • 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 is String
      • getReferencedColumnName

        public String getReferencedColumnName()
        Gets the value of the referencedColumnName property.
        Returns:
        possible object is String
      • setReferencedColumnName

        public void setReferencedColumnName​(String value)
        Sets the value of the referencedColumnName property.
        Parameters:
        value - allowed object is String