{
@Override
public java.lang.Object getValue(java.lang.Object object)
throws IllegalStateException
{
Templates target = (Templates) object;
return target.getTemplate();
}
@Override
public void setValue(java.lang.Object object, java.lang.Object value)
throws IllegalStateException, IllegalArgumentException
{
try
{
Templates target = (Templates) object;
target
.addTemplate((org.xrace.desjardins.trx.Template) value);
}
catch (java.lang.Exception ex)
{
throw new IllegalStateException(ex.toString());
}
}
@Override
public void resetValue(Object object) throws IllegalStateException,
IllegalArgumentException
{
try
{
Templates target = (Templates) object;
target.removeAllTemplate();
}
catch (java.lang.Exception ex)
{
throw new IllegalStateException(ex.toString());
}