package Ġme . s aket . d ank . data Ċ Ċ import Ġme . s aket . d ank . reply . Pending Sync Reply Ċ import Ġme . s aket . d ank . reply . Pending Sync Reply . State . FAILED Ċ import Ġme . s aket . d ank . reply . Pending Sync Reply . State . POST ED Ċ import Ġme . s aket . d ank . reply . Pending Sync Reply . State . POST ING Ċ import Ġnet . de an . j raw . models . Ident ifiable Ċ Ċ data Ġclass ĠLoc ally Posted Comment ( val Ġpending Sync Reply : ĠPending Sync Reply ) Ġ: ĠIdent ifiable Ġ{ ĊĊĠ Ġoverride Ġval ĠfullName : ĠString ĊĠĠĠ Ġget () Ġ= ĠfullName If Posted OrThrow Error () ĊĊĠ Ġprivate Ġfun ĠfullName If Posted OrThrow Error (): ĠString Ġ{ ĊĠĠĠ Ġreturn Ġwhen Ġ( pending Sync Reply . state () !! ) Ġ{ ĊĠĠĠĠĠ ĠPOST ING , ĠFAILED Ġ-> Ġthrow ĠAssertionError (" Comment Ġhasn 't Ġbeen Ġposted Ġyet .") ĊĠĠĠĠĠ ĠPOST ED Ġ-> Ġpending Sync Reply . posted FullName () !! ĊĠĠĠ Ġ} ĊĠ Ġ} ĊĊĠ Ġval Ġis Posted Ġ= Ġpending Sync Reply . state () Ġ== ĠPOST ED ĊĊĠ Ġoverride Ġval Ġid : ĠString ĊĠĠĠ Ġget () Ġ= ĠfullName If Posted OrThrow Error (). substring ( 0 , ĠFull Name Type . COMMENT . prefix (). length ) ĊĊĠ Ġoverride Ġval Ġunique Id : ĠString ĊĠĠĠ Ġget () Ġ= ĠfullName ĊĊĊĠ Ġval Ġposting Status In dependent Id Ġ= Ġ"${ pending Sync Reply . parent Contribution FullName ()} _ reply _${ pending Sync Reply . created Time Millis () }" Ċ } Ċ