下面列出了怎么用javax.persistence.Basic的API类实例代码及写法,或者点击链接到github查看源代码。
/**
* Gets the value of the disagreePercentage property.
*
*/
@Basic
@Column(name = "DISAGREE_PERCENTAGE", precision = 20)
public long getDisagreePercentage() {
return disagreePercentage;
}
/**
* Gets the hangar guid.
*
* @return the hangar guid
*/
@Basic
@Column(name = "HANGAR_GUID")
public String getHangarGuid() {
return hangarGuid;
}
/**
* @return the tpName
*/
@Basic
@Column(name = "TP_NAME", length = 9, nullable = false)
public String getTpName() {
return tpName;
}
/**
* Gets the value of the hits property.
*
*/
@Basic
@Column(name = "HITS", precision = 20)
public long getHits() {
return hits;
}
/**
* Gets the value of the totalDaysServedGovernment property.
*
*/
@Basic
@Column(name = "TOTAL_DAYS_SERVED_GOVERNMENT", precision = 20)
public long getTotalDaysServedGovernment() {
return totalDaysServedGovernment;
}
/**
* Gets the last name.
*
* @return the last name
*/
@Basic
@Column(name = "LAST_NAME")
public String getLastName() {
return lastName;
}
/**
* Gets the value of the totalAssignments property.
*
*/
@Basic
@Column(name = "TOTAL_ASSIGNMENTS", precision = 20)
public long getTotalAssignments() {
return totalAssignments;
}
/**
* Gets the system date.
*
* @return the system date
*/
@Basic
@Column(name = "SYSTEM_DATE")
public String getSystemDate() {
return systemDate;
}
/**
* Gets the made public date.
*
* @return the made public date
*/
@Basic
@Column(name = "MADE_PUBLIC_DATE")
public String getMadePublicDate() {
return madePublicDate;
}
/**
* Gets the value of the yesVotes property.
*
*/
@Basic
@Column(name = "YES_VOTES", precision = 20)
public long getYesVotes() {
return yesVotes;
}
/**
* Gets the value of the headCount property.
*
*/
@Basic
@Column(name = "HEAD_COUNT", precision = 20)
public long getHeadCount() {
return headCount;
}
/**
* Gets the sub title.
*
* @return the sub title
*/
@Basic
@Column(name = "SUB_TITLE")
public String getSubTitle() {
return subTitle;
}
/**
* Gets the title.
*
* @return the title
*/
@Basic
@Column(name = "TITLE", length = 65536)
public String getTitle() {
return title;
}
/**
* Gets the value of the totalDaysServed property.
*
*/
@Basic
@Column(name = "TOTAL_DAYS_SERVED", precision = 20)
public long getTotalDaysServed() {
return totalDaysServed;
}
@Basic
@Column(name = "CODE", unique = true, nullable = false, length = 255)
public String getCode() {
return code;
}
/**
* Gets the debate name.
*
* @return the debate name
*/
@Basic
@Column(name = "DEBATE_NAME")
public String getDebateName() {
return debateName;
}
/**
* Gets the value of the active property.
*
*/
@Basic
@Column(name = "ACTIVE")
public boolean isActive() {
return active;
}
/**
* Gets the value of the politicianYesVotes property.
*
*/
@Basic
@Column(name = "POLITICIAN_YES_VOTES", precision = 20)
public long getPoliticianYesVotes() {
return politicianYesVotes;
}
/**
* Gets the value of the bornYear property.
*
*/
@Basic
@Column(name = "BORN_YEAR", precision = 10, scale = 0)
public int getBornYear() {
return bornYear;
}
/**
* Gets the value of the currentMemberSize property.
*
*/
@Basic
@Column(name = "CURRENT_MEMBER_SIZE", precision = 20)
public long getCurrentMemberSize() {
return currentMemberSize;
}
/**
* Gets the value of the approved property.
*
*/
@Basic
@Column(name = "APPROVED")
public boolean isApproved() {
return approved;
}
/**
* Gets the phone number.
*
* @return the phone number
*/
@Basic
@Column(name = "PHONE_NUMBER")
public String getPhoneNumber() {
return phoneNumber;
}
/**
* Gets the source organization.
*
* @return the source organization
*/
@Basic
@Column(name = "SOURCE_ORGANIZATION", length = 65536)
public String getSourceOrganization() {
return sourceOrganization;
}
/**
* Gets the value.
*
* @return the value
*/
@Basic
@Column(name = "VALUE_")
public String getValue() {
return value;
}
/**
* Gets the value of the partyApproved property.
*
*/
@Basic
@Column(name = "PARTY_APPROVED")
public boolean isPartyApproved() {
return partyApproved;
}
/**
* Gets the id.
*
* @return the id
*/
@Basic
@Column(name = "ID")
public String getId() {
return id;
}
/**
* Gets the first name.
*
* @return the first name
*/
@Basic
@Column(name = "FIRST_NAME")
public String getFirstName() {
return firstName;
}
/**
* Gets the wording 2.
*
* @return the wording 2
*/
@Basic
@Column(name = "WORDING_2")
public String getWording2() {
return wording2;
}
/**
* Gets the org.
*
* @return the org
*/
@Basic
@Column(name = "ORG")
public String getOrg() {
return org;
}
/**
* Gets the value of the partyYesVotes property.
*
*/
@Basic
@Column(name = "PARTY_YES_VOTES", precision = 20)
public long getPartyYesVotes() {
return partyYesVotes;
}