本文整理匯總了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;
}
示例2: getId
import javax.persistence.Basic; //導入依賴的package包/類
@Id
@GeneratedValue
@Basic(optional = false)
@Column(nullable = false)
public Integer getId() {
return id;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例7: getEditorSourceBytes
import javax.persistence.Basic; //導入依賴的package包/類
@Lob
@Basic(fetch = FetchType.LAZY)
@Column(name = "EDITOR_SOURCE_BYTES_")
public byte[] getEditorSourceBytes() {
return this.editorSourceBytes;
}
示例8: getGlobalId
import javax.persistence.Basic; //導入依賴的package包/類
@Basic
@Column(name = "global_id")
public String getGlobalId() {
return globalId;
}
示例9: getCapacity
import javax.persistence.Basic; //導入依賴的package包/類
@Basic
@Column(name = "capacity")
public Integer getCapacity() {
return capacity;
}
示例10: getOnPremisesTimeInSeconds
import javax.persistence.Basic; //導入依賴的package包/類
@Basic
@Column(name = "on_premises_time_in_seconds")
public Short getOnPremisesTimeInSeconds() {
return onPremisesTimeInSeconds;
}
示例11: getProviderId
import javax.persistence.Basic; //導入依賴的package包/類
@Basic
@Column(name = "provider_id")
public String getProviderId() {
return providerId;
}
示例12: getAvailableCapacity
import javax.persistence.Basic; //導入依賴的package包/類
@Basic
@Column(name = "available_capacity")
public Integer getAvailableCapacity() {
return availableCapacity;
}
示例13: getAvailableVehicles
import javax.persistence.Basic; //導入依賴的package包/類
@Basic
@Column(name = "available_vehicles")
public Integer getAvailableVehicles() {
return availableVehicles;
}
示例14: getName
import javax.persistence.Basic; //導入依賴的package包/類
@Basic
@Column(name = "name")
public String getName() {
return name;
}
示例15: getGpsPosition
import javax.persistence.Basic; //導入依賴的package包/類
@Basic
@Column(name = "gps_position")
public String getGpsPosition() {
return gpsPosition;
}