javax.persistence.Column Java Examples

The following examples show how to use javax.persistence.Column. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: PollResultDO.java    From projectforge-webapp with GNU General Public License v3.0 5 votes vote down vote up
@Column
/**
 * @return the result
 */
public boolean isResult()
{
  return result;
}
 
Example #2
Source File: WorkTime.java    From youkefu with Apache License 2.0 5 votes vote down vote up
@Id
@Column(length = 32)
@GeneratedValue(generator = "system-uuid")
@GenericGenerator(name = "system-uuid", strategy = "uuid")	
public String getId() {
	return id;
}
 
Example #3
Source File: AwardCategory.java    From pikatimer with GNU General Public License v3.0 5 votes vote down vote up
@ElementCollection(fetch = FetchType.EAGER)
@CollectionTable(
      name="race_award_category_subdivide_list",
      joinColumns=@JoinColumn(name="ac_id")
)
@Column(name="attribute")
protected Set<String> getSubDivideList(){
    return splitBy;
}
 
Example #4
Source File: RaceReport.java    From pikatimer with GNU General Public License v3.0 5 votes vote down vote up
@Id
@GenericGenerator(name="race_outputs_id" , strategy="increment")
@GeneratedValue(generator="race_outputs_id")
@Column(name="ID")
public Integer getID() {
    return IDProperty.getValue(); 
}
 
Example #5
Source File: ImageProfile.java    From uyuni with GNU General Public License v2.0 5 votes vote down vote up
/**
 * @return the profileId
 */
@Id
@Column(name = "profile_id")
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "imgprof_seq")
@SequenceGenerator(name = "imgprof_seq", sequenceName = "suse_imgprof_prid_seq",
                   allocationSize = 1)
public Long getProfileId() {
    return profileId;
}
 
Example #6
Source File: Author.java    From celerio-angular-quickstart with Apache License 2.0 4 votes vote down vote up
@Column(name = "BIRTH_DATE", length = 8)
public LocalDate getBirthDate() {
    return birthDate;
}
 
Example #7
Source File: ViewApplicationActionEventPageElementDailySummary.java    From cia with Apache License 2.0 4 votes vote down vote up
/**
 * Gets the value of the hits property.
 * 
 */
@Basic
@Column(name = "HITS", precision = 20)
public long getHits() {
    return hits;
}
 
Example #8
Source File: LeaveInfo.java    From lemon with Apache License 2.0 4 votes vote down vote up
/** @return null. */
@Column(name = "EMPLOYEE_ID", length = 64)
public String getEmployeeId() {
    return this.employeeId;
}
 
Example #9
Source File: Trip.java    From Spring-MVC-Blueprints with MIT License 4 votes vote down vote up
@Column(name = "sights_stops", nullable = false)
public int getSightsStops() {
	return this.sightsStops;
}
 
Example #10
Source File: AdEntity.java    From jeewx with Apache License 2.0 4 votes vote down vote up
/**
 *方法: 取得java.lang.String
 *@return: java.lang.String  图片地址
 */
@Column(name ="IMAGE_HREF",nullable=true,length=255)
public java.lang.String getImageHref(){
	return this.imageHref;
}
 
Example #11
Source File: SpringDataEntity.java    From micro-server with Apache License 2.0 4 votes vote down vote up
@Id
@GeneratedValue(strategy = IDENTITY)
@Column(name = "id", unique = true, nullable = false)
public Long getId() {
	return id;
}
 
Example #12
Source File: SkuInfo.java    From lemon with Apache License 2.0 4 votes vote down vote up
/** @return null. */
@Column(name = "PRODUCT_NUM")
public Integer getProductNum() {
    return this.productNum;
}
 
Example #13
Source File: MultiUploadEntity.java    From jeecg with Apache License 2.0 4 votes vote down vote up
/**
 *方法: 取得java.lang.String
 *@return: java.lang.String  测试文件1
 */

@Column(name ="TEST_FILE_1",nullable=true,length=256)
public java.lang.String getTestFile1(){
	return this.testFile1;
}
 
