knu project
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

39 lines
635 B

/**
*
*/
package kr.co.kihyun.beans.entity;
import javax.jdo.annotations.*;
/**
* @author bhs
*
*/
@PersistenceCapable(identityType = IdentityType.APPLICATION)
@Inheritance(strategy = InheritanceStrategy.SUBCLASS_TABLE)
public abstract class LongEntity extends MoumiEntity<Long> {
/**
*
*/
private static final long serialVersionUID = -2728973604498264543L;
@PrimaryKey
@Persistent(valueStrategy = IdGeneratorStrategy.NATIVE)
private Long id;
/**
* @param id
* the id to set
*/
public void setId(Long id) {
this.id = id;
}
/**
* @return the id
*/
public Long getId() {
return id;
}
}