public class AssociationParameters
extends java.lang.Object
Vocabulary API method addAssociation requires an instance of AssociationParameters as a parameter. The addAssociation method uses the information contained in the AssociationParameters instance to construct either one or two association ends, depending on the values of the navigability indicators (i.e., myNavigable and oppositeNavigable).
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
myJavaObjectFieldName
Instance variable name of the association collection
or simple object reference in the user's Java object model.
|
java.lang.String |
myJavaObjectGetMethod
"Get" method needed to access the association collection
or simple object reference in the user's Java object model.
|
java.lang.String |
myJavaObjectSetMethod
"Set" method needed to access the association collection
or simple object reference in the user's Java object model.
|
java.lang.String |
myJoinExpression
An expression, similar to an SQL WHERE clause, that describes
the join conditions between two database tables.
|
boolean |
myMandatory
An indication of whether at least one instance of the
target entity is mandatory.
|
boolean |
myMany
An indication of whether there can be many instances of the
target entity.
|
boolean |
myNavigable
An indication of whether this association is navigable
from source-to-target.
|
java.lang.String |
myRoleName
Source-to-target role name.
|
IEntity |
myTargetEntity
Reference to the target entity of the new association.
|
java.lang.String |
myXMLPropertyName
The XML property name for the source-to-target association end.
|
java.lang.String |
oppositeJavaObjectFieldName
Instance variable name of the association collection
or simple object reference in the user's Java object model.
|
java.lang.String |
oppositeJavaObjectGetMethod
"Get" method needed to access the association collection
or simple object reference in the user's Java object model.
|
java.lang.String |
oppositeJavaObjectSetMethod
"Set" method needed to access the association collection
or simple object reference in the user's Java object model.
|
boolean |
oppositeMandatory
An indication of whether at least one instance of the
source entity is mandatory.
|
boolean |
oppositeMany
An indication of whether there can be many instances of the
source entity.
|
boolean |
oppositeNavigable
An indication of whether this association is navigable
from target-to-source.
|
java.lang.String |
oppositeRoleName
Target-to-source role name.
|
IEntity |
oppositeTargetEntity
Reference to the source entity of the new association.
|
java.lang.String |
oppositeXMLPropertyName
The XML property name for the target-to-source association end.
|
| Constructor and Description |
|---|
AssociationParameters() |
| Modifier and Type | Method and Description |
|---|---|
AssociationParameters |
copy()
Get an identical copy of this AssocaitionParamters Object
|
public IEntity myTargetEntity
public java.lang.String myRoleName
public boolean myMany
public boolean myMandatory
public boolean myNavigable
public java.lang.String myXMLPropertyName
public java.lang.String myJavaObjectGetMethod
public java.lang.String myJavaObjectSetMethod
public java.lang.String myJavaObjectFieldName
public java.lang.String myJoinExpression
public IEntity oppositeTargetEntity
public java.lang.String oppositeRoleName
public boolean oppositeMany
public boolean oppositeMandatory
public boolean oppositeNavigable
public java.lang.String oppositeXMLPropertyName
public java.lang.String oppositeJavaObjectGetMethod
public java.lang.String oppositeJavaObjectSetMethod
public java.lang.String oppositeJavaObjectFieldName
public AssociationParameters copy()
Copyright © 2005-2013 Progress Software Corporation and/or its subsidiaries and affiliates. All rights reserved.