I am trying to understand the Alfresco associations. I have understood the concept behind peer association as well as parent child association with examples.
I am referring their official docs example (peer association) : http://docs.alfresco.com/5.2/tasks/dev-extensions-content-models-tutorials-add-association.html
Screenshot :
Question: I am not following how mandatory and many parameters can be used within source? Most of examples, I have seen, those are set to same as target. Can anybody explain the use-case where I can set many is true in source and false in target with real use-case/example?
答案 0 :(得分:1)
有很多场景,其中许多在源中是错误的,在目标中是真的。您可以检查现有的露天内容模型.Below是相同的链接。
除了关于关联之外,您还可以在下面的链接中找到更多详细信息。
https://docs.alfresco.com/4.0/concepts/metadata-model-assoc.html
答案 1 :(得分:0)
假设您有一份合同,并且您希望将其与客户关联。这是一对多的关系。合同只与一个客户相关联(目标,很多=假),但客户可以有许多合同(来源,很多=真)。