<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="
        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">

    <!-- bean definitions here -->
	<bean id = "emp" class="my.kayden.setUpSpring.company.Employee" autowire="constructor">
		<property name = "name" value = "Beatrice"></property>
		<property name = "skills">
			<list>
				<value>C++</value>
				<value>Python</value>
				<value>Spring</value>
			</list>
		</property>
	</bean>
	
	<bean id = "addr" class = "my.kayden.setUpSpring.company.Address">
		<constructor-arg type = "java.lang.String" index = "0" value = "From Constructor"/>
		<constructor-arg type = "java.lang.String" index = "1"> <value>"City from constructor"</value> </constructor-arg>
		<property name = "street" value = "Not Constructed"></property>
		<property name = "city" value = "Not Constructed"></property>
		<property name = "residence">
			<map>
				<entry key = "1" value = "Alex"/>
				<entry key = "2" value = "Betty"/>
				<entry key = "3" value = "Cathy"/>
			</map>
		</property>
	</bean>

</beans>