package com.foundation.aggregatecollection.test; import com.foundation.metadata.Attribute; /** * Copyright Declarative Engineering LLC 2006
*/ public class Bar extends AbstractModel { public static final Attribute ID = registerAttribute(Bar.class, "id"); public static final Attribute NAME = registerAttribute(Bar.class, "name"); /** * Bar constructor. */ public Bar(Integer id, String name) { setId(id); setName(name); }//Bar()// /** * Gets the id value. * @return The id value. */ public Integer getId() { return (Integer) getAttributeValue(ID); }//getId()// /** * Sets the id value. * @param id The id value. */ private void setId(Integer id) { setAttributeValue(ID, id); }//setId()// /** * Gets the name value. * @return The name value. */ public String getName() { return (String) getAttributeValue(NAME); }//getName()// /** * Sets the name value. * @param name The name value. */ public void setName(String name) { setAttributeValue(NAME, name); }//setName()// }//Bar//