@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 mavenRepoNmb,
int wikiNmb)
Instantiates a new accounting package.
|
AccountingPackage(String id,
String packageRef,
int downloadNmb,
int javadocNmb,
int mavenRepoNmb,
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.
|
int |
getMavenRepoNmb()
Gets the maven repo nmb.
|
String |
getPackageId()
Gets the package id.
|
String |
getPackageRef()
Gets the package ref.
|
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 |
setMavenRepoNmb(int mavenRepoNmb)
Sets the maven repo nmb.
|
void |
setPackageRef(String packageRef)
Sets the package ref.
|
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 mavenRepoNmb, int wikiNmb)
id
- the idpackageRef
- the package refdownloadNmb
- the download nmbjavadocNmb
- the javadoc nmbmavenRepoNmb
- the maven repo nmbwikiNmb
- the wiki nmbpublic AccountingPackage(String packageRef, int downloadNmb, int javadocNmb, int mavenRepoNmb, int wikiNmb)
packageRef
- the package refdownloadNmb
- the download nmbjavadocNmb
- the javadoc nmbmavenRepoNmb
- the maven repo nmbwikiNmb
- the wiki nmbpublic String getId()
public String getPackageRef()
public int getDownloadNmb()
Accounting
getDownloadNmb
in interface Accounting
public int getJavadocNmb()
Accounting
getJavadocNmb
in interface Accounting
public int getMavenRepoNmb()
Accounting
getMavenRepoNmb
in interface Accounting
public int getWikiNmb()
Accounting
getWikiNmb
in interface Accounting
public 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 setMavenRepoNmb(int mavenRepoNmb)
mavenRepoNmb
- the new maven repo nmbpublic void setWikiNmb(int wikiNmb)
wikiNmb
- the new wiki nmbpublic String getPackageId()
Accounting
getPackageId
in interface Accounting
public int getInternalId()
Copyright © 2016. All Rights Reserved.