@Override
        public boolean equals(Object obj) {
            if (this == obj) return true;
            if (obj == null || getClass() != obj.getClass()) return false;
            MVSKey other = (MVSKey) obj;
            return Objects.equals(viewId, other.viewId) &&
                    Objects.equals(clientId, other.clientId);
        }
Gets multiview state attached to a component in a specific view.

@param viewId viewId of a page
@param clientId clientId of a component
@param <T> bean state generic

@return multiview state bean attached to a component or null
primefaces/src/main/java/org/primefaces/PrimeFaces.java