MGLCategory, MTaxCategory - implement toString() method

This commit is contained in:
teo_sarca 2009-07-15 07:36:35 +00:00
parent 0a950e9874
commit 0a518fa26b
2 changed files with 21 additions and 1 deletions

View File

@ -163,5 +163,15 @@ public class MGLCategory extends X_GL_Category
{
super(ctx, rs, trxName);
} // MGLCategory
@Override
public String toString()
{
return getClass().getSimpleName()+"["+get_ID()
+", Name="+getName()
+", IsDefault="+isDefault()
+", IsActive="+isActive()
+", CategoryType="+getCategoryType()
+"]";
}
} // MGLCategory

View File

@ -86,4 +86,14 @@ public class MTaxCategory extends X_C_TaxCategory
return m_tax;
} // getDefaultTax
@Override
public String toString()
{
return getClass().getSimpleName()+"["+get_ID()
+", Name="+getName()
+", IsDefault="+isDefault()
+", IsActive="+isActive()
+"]";
}
} // MTaxCategory