1 28 29 package org.objectweb.openccm.Containers.MetaInformation; 30 31 34 public class HomeTypeImpl 35 extends TypeImpl 36 implements HomeType { 37 38 40 protected ContainerType _container_type; 41 protected InterfaceTypeList _supported_interfaces; 42 protected AttributeTypeList _attribute_type_list; 43 protected InterfaceType _equivalent_interface; 44 45 48 public HomeTypeImpl() 49 { 50 _container_type = null; 51 _equivalent_interface = null; 52 _supported_interfaces = new InterfaceTypeListImpl(); 53 _attribute_type_list = new AttributeTypeListImpl(); 54 } 55 56 public ContainerType container_type() 57 { 58 return _container_type; 59 } 60 61 64 public InterfaceTypeList supported_interfaces() 65 { 66 return _supported_interfaces; 67 } 68 69 72 public AttributeTypeList attribute_type_list() 73 { 74 return _attribute_type_list; 75 } 76 77 80 public HomeInstance create_home_instance() 81 { 82 84 HomeInstance _tmp_home_inst = new HomeInstanceImpl(); 85 86 88 _tmp_home_inst.related_instance_kind(instance_kind.COMPONENT_INSTANCE); 90 91 _tmp_home_inst.home_ref(null); 93 _tmp_home_inst.type_reference(this); 95 96 98 return _tmp_home_inst; 99 } 100 101 104 public InterfaceType equivalent_interface() 105 { 106 return _equivalent_interface; 107 } 108 109 } 110 | Popular Tags |