MGLCategory, MTaxCategory - implement toString() method
This commit is contained in:
parent
0a950e9874
commit
0a518fa26b
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue