1 20 package org.apache.directory.ldapstudio.schemas.view.editors.attributeType; 21 22 23 import java.util.ArrayList ; 24 import java.util.List ; 25 26 import org.apache.directory.ldapstudio.schemas.model.AttributeType; 27 28 29 35 public class ATESuperiorComboInput 36 { 37 38 private AttributeType at; 39 40 41 private List <Object > children; 42 43 44 50 public ATESuperiorComboInput( AttributeType at ) 51 { 52 this.at = at; 53 } 54 55 56 62 public AttributeType getAttributeType() 63 { 64 return at; 65 } 66 67 68 74 public void addChild( Object child ) 75 { 76 if ( children == null ) 77 { 78 children = new ArrayList <Object >(); 79 } 80 81 children.add( child ); 82 } 83 84 85 91 public List <Object > getChildren() 92 { 93 if ( children == null ) 94 { 95 children = new ArrayList <Object >(); 96 } 97 98 return children; 99 } 100 } 101 | Popular Tags |