| 1 | |
|
| 2 | |
|
| 3 | |
|
| 4 | |
|
| 5 | |
|
| 6 | |
|
| 7 | |
|
| 8 | |
|
| 9 | |
|
| 10 | |
|
| 11 | |
|
| 12 | |
|
| 13 | |
|
| 14 | |
|
| 15 | |
|
| 16 | |
package org.kuali.rice.kim.bo.ui; |
| 17 | |
|
| 18 | |
import org.hibernate.annotations.GenericGenerator; |
| 19 | |
import org.hibernate.annotations.Parameter; |
| 20 | |
import org.kuali.rice.core.framework.persistence.jpa.CompositePrimaryKeyBase; |
| 21 | |
|
| 22 | |
import javax.persistence.Column; |
| 23 | |
import javax.persistence.GeneratedValue; |
| 24 | |
import javax.persistence.Id; |
| 25 | |
|
| 26 | |
|
| 27 | |
|
| 28 | |
|
| 29 | |
|
| 30 | |
|
| 31 | |
|
| 32 | 0 | public class PersonDocumentAffiliationId extends CompositePrimaryKeyBase { |
| 33 | |
@Id |
| 34 | |
@Column(name="FDOC_NBR") |
| 35 | |
protected String documentNumber; |
| 36 | |
|
| 37 | |
@Id |
| 38 | |
@GeneratedValue(generator="KRIM_ENTITY_AFLTN_ID_S") |
| 39 | |
@GenericGenerator(name="KRIM_ENTITY_AFLTN_ID_S",strategy="org.kuali.rice.core.jpa.spring.RiceNumericStringSequenceStyleGenerator",parameters={ |
| 40 | |
@Parameter(name="sequence_name",value="KRIM_ENTITY_AFLTN_ID_S"), |
| 41 | |
@Parameter(name="value_column",value="id") |
| 42 | |
}) |
| 43 | |
@Column(name = "ENTITY_AFLTN_ID") |
| 44 | |
protected String entityAffiliationId; |
| 45 | |
|
| 46 | |
|
| 47 | |
|
| 48 | |
|
| 49 | |
public String getDocumentNumber() { |
| 50 | 0 | return this.documentNumber; |
| 51 | |
} |
| 52 | |
|
| 53 | |
|
| 54 | |
|
| 55 | |
|
| 56 | |
public String getEntityAffiliationId() { |
| 57 | 0 | return this.entityAffiliationId; |
| 58 | |
} |
| 59 | |
} |