{
s_classInfo = newClassInfo(CALLS.class);
s_classInfo.setTableName("CALLS");
s_classInfo.setUIDElements(new String[]{ATTR_CALLID});
{
AttributeInfo ai = new AttributeInfo(ATTR_CALLID);
ai.setJavaName("CALLID");
ai.setColumnName("CALLID");
ai.setAttributeClass(int.class);
NumberValidator v = new NumberValidator(ATTR_CALLID);
ai.addConstraintHandler(v);
s_classInfo.addAttributeInfo(ai);
}
{
AttributeInfo ai = new AttributeInfo(ATTR_TENANTID);
ai.setJavaName("TENANTID");
ai.setColumnName("TENANTID");
ai.setAttributeClass(String.class);
StringValidator v = new StringValidator(ATTR_TENANTID);
v.setMaxLength(100);
ai.addConstraintHandler(v);
s_classInfo.addAttributeInfo(ai);
}
{
AttributeInfo ai = new AttributeInfo(ATTR_SUMMARY);
ai.setJavaName("SUMMARY");
ai.setColumnName("SUMMARY");
ai.setAttributeClass(String.class);
StringValidator v = new StringValidator(ATTR_SUMMARY);
v.setMaxLength(256);
ai.addConstraintHandler(v);
s_classInfo.addAttributeInfo(ai);
}
{
AttributeInfo ai = new AttributeInfo(ATTR_DETAILS);
ai.setJavaName("DETAILS");
ai.setColumnName("DETAILS");
ai.setAttributeClass(String.class);
StringValidator v = new StringValidator(ATTR_DETAILS);
v.setMaxLength(2147483647);
ai.addConstraintHandler(v);
s_classInfo.addAttributeInfo(ai);
}
{
AttributeInfo ai = new AttributeInfo(ATTR_PRODUCT);
ai.setJavaName("PRODUCT");
ai.setColumnName("PRODUCT");
ai.setAttributeClass(String.class);
StringValidator v = new StringValidator(ATTR_PRODUCT);
v.setMaxLength(150);
ai.addConstraintHandler(v);
s_classInfo.addAttributeInfo(ai);
}
{
AttributeInfo ai = new AttributeInfo(ATTR_REPORT_DATE);
ai.setJavaName("REPORT_DATE");
ai.setColumnName("REPORT_DATE");
ai.setAttributeClass(java.util.Date.class);
s_classInfo.addAttributeInfo(ai);
}
{
AttributeInfo ai = new AttributeInfo(ATTR_STATUS);
ai.setJavaName("STATUS");
ai.setColumnName("STATUS");
ai.setAttributeClass(String.class);
StringValidator v = new StringValidator(ATTR_STATUS);
v.setMaxLength(100);
ai.addConstraintHandler(v);
s_classInfo.addAttributeInfo(ai);
}
{
AttributeInfo ai = new AttributeInfo(ATTR_TYPE);
ai.setJavaName("TYPE");
ai.setColumnName("TYPE");
ai.setAttributeClass(String.class);
StringValidator v = new StringValidator(ATTR_TYPE);
v.setMaxLength(256);
ai.addConstraintHandler(v);
s_classInfo.addAttributeInfo(ai);
}
{
AttributeInfo ai = new AttributeInfo(ATTR_SEVERITY);
ai.setJavaName("SEVERITY");
ai.setColumnName("SEVERITY");
ai.setAttributeClass(String.class);
StringValidator v = new StringValidator(ATTR_SEVERITY);
v.setMaxLength(256);
ai.addConstraintHandler(v);
s_classInfo.addAttributeInfo(ai);
}
{
AttributeInfo ai = new AttributeInfo(ATTR_CONTACT);
ai.setJavaName("CONTACT");
ai.setColumnName("CONTACT");
ai.setAttributeClass(String.class);
StringValidator v = new StringValidator(ATTR_CONTACT);
v.setMaxLength(256);
ai.addConstraintHandler(v);
s_classInfo.addAttributeInfo(ai);
}
{
AttributeInfo ai = new AttributeInfo(ATTR_SOLVER);
ai.setJavaName("SOLVER");
ai.setColumnName("SOLVER");
ai.setAttributeClass(String.class);
StringValidator v = new StringValidator(ATTR_SOLVER);
v.setMaxLength(256);
ai.addConstraintHandler(v);
s_classInfo.addAttributeInfo(ai);
}
{
AttributeInfo ai = new AttributeInfo(ATTR_REFERENCE);
ai.setJavaName("REFERENCE");
ai.setColumnName("REFERENCE");
ai.setAttributeClass(String.class);
StringValidator v = new StringValidator(ATTR_REFERENCE);
v.setMaxLength(256);
ai.addConstraintHandler(v);
s_classInfo.addAttributeInfo(ai);
}
{
// relation CALLSOLUTIONSObjects (FK:CALLS[CALLID]:CALLSOLUTIONS[CALLID])
RelationInfo_FK ri = new RelationInfo_FK(REL_CALLSOLUTIONSObjects);