1 17 package org.alfresco.repo.dictionary; 18 19 20 26 public class M2ChildAssociation extends M2ClassAssociation 27 { 28 private String requiredChildName = null; 29 private Boolean allowDuplicateChildName = null; 30 31 32 M2ChildAssociation() 33 { 34 } 35 36 37 M2ChildAssociation(String name) 38 { 39 super(name); 40 } 41 42 43 public String getRequiredChildName() 44 { 45 return requiredChildName; 46 } 47 48 49 public void setRequiredChildName(String requiredChildName) 50 { 51 this.requiredChildName = requiredChildName; 52 } 53 54 55 public boolean allowDuplicateChildName() 56 { 57 return allowDuplicateChildName == null ? true : allowDuplicateChildName; 58 } 59 60 61 public void setAllowDuplicateChildName(boolean allowDuplicateChildName) 62 { 63 this.allowDuplicateChildName = allowDuplicateChildName; 64 } 65 66 } 67 | Popular Tags |