MGLCategory, MTaxCategory - implement toString() method
This commit is contained in:
parent
0a950e9874
commit
0a518fa26b
|
|
@ -164,4 +164,14 @@ public class MGLCategory extends X_GL_Category
|
||||||
super(ctx, rs, trxName);
|
super(ctx, rs, trxName);
|
||||||
} // MGLCategory
|
} // MGLCategory
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString()
|
||||||
|
{
|
||||||
|
return getClass().getSimpleName()+"["+get_ID()
|
||||||
|
+", Name="+getName()
|
||||||
|
+", IsDefault="+isDefault()
|
||||||
|
+", IsActive="+isActive()
|
||||||
|
+", CategoryType="+getCategoryType()
|
||||||
|
+"]";
|
||||||
|
}
|
||||||
} // MGLCategory
|
} // MGLCategory
|
||||||
|
|
|
||||||
|
|
@ -86,4 +86,14 @@ public class MTaxCategory extends X_C_TaxCategory
|
||||||
|
|
||||||
return m_tax;
|
return m_tax;
|
||||||
} // getDefaultTax
|
} // getDefaultTax
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString()
|
||||||
|
{
|
||||||
|
return getClass().getSimpleName()+"["+get_ID()
|
||||||
|
+", Name="+getName()
|
||||||
|
+", IsDefault="+isDefault()
|
||||||
|
+", IsActive="+isActive()
|
||||||
|
+"]";
|
||||||
|
}
|
||||||
} // MTaxCategory
|
} // MTaxCategory
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue