1 17 package org.alfresco.repo.dictionary; 18 19 import org.alfresco.service.cmr.dictionary.ChildAssociationDefinition; 20 import org.alfresco.service.cmr.dictionary.ClassDefinition; 21 import org.alfresco.service.namespace.NamespacePrefixResolver; 22 23 24 29 class M2ChildAssociationDefinition extends M2AssociationDefinition 30 implements ChildAssociationDefinition 31 { 32 33 39 M2ChildAssociationDefinition(ClassDefinition classDef, M2ChildAssociation assoc, NamespacePrefixResolver resolver) 40 { 41 super(classDef, assoc, resolver); 42 } 43 44 45 48 public String getRequiredChildName() 49 { 50 return ((M2ChildAssociation)getM2Association()).getRequiredChildName(); 51 } 52 53 54 57 public boolean getDuplicateChildNamesAllowed() 58 { 59 return ((M2ChildAssociation)getM2Association()).allowDuplicateChildName(); 60 } 61 62 } 63 | Popular Tags |