/** * setAttrInvokeAccessor: generated method. Do not modify. * * @param index the index identifying the attribute * @param value the value to assign to the attribute * @param attrDef the attribute * @throws Exception */ protected void setAttrInvokeAccessor(int index, Object value, AttributeDefImpl attrDef) throws Exception { if ((index >= AttributesEnum.firstIndex()) && (index < AttributesEnum.count())) { AttributesEnum.staticValues()[index - AttributesEnum.firstIndex()].put(this, value); return; } super.setAttrInvokeAccessor(index, value, attrDef); }
@Override protected void create(AttributeList attributeList) { super.create(attributeList); // set the default hire date to today this.setHireDate((Date) Date.getCurrentDate()); }