@Entity public class TransactionNumber extends SimpleEntity
NumberGeneration. Is a separated entity because it is based on
the generated identifier (by
the database), and is referenced by both Transaction and Transfer (otherwise, the identifiers of
those tables would clash, and we'd
need another mechanism for transaction number generation)| Constructor and Description |
|---|
TransactionNumber() |
| Modifier and Type | Method and Description |
|---|---|
EntityImportance |
getEntityImportance() |
java.lang.String |
getTransactionNumber() |
void |
setTransactionNumber(java.lang.String transactionNumber) |
java.lang.String |
toString() |
clone, equals, getId, getId, getIds, getUniqueIds, getUniqueIds, hashCode, isPersistent, isTransientpublic EntityImportance getEntityImportance()
getEntityImportance in interface HasEntityImportancegetEntityImportance in class SimpleEntitypublic java.lang.String getTransactionNumber()
public void setTransactionNumber(java.lang.String transactionNumber)
public java.lang.String toString()
toString in class SimpleEntity