public void markRevoked ( @ Nonnull @ Nonempty final String sRevocationUserID , @ Nonnull final LocalDateTime aRevocationDT , @ Nonnull @ Nonempty final String sRevocationReason ) { ValueEnforcer . notEmpty ( sRevocationUserID , "RevocationUserID" ) ; ValueEnforcer . notNull ( aRevocationDT , "RevocationDT" ) ; ValueEnforcer . notEmpty ( sRevocationReason , "RevocationReason" ) ; if ( m_bRevoked ) throw new IllegalStateException ( "This object is already revoked!" ) ; m_bRevoked = true ; m_sRevocationUserID = sRevocationUserID ; m_aRevocationDT = aRevocationDT ; m_sRevocationReason = sRevocationReason ; }
Mark the owning item as revoked .