當前位置: 首頁>>代碼示例>>Java>>正文


Java Basic類代碼示例

本文整理匯總了Java中javax.persistence.Basic的典型用法代碼示例。如果您正苦於以下問題:Java Basic類的具體用法?Java Basic怎麽用?Java Basic使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


Basic類屬於javax.persistence包,在下文中一共展示了Basic類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: getId

import javax.persistence.Basic; //導入依賴的package包/類
@Id
  @Basic( optional = false )
  @Column( name = "id", nullable = false  ) @org.hibernate.annotations.Type(type="org.hibernate.type.PostgresUUIDType")
public java.util.UUID getId() {
	return this.id;

}
 
開發者ID:hserv,項目名稱:coordinated-entry,代碼行數:8,代碼來源:ClientEntity.java

示例2: getId

import javax.persistence.Basic; //導入依賴的package包/類
@Id
@GeneratedValue
@Basic(optional = false)
@Column(nullable = false)
public Integer getId() {
    return id;
}
 
開發者ID:ArneLimburg,項目名稱:jpasecurity,代碼行數:8,代碼來源:PropertyAccessPerIDTestclass.java

示例3: getDob

import javax.persistence.Basic; //導入依賴的package包/類
@Type(type="org.jadira.usertype.dateandtime.threeten.PersistentLocalDateTime")
@Basic( optional = true )
@Column
@ColumnTransformer(
		read="convert_from(dob_decrypt(dob),'UTF-8')",
		write="dob_encrypt(?)")
public LocalDateTime getDob() {
	return this.dob;

}
 
開發者ID:hserv,項目名稱:coordinated-entry,代碼行數:11,代碼來源:Client.java

示例4: getId

import javax.persistence.Basic; //導入依賴的package包/類
/**
 * Return the value associated with the column: id.
 * @return A java.util.UUID object (this.id)
 */
@Id 
 @Basic( optional = false )
 @Column( name = "id", nullable = false  ) @org.hibernate.annotations.Type(type="org.hibernate.type.PostgresUUIDType")
public java.util.UUID getId() {
	return this.id;
	
}
 
開發者ID:hserv,項目名稱:coordinated-entry,代碼行數:12,代碼來源:Project.java

示例5: getProjectcommonname

import javax.persistence.Basic; //導入依賴的package包/類
/**
 * Return the value associated with the column: projectcommonname.
 * @return A String object (this.projectcommonname)
 */
@Basic( optional = true )
@Column
public String getProjectcommonname() {
	return this.projectcommonname;
	
}
 
開發者ID:hserv,項目名稱:coordinated-entry,代碼行數:11,代碼來源:Project.java

示例6: getProjectname

import javax.persistence.Basic; //導入依賴的package包/類
/**
 * Return the value associated with the column: projectname.
 * @return A String object (this.projectname)
 */
@Basic( optional = true )
@Column
public String getProjectname() {
	return this.projectname;
	
}
 
開發者ID:hserv,項目名稱:coordinated-entry,代碼行數:11,代碼來源:Project.java

示例7: getEditorSourceBytes

import javax.persistence.Basic; //導入依賴的package包/類
@Lob 
@Basic(fetch = FetchType.LAZY) 
@Column(name = "EDITOR_SOURCE_BYTES_")
public byte[] getEditorSourceBytes() {
	return this.editorSourceBytes;
}
 
開發者ID:wengwh,項目名稱:plumdo-work,代碼行數:7,代碼來源:FormDefinition.java

示例8: getGlobalId

import javax.persistence.Basic; //導入依賴的package包/類
@Basic
@Column(name = "global_id")
public String getGlobalId() {
    return globalId;
}
 
開發者ID:RWTH-i5-IDSG,項目名稱:xsharing-services-router,代碼行數:6,代碼來源:MBPlaceEntity.java

示例9: getCapacity

import javax.persistence.Basic; //導入依賴的package包/類
@Basic
@Column(name = "capacity")
public Integer getCapacity() {
    return capacity;
}
 
開發者ID:RWTH-i5-IDSG,項目名稱:xsharing-services-router,代碼行數:6,代碼來源:MBPlaceEntity.java

示例10: getOnPremisesTimeInSeconds

import javax.persistence.Basic; //導入依賴的package包/類
@Basic
@Column(name = "on_premises_time_in_seconds")
public Short getOnPremisesTimeInSeconds() {
    return onPremisesTimeInSeconds;
}
 
開發者ID:RWTH-i5-IDSG,項目名稱:xsharing-services-router,代碼行數:6,代碼來源:MBPlaceEntity.java

示例11: getProviderId

import javax.persistence.Basic; //導入依賴的package包/類
@Basic
@Column(name = "provider_id")
public String getProviderId() {
    return providerId;
}
 
開發者ID:RWTH-i5-IDSG,項目名稱:xsharing-services-router,代碼行數:6,代碼來源:MBPlaceEntity.java

示例12: getAvailableCapacity

import javax.persistence.Basic; //導入依賴的package包/類
@Basic
@Column(name = "available_capacity")
public Integer getAvailableCapacity() {
    return availableCapacity;
}
 
開發者ID:RWTH-i5-IDSG,項目名稱:xsharing-services-router,代碼行數:6,代碼來源:MBPlaceEntity.java

示例13: getAvailableVehicles

import javax.persistence.Basic; //導入依賴的package包/類
@Basic
@Column(name = "available_vehicles")
public Integer getAvailableVehicles() {
    return availableVehicles;
}
 
開發者ID:RWTH-i5-IDSG,項目名稱:xsharing-services-router,代碼行數:6,代碼來源:MBPlaceEntity.java

示例14: getName

import javax.persistence.Basic; //導入依賴的package包/類
@Basic
@Column(name = "name")
public String getName() {
    return name;
}
 
開發者ID:RWTH-i5-IDSG,項目名稱:xsharing-services-router,代碼行數:6,代碼來源:MBPlaceEntity.java

示例15: getGpsPosition

import javax.persistence.Basic; //導入依賴的package包/類
@Basic
@Column(name = "gps_position")
public String getGpsPosition() {
    return gpsPosition;
}
 
開發者ID:RWTH-i5-IDSG,項目名稱:xsharing-services-router,代碼行數:6,代碼來源:MBPlaceEntity.java


注:本文中的javax.persistence.Basic類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。