当前位置: 首页>>代码示例>>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;未经允许,请勿转载。