org.hl7.meta
Interface Association

All Superinterfaces:
java.lang.Cloneable, Feature, Metadata
All Known Subinterfaces:
ChoiceAssociation, CloneClassAssociation, CmetAssociation
All Known Implementing Classes:
AssociationAdapter, ChoiceAssociationAdapter, ChoiceBranchAssociationAdapter, CmetAssociationAdapter, CmetChoiceAssociationAdapter, CmetChoiceBranchAssociationAdapter

public interface Association
extends Feature

A read only interface to the class AssociationImpl, which represents an HL7 v3 association between two clone classes, or between a clone class and a CMET.

Author:
Skirmantas Kligys (skirmis@hotmail.com)

Method Summary
 MetSource getMetSource()
          Deprecated. replaced by isRecursive
 java.lang.String getPropertyName()
           
 CloneClass getTarget()
          Returns the clone class that is targeted by this association.
 boolean isReference()
          Since the introduction of MIF file, the concept of MET source Reused and Recursive is replaced by reference
 
Methods inherited from interface org.hl7.meta.Feature
getCardinality, getConformance, getConstraint, getName, getParent, getRimClass, getRimPropertyName, getSortKey, isMandatory
 

Method Detail

getMetSource

MetSource getMetSource()
Deprecated. replaced by isRecursive

Returns the MET source enumeration for this association.

Returns:
the MET source

isReference

boolean isReference()
Since the introduction of MIF file, the concept of MET source Reused and Recursive is replaced by reference

Returns:
is referenced before or not

getTarget

CloneClass getTarget()
                     throws LoaderException
Returns the clone class that is targeted by this association.

Returns:
the target clone class
Throws:
LoaderException - if on-demand loading fails for CmetAssociation

getPropertyName

java.lang.String getPropertyName()
Returns:
the name of this association on the most specialized implementation of this association's owner.