Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * Copyright (C) 2012 Clarion Media, LLC
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *     http://www.apache.org/licenses/LICENSE-2.0
  *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.clarionmedia.infinitum.orm.annotation;

This annotation indicates that the annotated Field represents a many-to-many relationship with another persistent class.

Author(s):
Tyler Treat
Version:
1.0 02/19/12
public @interface ManyToMany {

Returns the name of the persistent Class this relationship links to.

Returns:
name of persistent Class
Returns the name of the many-to-many table.

Returns:
table name where relationships are stored
Returns the name of the Field identifying this Class's side of the relationship, typically the primary key.

Returns:
name of key Field
Returns the name of the Field identifying the associated Class's side of the relationship, typically the primary key of the associated Class.

Returns:
name of foreign key Field
Returns the name of this relationship.

Returns:
name of many-to-many relationship.
New to GrepCode? Check out our FAQ X