Skip to main content
summaryrefslogtreecommitdiffstats
blob: dfc213ca96874902d86e3af9d3f908b957c4cbae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/*******************************************************************************
 * Copyright (c) 2001, 2006 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 * IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.jst.j2ee.ejb;

import org.eclipse.jem.java.JavaClass;
/**
 * Describes the bean provider's view of a relationship. It consists of an optional description, and the name and the class type of a field in the source of a role of a relationship. The CMRField::name element corresponds to the name used for the get and set accessor methods for the relationship. The CMRField::type element is used only for collection-valued CMRFields. It specifies the type of the collection that is used (a java class name).
 * 
 * @generated
 * @since 1.0 */
public interface CMRField extends CMPAttribute{

	/**
	 * Returns the java CollectionType name
	 * @return The name of the java collection type
	 */
	public  String getCollectionTypeName();  
	
	/**
	 * Sets the java collection type name
	 * @param typeName the name of the java collection type
	 */
	public void setCollectionTypeName(String typeName);
	/**
	 * @generated This field/method will be replaced during code generation 
	 * @return The Role reference
	 */
	EJBRelationshipRole getRole();

	/**
	 * @generated This field/method will be replaced during code generation 
	 * @param value The new value of the Role reference
	 */
	void setRole(EJBRelationshipRole value);

	/**
	 * @generated This field/method will be replaced during code generation 
	 * @return The CollectionType reference
	 */
	JavaClass getCollectionType();

	/**
	 * @generated This field/method will be replaced during code generation 
	 * @param value The new value of the CollectionType reference
	 */
	void setCollectionType(JavaClass value);

}





Back to the top