|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.hl7.meta.mif.FeatureAdapter
org.hl7.meta.mif.AssociationAdapter
public class AssociationAdapter
| Field Summary | |
|---|---|
protected hl7OrgV3.mif.AssociationEndWithClass |
_mifThing
|
protected CloneClass |
_target
|
protected boolean |
isReference
|
| Fields inherited from class org.hl7.meta.mif.FeatureAdapter |
|---|
_inheritanceDegree, _owner |
| Constructor Summary | |
|---|---|
protected |
AssociationAdapter(CloneClassAdapter owner,
hl7OrgV3.mif.AssociationEndWithClass mifThing,
java.lang.String sortKey)
|
| Method Summary | |
|---|---|
Cardinality |
getCardinality()
Returns the feature's cardinality. |
Conformance |
getConformance()
Returns the conformance field attached to this feature. |
java.lang.String |
getConstraint()
Returns the textual constraint note attached to the feature. |
MetSource |
getMetSource()
Returns the MET source enumeration for this association. |
java.lang.String |
getName()
Returns the feature's name, which may be the attribute name, or the short name in case of an association. |
java.lang.String |
getPropertyName()
|
java.lang.String |
getRimClass()
Returns the name of the RIM class where the feature was originally defined. |
java.lang.String |
getRimPropertyName()
Returns the property name inside the RIM class. |
CloneClass |
getTarget()
Returns the clone class that is targeted by this association. |
boolean |
isMandatory()
Returns a flag showing if the feature is mandatory in the clone class. |
boolean |
isReference()
Since the introduction of MIF file, the concept of MET source Reused and Recursive is replaced by reference |
protected void |
setReference(boolean isReference)
|
protected void |
setupTarget()
|
java.lang.String |
toString()
|
| Methods inherited from class org.hl7.meta.mif.FeatureAdapter |
|---|
getParent, getSortKey |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.hl7.meta.Feature |
|---|
getParent, getSortKey |
| Field Detail |
|---|
protected hl7OrgV3.mif.AssociationEndWithClass _mifThing
protected CloneClass _target
protected boolean isReference
| Constructor Detail |
|---|
protected AssociationAdapter(CloneClassAdapter owner,
hl7OrgV3.mif.AssociationEndWithClass mifThing,
java.lang.String sortKey)
throws LoaderException
LoaderException| Method Detail |
|---|
protected void setupTarget()
throws LoaderException
LoaderExceptionpublic java.lang.String getName()
Feature
getName in interface FeaturegetName in class FeatureAdapterpublic MetSource getMetSource()
Association
getMetSource in interface Associationpublic boolean isReference()
Association
isReference in interface Associationprotected void setReference(boolean isReference)
public Conformance getConformance()
Feature
getConformance in interface FeaturegetConformance in class FeatureAdapterpublic boolean isMandatory()
Feature
isMandatory in interface FeatureisMandatory in class FeatureAdapterpublic java.lang.String getRimClass()
Feature
getRimClass in interface FeaturegetRimClass in class FeatureAdapterpublic java.lang.String getRimPropertyName()
Feature
getRimPropertyName in interface FeaturegetRimPropertyName in class FeatureAdapterpublic java.lang.String getPropertyName()
getPropertyName in interface AssociationAssociation#getPropertyName()public Cardinality getCardinality()
Feature
getCardinality in interface FeaturegetCardinality in class FeatureAdapterpublic java.lang.String getConstraint()
Feature
getConstraint in interface FeaturegetConstraint in class FeatureAdapterpublic CloneClass getTarget()
Association
getTarget in interface Associationpublic java.lang.String toString()
toString in class FeatureAdapter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||