@Entity public class AccountingPackage extends Object implements Accounting, Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
ID_FIELD |
static String |
PACKAGE_REF |
| Constructor and Description |
|---|
AccountingPackage()
Instantiates a new accounting package.
|
AccountingPackage(String packageRef,
int downloadNmb,
int javadocNmb,
int sourcecodeNmb,
int wikiNmb)
Instantiates a new accounting package.
|
AccountingPackage(String id,
String packageRef,
int downloadNmb,
int javadocNmb,
int sourcecodeNmb,
int wikiNmb)
Instantiates a new accounting package.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getDownloadNmb()
Gets the download nmb.
|
String |
getId()
Gets the id.
|
int |
getInternalId()
Gets the internal id.
|
int |
getJavadocNmb()
Gets the javadoc nmb.
|
String |
getPackageId()
Gets the package id.
|
String |
getPackageRef()
Gets the package ref.
|
int |
getSourcecodeNmb()
Gets the sourcecode nmb.
|
int |
getWikiNmb()
Gets the wiki nmb.
|
void |
setDownloadNmb(int downloadNmb)
Sets the download nmb.
|
void |
setId(String id)
Sets the id.
|
void |
setJavadocNmb(int javadocNmb)
Sets the javadoc nmb.
|
void |
setPackageRef(String packageRef)
Sets the package ref.
|
void |
setSourcecodeNmb(int sourcecodeNmb)
Sets the sourcecode nmb.
|
void |
setWikiNmb(int wikiNmb)
Sets the wiki nmb.
|
String |
toString() |
public static final String ID_FIELD
public static final String PACKAGE_REF
public AccountingPackage()
public AccountingPackage(String id, String packageRef, int downloadNmb, int javadocNmb, int sourcecodeNmb, int wikiNmb)
id - the idpackageRef - the package refdownloadNmb - the download nmbjavadocNmb - the javadoc nmbsourcecodeNmb - the sourcecode nmbwikiNmb - the wiki nmbpublic AccountingPackage(String packageRef, int downloadNmb, int javadocNmb, int sourcecodeNmb, int wikiNmb)
packageRef - the package refdownloadNmb - the download nmbjavadocNmb - the javadoc nmbsourcecodeNmb - the sourcecode nmbwikiNmb - the wiki nmbpublic String getId()
public String getPackageRef()
public int getDownloadNmb()
AccountinggetDownloadNmb in interface Accountingpublic int getJavadocNmb()
AccountinggetJavadocNmb in interface Accountingpublic int getSourcecodeNmb()
AccountinggetSourcecodeNmb in interface Accountingpublic int getWikiNmb()
AccountinggetWikiNmb in interface Accountingpublic void setId(String id)
id - the new idpublic void setPackageRef(String packageRef)
packageRef - the new package refpublic void setDownloadNmb(int downloadNmb)
downloadNmb - the new download nmbpublic void setJavadocNmb(int javadocNmb)
javadocNmb - the new javadoc nmbpublic void setSourcecodeNmb(int sourcecodeNmb)
sourcecodeNmb - the new sourcecode nmbpublic void setWikiNmb(int wikiNmb)
wikiNmb - the new wiki nmbpublic String getPackageId()
AccountinggetPackageId in interface Accountingpublic int getInternalId()
Copyright © 2015. All Rights Reserved.