|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=CLASS) @Target(value=java.lang.annotation.ElementType.TYPE) public @interface Relation
Required Element Summary | |
---|---|
Relation.Multiplicity |
multiplicity
(one|many) Sets the multiplicity of the relationship. |
String |
name
Specifies the name of the relationship. |
Optional Element Summary | |
---|---|
Constants.Bool |
cascadeDelete
(True|False) |
String |
cmrField
Specifies the CMR field where this relationship will be kept. |
Constants.Bool |
dbCascadeDelete
(True|False) Determines whether a cascade delete will use the built-in cascade delete facilities of the underlying DBMS. |
String |
fkColumn
Needed only in a relationship having at least one One side. |
String |
foreignKeyTable
The name of a DBMS table that contains a foreign-key. |
String |
groupName
Specifies the group name of the relationshop. |
String |
id
The identity of this tag (used for tag inheritance only). |
String |
joinTable
Only needed in a Many-Many relationship. |
String |
jointTable
Deprecated. Use Relation.joinTable() instead. |
String |
primaryKeyTable
The name of a DBMS table that contains a primary-key. |
String |
roleName
The name of this role (such as "ParentHasChildren"). |
String |
targetEjb
Specifies the EJB name of the target of this relationship, which is used to generate the role name. |
Element Detail |
---|
public abstract Relation.Multiplicity multiplicity
public abstract String name
public abstract String groupName
public abstract String jointTable
Relation.joinTable()
instead.
public abstract String joinTable
public abstract String fkColumn
public abstract String roleName
public abstract String foreignKeyTable
public abstract String primaryKeyTable
public abstract String cmrField
public abstract Constants.Bool dbCascadeDelete
public abstract Constants.Bool cascadeDelete
public abstract String targetEjb
public abstract String id
|
Copyright 1996, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |