私は以下を含むクラスAを持っています
class A
{
private HashSet<Long> at = new HashSet<Long>();
and it has a constructor like this
A()
{
//set is being initialsised here
this.at.add(new Long(44));
this.at.add(new Long(34));
this.at.add(new Long(54));
this.at.add(new Long(55));
}
以下は、そのために定義されたSpring xml Beanです...
<bean id="aa" class="com.abc.A">
<property name="readPermissionGroup">
<set>
<value>03</value>
<value>13</value>
<value>54</value>
<value>55</value>
</set>
</property>
</bean>
Bean bbにはクラスAの完全な定義が含まれているため、上記のBean aaをbbに追加する方法を教えてください