public interface MAssociationDescription extends MMetaDescription
MAssociationDescription
interface describes a particular association between
two classes, called class A and class B.
Because an association is between two classes, there is not a specific sense of a to Class and a from Class. The API is organized around two half-specifications called association endpoint descriptions.
Modifier and Type | Method and Description |
---|---|
com.tibco.infra.base.GlobalName |
getAssociationGlobalName()
Deprecated.
as of TIBCO Adapter SDK 5.0.0.
|
java.lang.String |
getAssociationName()
Deprecated.
as of Java SDK 3.0.
|
java.lang.String |
getAssociationShortName()
Retrieve the short name of the association and return it as a string.
|
MAssociationEndpointDescription |
getEndpointA()
Return the "A" half of a twin-tuple making this association.
|
MAssociationEndpointDescription |
getEndpointB()
Return the "B" half of a twin-tuple making this association.
|
java.lang.String |
getFullName()
Return the full name of this metadata class.
|
java.lang.String |
getPathName()
Return the full name without the last part.
|
java.lang.String |
getShortName()
Return the last part of the name.
|
void |
setEndpointA(MAssociationEndpointDescription desc)
Create the "A" half of a twin-tuple making this association,
and add it to this association.
|
MAssociationEndpointDescription |
setEndpointA(java.lang.String roleName,
com.tibco.infra.base.GlobalName endptClassName,
int minMultiplicity,
int maxMultiplicity,
int assocType,
boolean isNavigable,
java.util.Vector keyAttributes)
Deprecated.
as of TIBCO Adapter SDK 5.0.0.
|
MAssociationEndpointDescription |
setEndpointA(java.lang.String roleName,
MModeledClassDescription endptClass,
int minMultiplicity,
int maxMultiplicity,
int assocType,
boolean isNavigable,
java.util.Vector keyAttributes)
Create the "A" half of a twin-tuple making this association,
and add it to this association.
|
MAssociationEndpointDescription |
setEndpointA(java.lang.String roleName,
java.lang.String endptClassName,
int minMultiplicity,
int maxMultiplicity,
int assocType,
boolean isNavigable,
java.util.Vector keyAttributes)
Create the "A" half of a twin-tuple making this association,
and add it to this association.
|
void |
setEndpointB(MAssociationEndpointDescription desc)
Create the "B" half of a twin tuple making this association,
and add it to this association
|
MAssociationEndpointDescription |
setEndpointB(java.lang.String roleName,
com.tibco.infra.base.GlobalName endptClassName,
int minMultiplicity,
int maxMultiplicity,
int assocType,
boolean isNavigable,
java.util.Vector keyAttributes)
Deprecated.
as of TIBCO Adapter SDK 5.0.0.
|
MAssociationEndpointDescription |
setEndpointB(java.lang.String roleName,
MModeledClassDescription endptClass,
int minMultiplicity,
int maxMultiplicity,
int assocType,
boolean isNavigable,
java.util.Vector keyAttributes)
Create the "B" half of a twin-tuple making this association,
and add it to this association.
|
MAssociationEndpointDescription |
setEndpointB(java.lang.String roleName,
java.lang.String endptClassName,
int minMultiplicity,
int maxMultiplicity,
int assocType,
boolean isNavigable,
java.util.Vector keyAttributes)
Create the "B" half of a twin-tuple making this association,
and add it to this association.
|
getProperties, getProperty, getPropertyCount, getPropertyNames, isOK, isOK
com.tibco.infra.base.GlobalName getAssociationGlobalName()
java.lang.String getAssociationShortName()
java.lang.String getAssociationName()
MAssociationEndpointDescription getEndpointA()
MAssociationEndpointDescription
MAssociationEndpointDescription getEndpointB()
MAssociationEndpointDescription
void setEndpointA(MAssociationEndpointDescription desc)
MAssociationEndpointDescription setEndpointA(java.lang.String roleName, com.tibco.infra.base.GlobalName endptClassName, int minMultiplicity, int maxMultiplicity, int assocType, boolean isNavigable, java.util.Vector keyAttributes)
MAssociationEndpointDescription setEndpointA(java.lang.String roleName, java.lang.String endptClassName, int minMultiplicity, int maxMultiplicity, int assocType, boolean isNavigable, java.util.Vector keyAttributes)
roleName
- Name of the association endpoint.endptClassName
- Class description for the endpoint.minMultiplicity
- Minimum association cardinality for this endpoint.maxMultiplicity
- Maximum association cardinality for this endpoint.assocType
- Association type, defined by the data members of MAssociationEndpointDescription
isNavigable
- If true
, it is possible to traverse to this endpoint.keyAttributes
- List of attributes used in matching instances of related classes. This
is a list of MAttributeDescription instances.MAssociationEndpointDescription setEndpointA(java.lang.String roleName, MModeledClassDescription endptClass, int minMultiplicity, int maxMultiplicity, int assocType, boolean isNavigable, java.util.Vector keyAttributes)
roleName
- Name of the association endpoint.endptClass
- Class description for the endpoint.minMultiplicity
- Minimum association cardinality for this endpoint.maxMultiplicity
- Maximum association cardinality for this endpoint.assocType
- Association type, defined by the data members of MAssociationEndpointDescription
isNavigable
- If true
, it is possible to traverse to this endpoint.keyAttributes
- List of attributes used in matching instances of related classes.void setEndpointB(MAssociationEndpointDescription desc)
MAssociationEndpointDescription setEndpointB(java.lang.String roleName, com.tibco.infra.base.GlobalName endptClassName, int minMultiplicity, int maxMultiplicity, int assocType, boolean isNavigable, java.util.Vector keyAttributes)
MAssociationEndpointDescription setEndpointB(java.lang.String roleName, java.lang.String endptClassName, int minMultiplicity, int maxMultiplicity, int assocType, boolean isNavigable, java.util.Vector keyAttributes)
roleName
- Name of the association endpoint.endptClassName
- Class description for the endpoint.minMultiplicity
- Minimum association cardinality for this endpoint.maxMultiplicity
- Maximum association cardinality for this endpoint.assocType
- Association type, defined by the data members of MAssociationEndpointDescription
isNavigable
- If true
, it is possible to traverse to this endpoint.keyAttributes
- List of attributes used in matching instances of related classes.MAssociationEndpointDescription setEndpointB(java.lang.String roleName, MModeledClassDescription endptClass, int minMultiplicity, int maxMultiplicity, int assocType, boolean isNavigable, java.util.Vector keyAttributes)
roleName
- Name of the association endpoint.endptClass
- Class description for the endpoint.minMultiplicity
- Minimum association cardinality for this endpoint.maxMultiplicity
- Maximum association cardinality for this endpoint.assocType
- Association type, defined by the data members of MAssociationEndpointDescription
isNavigable
- If true
, it is possible to traverse to this endpoint.keyAttributes
- List of attributes used in matching instances of related classes.java.lang.String getFullName()
java.lang.String getShortName()
See "Metadata Class Names" in TIBCO Adapter SDK Programmer's Guide.
java.lang.String getPathName()
See "Metadata Class Names" in TIBCO Adapter SDK Programmer's Guide.