エンティティ・オブジェクト行の状態について

次の図に、想定されるエンティティ行の状態を示します。

Figure that shows possible entity row (transaction) states, including new, modified, unmodified, deleted, and dead, and the methods that get them in that state. New is created with ViewRow.setAttribute (from Start) and ViewObject.createRow (from New state). Modified is created with ViewRow.setAttribute (from Modified or Unmodified states). Unmodified is created with Transaction.commit (from New or Modified states) or ViewObject.executeQuery, next, and so on (from Start). Deleted is created from ViewRow.remove (Modified or Unmodified states). Dead is created from ViewRow.remove (New state) or Transaction.commit (Deleted state).

次の図には、想定されるエンティティ行のポストの状態と、状態の推移を示します。

Figure that shows possible entity row post states. It is the same as the preceding figure, except the Unmodified state is created with Transaction.postChanges (instead of Transaction.commit) from the New or Modified states.