public class PolicyAssociation extends Association
PolicyCmptTypes.IModelTypeAssociation.AssociationType| Constructor and Description |
|---|
PolicyAssociation(Type type,
Method getterMethod) |
| Modifier and Type | Method and Description |
|---|---|
PolicyAssociation |
createOverwritingAssociationFor(Type subType) |
ProductCmptType |
getMatchingAssociationSourceType()
Returns the
ProductCmptType identified by Association.getMatchingAssociationSource() |
PolicyCmptType |
getModelType()
Deprecated.
Use
getType() |
PolicyCmptType |
getTarget()
Returns the target
Type of this association. |
List<IModelObject> |
getTargetObjects(IModelObject source)
Returns a list of the target(s) of the given model object's association identified by this
model type association.
|
PolicyCmptType |
getType()
Returns the
PolicyCmptType this association belongs to. |
getAssociationKind, getAssociationType, getGetterMethod, getInverseAssociation, getLabelForPlural, getMatchingAssociation, getMatchingAssociationName, getMatchingAssociationSource, getMaxCardinality, getMinCardinality, getNamePlural, getUsedName, isDerivedUnion, isMatchingAssociationPresent, isProductRelevant, isSubsetOfADerivedUnion, toStringgetMessageHelper, getMessageKey, getTypeNamecreateMessageHelper, getDescription, getDocumentation, getExtensionPropertyIds, getExtensionPropertyValue, getLabel, getName, getRelevantProductObject, invokeField, invokeMethodclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDescription, getExtensionPropertyIds, getExtensionPropertyValue, getLabel, getNamepublic PolicyCmptType getType()
PolicyCmptType this association belongs to.@Deprecated public PolicyCmptType getModelType()
getType()getModelType in interface IModelTypeAssociationgetModelType in class TypePartpublic PolicyAssociation createOverwritingAssociationFor(Type subType)
createOverwritingAssociationFor in class Associationpublic ProductCmptType getMatchingAssociationSourceType()
ProductCmptType identified by Association.getMatchingAssociationSource()getMatchingAssociationSourceType in interface IModelTypeAssociationgetMatchingAssociationSourceType in class AssociationAssociation.getMatchingAssociationSource()public PolicyCmptType getTarget()
AssociationType of this association.getTarget in interface IModelTypeAssociationgetTarget in class Associationpublic List<IModelObject> getTargetObjects(IModelObject source)
source - a model object corresponding to the PolicyCmptType this association
belongs toIllegalArgumentException - if the model object does not have an association fitting
this model type association or that association is not accessible for any reasonCopyright © 2016. All rights reserved.