Example #14
Source File: OssBucket.java    From lemon with Apache License 2.0 4 votes vote down vote up
/** @return 主键. */
@Id
@Column(name = "ID", unique = true, nullable = false)
public Long getId() {
    return this.id;
}
 
Example #15
Source File: TFinanceEntity.java    From jeewx with Apache License 2.0 4 votes vote down vote up
/**
 *方法: 取得java.lang.Integer
 *@return: java.lang.Integer  年份
 */
@Column(name ="HAPPENYEAR",nullable=true,precision=10,scale=0)
public java.lang.Integer getHappenyear(){
	return this.happenyear;
}
 
Example #16
Source File: TSTerritory.java    From jeewx with Apache License 2.0 4 votes vote down vote up
@Column(name = "territorycode",nullable = false,length = 10)
public String getTerritoryCode() {
	return territoryCode;
}
 
Example #17
Source File: BillingStatement.java    From Spring-MVC-Blueprints with MIT License 4 votes vote down vote up
@Column(name = "catalogId", nullable = false)
public int getCatalogId() {
	return this.catalogId;
}
 
Example #18
Source File: Employee.java    From hrms with Apache License 2.0 4 votes vote down vote up
@Column(name = "empPoliticalVisage", length = 50)
public String getEmpPoliticalVisage() {
	return this.empPoliticalVisage;
}
 
Example #19
Source File: TSInterfaceEntity.java    From jeecg with Apache License 2.0 4 votes vote down vote up
/**
 *方法: 取得java.lang.String
 *@return: java.lang.String  更新人名称
 */

@Column(name ="update_name",nullable=true,length=50)
public java.lang.String getUpdateName(){
	return this.updateName;
}
 
Example #20
Source File: PublisherAssertion.java    From juddi with Apache License 2.0 4 votes vote down vote up
@Column(name = "to_check", nullable = false, length = 5)
public String getToCheck() {
        return this.toCheck;
}
 
Example #21
Source File: PersonInfo.java    From lemon with Apache License 2.0 4 votes vote down vote up
/** @return 生日. */
@Temporal(TemporalType.TIMESTAMP)
@Column(name = "BIRTHDAY", length = 26)
public Date getBirthday() {
    return this.birthday;
}
 
Example #22
Source File: Signature.java    From juddi with Apache License 2.0 4 votes vote down vote up
@Column(name="xml_id")
public String getXmlID() {
    return xmlID;
}
 
Example #23
Source File: BaseDomainHelper.java    From uyuni with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Gets the current value of modified
 * @return Date the current value
 */
@Column(name = "modified")
@UpdateTimestamp
public Date getModified() {
    return this.modified;
}
 
Example #24
Source File: BpmConfNotice.java    From lemon with Apache License 2.0 4 votes vote down vote up
/** @return 接收人. */
@Column(name = "RECEIVER", length = 200)
public String getReceiver() {
    return this.receiver;
}
 
Example #25
Source File: PlmConfig.java    From lemon with Apache License 2.0 4 votes vote down vote up
/** @return null. */
@Column(name = "CODE", length = 50)
public String getCode() {
    return this.code;
}
 
Example #26
Source File: Snippet.java    From website with GNU Affero General Public License v3.0 4 votes vote down vote up
@Column(nullable = false)
@Type(type = "org.jadira.usertype.dateandtime.joda.PersistentDateTime")
public DateTime getCreatedDate() {
	return createdDate;
}
 
Example #27
Source File: BbPerspective.java    From bamboobsc with Apache License 2.0 4 votes vote down vote up
@Column(name="NAME")
public String getName() {
	return name;
}
 
Example #28
Source File: Kost2ArtDO.java    From projectforge-webapp with GNU General Public License v3.0 4 votes vote down vote up
@Column(length = 255, nullable = false)
public String getName()
{
  return name;
}
 
Example #29
Source File: ModelInfo.java    From lemon with Apache License 2.0 4 votes vote down vote up
/** @return null. */
@Column(name = "TENANT_ID", length = 64)
public String getTenantId() {
    return this.tenantId;
}
 
Example #30
Source File: Company.java    From website with GNU Affero General Public License v3.0 4 votes vote down vote up
@Column(nullable = false)
public String getName() {
	return name;
}