|
Business Components | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.jbo.common.BaseObject | +--oracle.jbo.server.NamedObjectImpl | +--oracle.jbo.server.DefObject | +--oracle.jbo.server.EntityAssociation
Describes the relationship between two Entity Objects.
Field Summary | |
protected AttributeDefImpl[] |
mBindVars
The list of AttributeDefImpls as bind variables on one end. |
protected AttributeDefImpl[] |
mOtherBindVars
The list of bind variable AttributeDefImpls on one end. |
Fields inherited from class oracle.jbo.server.DefObject |
mCompUsageList,
mCompUsages |
Fields inherited from class oracle.jbo.server.NamedObjectImpl |
mFullName,
mName,
mParent,
mProperties |
Fields inherited from class oracle.jbo.common.BaseObject |
TRACE_EVERY_ALLOC,
TRACE_NONE,
TRACE_OCCASIONAL,
TRACE_UNINITIALIZED |
Method Summary | |
static EntityAssociation |
findEntityAssociation(java.lang.String entityAssocName)
Finds the named entity association from the statically maintained list of metaobjects. |
oracle.jbo.server.AssociationDefImpl |
getAccessorByEndName(java.lang.String endName)
Gets the accessor of one of the associated Entity Objects. |
oracle.jbo.server.AssociationEnd |
getAssociationEnd(java.lang.String endName)
Gets an end of the association. |
AttributeDefImpl[] |
getAttributeDefImpls()
Gets the attributes of the source of the association. |
AttributeDefImpl[] |
getAttributeDefImplsByEndName(java.lang.String endName)
Gets the attribute definitions of one end of the association |
AttributeDefImpl[] |
getBindVariables()
Gets the bind variables for one end of the association. |
java.lang.Class |
getComponentClass()
Gets the class name of this entity association's reference. |
oracle.jbo.server.DefObject[] |
getDefs()
Gets the definitions of both ends of the association. |
EntityDefImpl |
getEntityDef()
Gets the definition of the source of the association. |
AttributeDefImpl[] |
getOtherAttributeDefImpls()
Gets the attributes of the destination of the association. |
AttributeDefImpl[] |
getOtherBindVariables()
Gets the bind variables for the other end of the association. |
EntityDefImpl |
getOtherEntityDef()
Gets the definition of the destination of the association. |
void |
link(oracle.jbo.server.AssociationDefImpl srcAccr,
oracle.jbo.server.AssociationDefImpl dstAccr)
Establishes a link between two Entity Objects. |
void |
setBindVariables(AttributeDefImpl[] vars)
Sets the bind variables for one end of the association. |
void |
setOtherBindVariables(AttributeDefImpl[] vars)
Sets the bind variables for the other end of the association. |
Methods inherited from class oracle.jbo.server.DefObject |
getPackageDef,
getPackageName,
isObjectResolved |
Methods inherited from class oracle.jbo.server.NamedObjectImpl |
getFullName,
getName,
getParent,
getProperties,
getPropertiesAsStrings,
getProperty,
setFullName,
setProperty |
Methods inherited from class oracle.jbo.common.BaseObject |
dumpState,
setTraceLevel,
setTraceWriter |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected AttributeDefImpl[] mBindVars
protected AttributeDefImpl[] mOtherBindVars
Method Detail |
public static EntityAssociation findEntityAssociation(java.lang.String entityAssocName)
entityAssocName
- the fully qualified name of the entity association.public java.lang.Class getComponentClass()
public void link(oracle.jbo.server.AssociationDefImpl srcAccr, oracle.jbo.server.AssociationDefImpl dstAccr)
srcAccr
- the source Entity Object's association accessor.dstAccr
- the destination Entity Object's association accessor.public EntityDefImpl getEntityDef()
public EntityDefImpl getOtherEntityDef()
public oracle.jbo.server.AssociationDefImpl getAccessorByEndName(java.lang.String endName)
endname
- the name of one of the association's Entity Objects.public AttributeDefImpl[] getAttributeDefImpls()
public AttributeDefImpl[] getOtherAttributeDefImpls()
public AttributeDefImpl[] getAttributeDefImplsByEndName(java.lang.String endName)
endname
- the name of one of the association's Entity Objects.public oracle.jbo.server.DefObject[] getDefs()
public void setBindVariables(AttributeDefImpl[] vars)
vars
- an array of bind variables.setOtherBindVariables(oracle.jbo.server.AttributeDefImpl[])
public AttributeDefImpl[] getBindVariables()
getOtherBindVariables()
public void setOtherBindVariables(AttributeDefImpl[] vars)
vars
- an array of bind variables.setBindVariables(oracle.jbo.server.AttributeDefImpl[])
public AttributeDefImpl[] getOtherBindVariables()
getBindVariables()
public oracle.jbo.server.AssociationEnd getAssociationEnd(java.lang.String endName)
endName
- the name of one of the association's Entity Objects.
|
Business Components | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |