generated from adempiere/adempiere-grpc-template-service
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9228a00
commit b8b8c33
Showing
10 changed files
with
93 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,10 +14,43 @@ | |
************************************************************************************/ | ||
package org.spin.report_engine.format; | ||
|
||
import org.adempiere.core.domains.models.I_AD_PrintFormatItem; | ||
import org.compiere.print.MPrintFormatItem; | ||
|
||
/** | ||
* Print Format Line Representation | ||
* @author Yamel Senih, [email protected], ERPCyA http://www.erpya.com | ||
*/ | ||
public class PrintFormatLine { | ||
public class PrintFormatItem { | ||
|
||
private String name; | ||
private String printText; | ||
private int sequence; | ||
|
||
private PrintFormatItem(MPrintFormatItem printFormatItem) { | ||
name = printFormatItem.getName(); | ||
printText = printFormatItem.get_Translation(I_AD_PrintFormatItem.COLUMNNAME_PrintName); | ||
sequence = printFormatItem.getAD_PrintFormat_ID(); | ||
} | ||
|
||
public static PrintFormatItem newInstance(MPrintFormatItem printFormatItem) { | ||
return new PrintFormatItem(printFormatItem); | ||
} | ||
|
||
public String getName() { | ||
return name; | ||
} | ||
|
||
public String getPrintText() { | ||
return printText; | ||
} | ||
|
||
public int getSequence() { | ||
return sequence; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return "PrintFormatItem [name=" + name + ", printText=" + printText + ", sequence=" + sequence + "]"; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters