本文整理汇总了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;
}